Yesterday  I posted 2 scripts in my mail connect disconnect
Has anybody given it a try and could you tell me if it works or not?
Iv discovered that I have to do a ./diconnect.sh first and then a
./connect.sh
If there are any improvement please let me know.

Recklessnetsurfer

To connect 

./Connect.sh 

#!/bin/bash

mount -t usbdevfs none /proc/bus/usb
insmod ppp_generic
insmod ppp_synctty
insmod ppp_async
insmod pppoatm
insmod n_hdlc
/usr/local/bin/modem_run -f /usr/local/bin/microcode.bin -m&
sleep 5
killall -9 modem_run
pppd call adsl&

               

To disconnect

./disconnect.sh 

#!/bin/bash

killall -9 pppd > /dev/null 2>&1
killall -9 modem_run> /dev/null 2>&1
killall -9 pppoa2> /dev/null 2>&1
rmmod n_hdlc> /dev/null 2>&1
rmmod ppp_async> /dev/null 2>&1
rmmod ppp_synctty> /dev/null 2>&1
rmmod pppoatm> /dev/null 2>&1
umount /proc/bus/usb> /dev/null 2>&1
rmmod ppp_generic> /dev/null 2>&1
sleep 5
rmmod ppp_generic> /dev/null 2>&1


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe

        

Reply via email to