Sorry,

just realised the web page is:

http://www.solucorp.qc.ca/linuxconf/

NOT THE LINK BELOW

Bernhard L�der wrote:

> I have a script, that monitors the connection. Someone on the SLUG list wrote it:
>
> It checks, if ppp0 is running, if it is it waits 60 seconds then check again 
>otherwise it runs /etc/ppp/ppp-on.
>
> This obviously requires the dial out to be ppp0, which means, if you have dial in on 
>this machine as well you need to think of something else. For example linuxconf
>
> http://www.linuxconf.org
>
> Make sure you get the right version for your kernel (if you haven't updated to 2.2 
>yet)
>
> regards
>
> Bernhard
>
> #!/usr/bin/perl
>
> while (1) {
>         if (-e '/var/run/ppp0.pid'){
>         sleep 60;
>         }
>         else {
>                 system "/etc/ppp/ppp-on";
>         }
> }
>
> Eric Dahnke wrote:
>
> > Hello,
> >
> > Can someone give some hints as to a configuration option, perl, or shell script to 
>redial if pppd does not connect. I call ppp-on from crontab.
> >
> > I've seen a perl script which redials if chat receives BUSY, but what is chat 
>completes, but pppd does not. I suppose I could wrap ppp-on inside a script which is 
>called from the crontab, but how best to determine that pppd failed?
> >
> > ps aux?
> >
> > many thanks - eric
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> > the body of a message to [EMAIL PROTECTED]
>
> --
> Bernhard L�der
> [EMAIL PROTECTED]
> ICQ 260 70583
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to [EMAIL PROTECTED]

--
Bernhard L�der
[EMAIL PROTECTED]
ICQ 260 70583



-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to