Hey, No need to go into so many complications. Just remove the entry from cron and put the contents of the shell script in /etc/ppp/ip-up.local and make it executable by root.
Anil
Quoting Tapeshwar Nath gtapeshwar@yahoo.com:
- LUG meet on 12 Jan. 2003 @ VJTI
Hi,
You can check for '/var/run/ppp-0.pid` file , if this file exsits then your ppp0 interface is up.
ciao n enjoy Tapesh
P.S I cannot remember the exact file name ......... so after getting online just search for .pid files in /var/run ( you will get the file)
--- Ninad Purohit ninadonline@yahoo.co.in wrote:
- LUG meet on 12 Jan. 2003 @ VJTI
ifconfig would show u the ppp0 details
===== ninad purohit have a nice day :-)
Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
-- _______________________________________________