[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Maintaining a permanent connection to the net with pppd.
[03:44:27 shaul]$ zcat /usr/doc/HOWTO/NET-3-HOWTO.gz | head -4
Linux NET-3-HOWTO, Linux Networking.
Terry Dawson, VK2KTJ, Alessandro Rubini (maintainer),
alessandro.rubini@linux.it
v1.3, 1 April 1998
Broken pipe
[03:44:56 shaul]$
[03:46:24 shaul]$ zcat /usr/doc/HOWTO/NET-3-HOWTO.gz | grep -A27 "Maintaining
a permanent connection to the net with pppd ."
6.24.1. Maintaining a permanent connection to the net with pppd .
If you are fortunate enough to have a semi permanent connection to the
net and would like to have your machine automatically redial your PPP
connection if it is lost then here is a simple trick to do so.
Configure PPP such that it can be started by the root user by issuing
the command:
# pppd
Be sure that you have the `-detach' option configured in your
/etc/ppp/options file. Then, insert the following line into your
/etc/inittab file, down with the getty definitions:
pd:23:respawn:/usr/sbin/pppd
This will cause the init program to spawn and monitor the pppd program
and automatically restart it if it dies.
[03:46:34 shaul]$
What bothers me is that the HOWTO maintainer does not mention the persist
option of the PPP daemon.
Is it because his suggestion have some advantages over using the persist
option ? Perhaps the persist option does not suit the described situation ?
Perhaps using the persist option is completely equivalent to the method he
describes, which is why he prefer not to metion redundant details ? And
anyway, assuming that the persist method is suitable for dealing with a
temporarily break in the permanent link, what are the merits and disadvantages
of the persist option and what are those of the inittab entry method ?
Thank you.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il