[SLE] Kinternet Reconnect Auto ??
Hi ! How could i make my crontab for start it script ? For when my connection ADSL down. (reconnect.sh + cron files) Thanks a lot!! gabriel. http://lists.suse.com/archives/suse-linux-...4-Jul/3487.htmlhttp://lists.suse.com/archives/suse-linux-e/2004-Jul/3487.html -- (c) Schwartz www.forosuse.org
Hi !
How could i make my crontab for start it script ? For when my connection ADSL down. (reconnect.sh + cron files) A cron job is not the proper tool. What you may want is a daemon that tests
On Monday 13 March 2006 10:00 am, Gabriel. wrote:
the connection, and if it is down, just reset the network.
--
Jerry Feldman
How i setup it daemon for reconnect kinternet ?
thanks a lot.
On 3/13/06, Jerry Feldman
Hi !
How could i make my crontab for start it script ? For when my connection ADSL down. (reconnect.sh + cron files) A cron job is not the proper tool. What you may want is a daemon that tests
On Monday 13 March 2006 10:00 am, Gabriel. wrote: the connection, and if it is down, just reset the network. -- Jerry Feldman
Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- (c) Schwartz www.forosuse.org
On Monday 13 March 2006 10:22 am, Gabriel. wrote:
How i setup it daemon for reconnect kinternet ? KInternet is actually a network monitoring tool that is part of kde. It should continue to run. It should be configured to automatically reconnect you.
However, one way to cause a network restart is to write a daemon.
A simple shell script that starts when you log in can be set up:
#!/bin/bash
while [ 1 ]
do
sleep 1m # sleep for 1 minute
ping -c1 some-networkaddress
if [ $? -ne 0 ]; then
sudo network restart #restart the network
fi
done
------
Note that you could execute this script from .xinitrc
--
Jerry Feldman
participants (2)
-
Gabriel.
-
Jerry Feldman