HP-UX Reference (11i v3 07/02) - 1 User Commands N-Z (vol 2)

p
pppd(1) pppd(1)
!keepup the packet has been rejected by the
keepup filter.
!pass The packet has been rejected by the
pass filter.
dial failed
The packet was dropped because pppd is waiting for the call retry timer to expire.
(c) The received packet is VJ TCP header compressed.
(u) The received packet is VJ TCP header uncompressed.
For example, the following log file line
9/6-14:06:26-83 tcp 63.1.6.3/1050 -> 8.1.1.9/smtp 44 syn
indicates that at 2:06:26 PM on September 6, process ID 83 sent a 44-byte TCP packet with the SYN bit set
from port 1050 on 63.1.6.3 to the SMTP port on 8.1.1.9.
SIGNALS
Upon reception of the following signals, pppd closes and reopens the log file, re-reads the filter and key
files, then takes the indicated actions:
SIGKILL Dont use this. Never, never use this. Since pppd won’t be able to shut down gracefully, it
will leave your serial interfaces (whether /dev/tty) and your IP tunnel driver in some
unknown state. Use SIGTERM instead, so pppd will shut down cleanly, and leave the sys-
tem in a well-defined state.
SIGINT Disconnect gracefully from an active session. If in "autocall" mode, reset the call retry
delay timer and call retry backoff interval. If up was specified, attempt to re-establish the
link. Exit if not in "autocall" mode. If
nodetach is specified, disconnect gracefully from
an active session, clean up the state of any serial and IP interfaces that are open, and then
exit.
SIGHUP Disconnect abruptly from an active session. If up was specified, attempt to re-establish the
link. Exit if not in "autocall" mode.
SIGTERM Disconnect gracefully from an active session, clean up the state of any serial and IP inter-
faces that are open, then exit.
SIGUSR1 Increment the verbosity level for debugging information written to the log file.
SIGUSR2 Reset the debugging verbosity level to the base value (1 unless debug 0 was supplied on
the command line).
SIGALRM Take no action except to re-read the filter and key files.
EXAMPLES
To run a pair of daemons on "oursystem", one maintaining a constant link with "backbonesystem" and the
other prepared to initiate outbound calls to a neighboring machine named "theirsystem", add the following
to /sbin/rc2.d/S522ppp
:
if [ -f /etc/ppp/Autostart ]; then
/etc/ppp/Autostart
fi
Then make
/etc/ppp/Autostart look like this:
#!/bin/sh
PATH=/usr/etc:/bin:/usr/bin
if [ -f /var/adm/pppd.log ]; then
mv /var/adm/pppd.log /var/adm/OLDpppd.log
fi
echo -n "Starting PPP daemons:" >/dev/console
pppd oursystem:backbonesystem auto noipv6 up
(echo -n ’ backbonesystem’) >/dev/console
pppd oursystem:backbonesystem ipv6 <local-ifid>,<remote-ifid> auto up
<echo -n ’ backbonesystem’) >/dev/console
HP-UX 11i Version 3: February 2007 6 Hewlett-Packard Company 135