Re: Automatic re-connect script for 3G connections (van Schelve)



Am 22.10.2010 um 19:58 schrieb Dan Williams:

> On Fri, 2010-10-22 at 14:03 +0200, van Schelve wrote:
>> Am Freitag, den 22.10.2010, 11:17 +0200 schrieb Florian Hackenberger
>> <f hackenberger chello at>:
>>> Hi!
>>> 
>>> dcbw on #nm told me that van Schelve has a script at hand which 
>>> automatically reconnects nm manager using a 3G connection.
>>> 
>>> van Schelve: Would you mind sharing that script with me?
>>> 
>>> Thanks in advance, Florian
>> 
>> Hi!
>> 
>> That's not completely correct. I wrote a script to dialup a 3G
>> connection conditionally. The intention for this script was to bring up
>> a 3g connection during gnome-autostart when a user logs in and after
>> suspend / resume.
>> 
>> I won't use the autoconnect feature from network-manager at that time.
>> 
>> Dan: I am interesting in automatically reconnect a broken mobile 3G
>> connection as well ;-)
> 
> Yeah, this needs doing and I have some ideas for it.  I suppose we
> should see if there's a way to physically cut power to the device if it
> gets wedged too badly, which devices often do.  Any ideas on how to do
> that?  There is some new kernel stuff in 2.6.35 and later that we can
> try I think.
> 
> Dan
> 

Hm, what's with the pppd persist option? Would this be helpful? In our
old system I have enabled this in /etc/ppp/options and in some situations
this was helpful. Sometimes we see "carrier lost" due to temporary bad signal
for example in a tunnel or while traveling in a train

Hans-Gerd


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]