-----BEGIN PGP SIGNED MESSAGE-----
> I'm trying to setup my Linux box as a PPP "client". I'm
> using the Debian 1.2 distribution, and for some reason it
> didn't have any of the PPP scripts include (e.g., ppp-on,
> ppp-off). I was able to write the ppp-on script based on
> the PPP-HOWTO; however, the howto didn't describe what was
> done in the ppp-off script. What do I need to put in it?
Well, here's a copy of the pppup and pppdn scripts that I wrote for my
connection over the summer... Hope it helps.
---- pppup ----
/usr/sbin/pppd connect 'chat ABORT "NO CARRIER" ABORT BUSY "" ATM0DT[NUMBER] CONNECT "" ogin: [USERNAME] assword: [PASSWORD]'
---- pppdn ----
# If the ppp0 pid file is present then the program is running. Stop it.
if [ -r /var/run/$DEVICE.pid ]; then
kill -INT `cat /var/run/$DEVICE.pid`
# If unsuccessful, ensure that the pid file is removed.
if [ ! "$?" = "0" ]; then
echo "removing stale $DEVICE pid file."
rm -f /var/run/$DEVICE.pid
# Success. Terminate with proper status.
echo "$DEVICE link terminated"
# The link is not active
echo "$DEVICE link is not active"
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----