Reuben Bond wrote:
I Need a script that disconnects and reconnects to ADSL.
My ISP disconnects me every 24hours, so a script to: A) Disconnect and B) Connect again when run would be great.
i dont know how to do this(disconnect without restarting) and any help would be appreciated.
Thanks for any help.
Reuben

Hi Reuben,


You can do that with 2 commands:
A) killall pppd && killall pppoeci
B) nice --20 pppd call adsl updetach

--
Cordialement / Best regards
Sebastien.

Web: http://www.flashtux.org - email: [EMAIL PROTECTED]
IRC: [EMAIL PROTECTED] - Jabber: [EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Driver Linux pour modem ECI ADSL USB: http://eciadsl.flashtux.org
Archives de cette liste de diffusion: http://liste.eci.free.fr
Pour se desinscrire: mailto:[EMAIL PROTECTED]   
        
        
        
        
        
        

Répondre à