I am using wvdialer to connect internet in RH7.1 my linux box. i made two script to start the modem automatically in morning also kill that pppd at evening. thease two scripts taken care by crontab.
 
in my cron tab following entry is there
 
00 08 * * * /root/startmodem
 
the start modem file contains
       #vi /root/startmodem
         wvdial myisp
 
00 18 * * * /root/stopmodem
 the stopmodem file contains
      #vi /root/stopmodem
        killall pppd
 
 
Everything is OK. but the problem is when the stopmodem excecutes killall pppd it dies successfully. But at the same time it reconnects automatically. due to this startmodem give error like "Device Busy".
 
 
How to prevents auto reconnecting of pppd?
 
Your help will be valuable
 
Balamurugan

Reply via email to