
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

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

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

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

Just installed Gnome PPP. Times out when dialing. Anyone using gnome ppp? Any particular settings required? On Tue, Oct 19, 2010 at 11:59 AM, amanya <whynnot@gmail.com> wrote:
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
_______________________________________________ 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
-- OO Omingo Obiko

The more I think about it the more complex it would get mainly because of the requirement to reinsert the modem. The scripting solution would have to include a check so that it is not killing an active connection and would have to be able to remount the modem to simulate reinsertion. I would try all other connection managers before ... Also try installing latest LTS Ubuntu 10.04 instead of the short term 8.10 may help. A fresh install makes not only Windows happy :) I am also suspecting that this is an Orange issue. When I started to use the unlimited offer (March?) it seemed like there was a cap on 60kbps but I could usually have an active connection for 8 hours and more and wvdial would reconnect nicely when disconnected. Some configuration changes were done by Orange and I would get great speeds but connections would drop after anything between 1 minute and 2 hours and sometimes it would not be possible to connect at all for some hours. Then the whole upgrade came and kind of brought back the old slow speeds but the new connection problems were still there. After that I got a non mobile connection at home instead. Soon time for the bimonthly trip to the Coast so will be interesting to see how it works when when using different base stations. On 10/19/2010 02:50 PM, Edward Obiko wrote:
Just installed Gnome PPP. Times out when dialing. Anyone using gnome ppp? Any particular settings required?
On Tue, Oct 19, 2010 at 11:59 AM, amanya <whynnot@gmail.com <mailto:whynnot@gmail.com>> wrote:
had the same problem on Fedora 13. installed kppp - it redials on disconnect
2010/10/19 Edward Obiko <edobie@gmail.com <mailto: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 <@lamusoftware.com <@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 > _______________________________________________
participants (3)
-
amanya
-
Edward Obiko
-
Jonas | Lamu Software