[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Testing if PPP link is active
- From: "Kevin D. Colby" <kevin marcal com>
- To: redhat-install-list redhat com
- Subject: Re: Testing if PPP link is active
- Date: Mon, 27 Oct 1997 09:23:38 -0600
>>> What would be a good way for a script to test if the PPP link is active?
>
> /sbin/ifconfig -a | egrep ^ppp0 > /dev/null 2>&1
> if [ $? -eq 0 ]
> then
> echo "PPP link active"
> fi
This would tell you if the link were up (if there is a ppp0 device),
but I thought he was asking how to see if it were active (currently
transmitting or receiving packets).
I believe we did this at one point (before we went 24/7) but I can't
recall how...
I'll try and check...
- Kevin Colby
kevin marcal com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]