[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /var/log/messages (Is ppp up?)

> > BTW, does anybody know how to check in a bash script, wheter a PPP
> > connection is already up ? The /var/run/ppp0.pid file is already created
> > when the modem is still dialing the phone number.
> I can usually tell by my HDD working... you could add a script in
> /etc/ppp/ip-up.d/ to play a sound for you or something.. I cant help
> otherwise.. 

/sbin/ifconfig | grep ppp0
Peter Galbraith, research scientist          <GalbraithP@dfo-mpo.gc.ca>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
   6623'rd Linux user at the Linux Counter -- http://counter.li.org/ 

Reply to: