Hi,
I want to make a script which allows me to reconnect to the internet.
But kill the stalled connection first.
I have a hunch that if I use the commands from the services information:
root 14687 0.0 0.3 1348 464 ? S 22:49 0:00 /sbin/ifplugd -w -b -i eth0
root 17990 0.0 0.4 1416 584 ? S 22:49 0:00 /usr/sbin/modem_run -v 0 -m -f /usr/share/speedtouch/mgmt.o
root 13797 0.0 0.6 2020 872 ? S 22:50 0:00 /usr/sbin/pppd call adsl
root 9579 0.0 0.5 5980 696 ? S< 22:50 0:00 /usr/sbin/pppoa3 -c -vpi 0 -vci 38
root 11363 0.0 0.5 5980 696 ? S< 22:50 0:00 /usr/sbin/pppoa3 -c -vpi 0 -vci 38
root 24360 0.0 0.5 5980 696 ? S< 22:50 0:00 /usr/sbin/pppoa3 -c -vpi 0 -vci 38
root 21792 0.1 0.5 5980 696 ? S< 22:50 0:00 /usr/sbin/pppoa3 -c -vpi 0 -vci 38
It will work.
don't know how to kill it though.
But how would I construct this script? (basic sh knowledge)
Thanks alot if you can help in any way at all.
Neil