From: "Edouard Gomez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 10, 2001 8:28 PM
Subject: [speedtouch] Re: Script


>
> On Mon, Dec 10, 2001 at 08:17:33PM +0000, alex wrote:
> >
> > What happens if 213.208.127.99 (or any other address) goes down?
> >
> > Alex.
> >
> >
>
> The best is to use peer IP, if this IP isn't pingable i think no one could
> be :-)
>
> PEER_IP=`/sbin/ifconfig | grep P-t-P | cut -d ':' -f 3 | cut -d ' ' -f 1`
>
> then just #ping $PEER_IP
>
> --
> Edouard Gomez

Cool! Thanks for the neat code.

213.208.127.99 is actually the IP address of my PPP interface, so that's
what I was doing in messy sort of way.

Any other comments on my suggested use of "adsl.sh restart" ?

Andy
---
http://cyril.zooburner.com



Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe

        

Reply via email to