couzteau
Registered
hello,
i would like to automatically detect if my computer is connected to the interrnet via pppoe and connect it if it isn't. this should be accomplished using a shell script that i can run with cron.
actually finding out if the connection exists is quite easy:
#!/bin/sh
ifconfig -a | grep ppp0 | grep blabla
but who do i establish it via shell script???
thanks for your advice.
couzteau
i would like to automatically detect if my computer is connected to the interrnet via pppoe and connect it if it isn't. this should be accomplished using a shell script that i can run with cron.
actually finding out if the connection exists is quite easy:
#!/bin/sh
ifconfig -a | grep ppp0 | grep blabla
but who do i establish it via shell script???
thanks for your advice.
couzteau