LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Michael Kratz <michael_kratz@hotmail.com>
  To  : <linuxsa@linuxsa.org.au>
  Date: Mon, 27 Nov 2000 02:06:13 +1030

pppd auto redial

Hi,

I have a permanent connection to the net using a modem,
I have been looking around for an easy way to make pppd re-invoke the dial 
script when the connection gets dropped however I haven't found anything 
which is easily understandable. The only thing that I have found is this in 
the HOWTO's:

9.15. 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.

I don't understand what this is or where to put it or how.
Also when I want to use pppd to invoke the script I type
"/usr/sbin/pppd call myisp"

So how and where would I put this on my RH6.2 system, and will this do what 
I hope it does. When the ppp connection gets dropped, due to line conditions 
or errors or whatever will it automatically re-dial.

Thanks in Advance

Regards,

Michael :-)
_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page