Mailinglist Archive: opensuse (3863 mails)

< Previous Next >
Re: [SLE] KInternet - How can I stay connected? - SOLVED
  • From: Graham Smith <gqs@xxxxxxxxxxxx>
  • Date: Sun, 1 Feb 2004 13:44:22 +1100
  • Message-id: <200402011344.22894.gqs@xxxxxxxxxxxx>
On Sun, 1 Feb 2004 07:51, C Hamel wrote:
> I am using an ISDN modem and sometimes --though not often-- the connection
> gets dropped and, unlike kppp, doesn't redail & continue. Is there a
> solution for this, also?
>
> ...CH

I use the following script to reconnect an ADSL connection which falls over
every now and then. It is run by CRON every 10 minutes. It is not the
greatest script but it works.

You may be able to adapt the script to suit.

------------------------------ Reconnect_DSL.sh ------------------------------
#!/bin/bash
#
# Script to check if ADSL is disconnected & try reconnecting
#
result=$(cinternet -i dsl0 -s | grep disconnect)
if [ -n "$result" ]
then
cinternet -i dsl0 -A
sleep 10
else
exit 0
fi
____________________ EOF ______________________

--
Regards,

Graham Smith
---------------------------------------------------------

< Previous Next >
Follow Ups