LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Mike O <mike@pineview.net>
  To  : Michael Kratz <michael_kratz@hotmail.com>
  Date: Mon, 27 Nov 2000 19:11:19 +1030

Re: pppd auto redial

Hi Michael

Which distribution are you using.

Redhat has this option if you use there config script in
/etc/sysconfig/network-scripts
Debian has a file call ppp_on_boot in /etc/ppp/ which you configure to do
this.

General all the distribution I have seen as a system build in to there
startup script which does this job.
Also I believe that if a distribution has this feature it should be used,
obviously if it does not work correctly then !!

If you need more exact help e-mail me

Cheers
    Mike O'Connor


----- Original Message -----
From: "Michael Kratz" <michael_kratz@hotmail.com>
To: <linuxsa@linuxsa.org.au>
Sent: Monday, November 27, 2000 2:06 AM
Subject: 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

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