had the same problem on Fedora 13. installed kppp - it redials on disconnect

2010/10/19 Edward Obiko <edobie@gmail.com>
Thanks Jonas for the reply. Not so sure I follow. How will this script
run unattended reconnection? My point was to 'refresh' the
reconnection every 30min or so whether or not it's hung. And about the
exit code, can this check if wvdial is already running or is
suspended?
Thanks again.

On 10/18/10, Jonas | Lamu Software <jonas@lamusoftware.com> wrote:
> I had the same problem but since I have a laptop and used to check it
> every two hours so I never dug deeper into it.
>
> Had the same trouble when running the modem with a 3G router where a
> complete reboot would be needed every now and then.
>
> You could write a simple wrapper script (logic below):
>
> #!/bin/bash
> excode=1
> while [ $excode != 0 ]
> do
> echo 'Type in a command'
> echo 'this would be wvdial'
> read a_command
> $a_command
> excode=$?
> echo $a_command returned $excode
> done
>
> And check for the different exit codes like 18 (Server hang up I think).
> I usually had severe problems though where I needed to unplug, wait 10
> seconds and plug in the modem before trying wvdial again so I doubt
> it will work for a whole weekend.
>
> I would try to install the Linux application that comes on the modem and
> get it up and running as my guess is that it has the same redial features
> as the Windows and Mac versions although my app stopped working after a
> while. I did an upgrade from 9.04 via 9.10 to 10.04 which was not a good
> idea but I am too lazy to do a complete reinstall.
>
> I would also call Orange support and have them reset your account as
> this sometimes helps.
>
> Good luck
>
>
> On 10/18/2010 06:58 PM, Edward Obiko wrote:
>> Hey folks?
>>
>> Just wondering. I'm sure there are quite a number of you who manage to
>> do the above. My connection keeps on hanging and I'm running on Ubuntu
>> 8.10. Is there like a bash script for wvdial that one can use to
>> 'refresh' i.e. disconnect and reconnect the modem connection. I was
>> really frustrated to find a torrent I left on Friday at the office still
>> at the 1% on Monday morning.
>>
>> Well I don't know why the connection keeps on suspending after every
>> 30min or so, but treating the symptoms would be good enough for me on
>> this one. I currently connect using the ZTE app but I'd prefer the
>> script for this purpose. Maybe a cron job?
>>
>> Anyone?
>>
>> --
>> OO
>>
>> Omingo Obiko
> _______________________________________________
> Skunkworks mailing list
> Skunkworks@lists.my.co.ke
> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
> ------------
> Skunkworks Rules
> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
> ------------
> Other services @ http://my.co.ke
>

--
Sent from my mobile device

OO

Omingo Obiko
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke



--
human, that's all i am. the only border am aware of is gravity but even that has been defied