cyanarnofsky
Posts: 70
Joined: Tue Jul 31, 2012 11:33 pm

3G Modem Auto-Reconnect

Fri Mar 28, 2014 4:54 pm

Hey guys, I have been using a 3G modem wth my Pi through Wvdial. Recently I noticed sometimes when the modem looses signal an drops out, Wvdial recieves "busy or not responding" when ran to try and reconnect. I power the modem speretly not from the USB, I was curious if there is a nice direct way to reset the modem then attemp redial to try and get an automated watchdog that would see PPP drop and then reset USB devices then redial. Thanks for any help!

I saw this:

http://mintakaconciencia.net/squares/umtskeeper/

but realized it does not work with Wvdial. :/

cyanarnofsky
Posts: 70
Joined: Tue Jul 31, 2012 11:33 pm

Re: 3G Modem Auto-Reconnect

Fri Mar 28, 2014 5:29 pm

I was thinking would it be possible to simply drop the USB Host driver then re enable. That would in effect reset the USB, anyone know if this is in the Kernel or possible to directly reload?

Smaker
Posts: 20
Joined: Wed Jan 22, 2014 4:04 pm

Re: 3G Modem Auto-Reconnect

Sat Mar 29, 2014 10:06 am

i m having same problem of dropping connection in my 3G modem.... i m using Huewai Dongle with Sakis3G.... Any idea why Dongles are getting disconnecting often... I hope it not the signal strength... Must be in the driver level or Rasberry...

cyanarnofsky
Posts: 70
Joined: Tue Jul 31, 2012 11:33 pm

Re: 3G Modem Auto-Reconnect

Wed Apr 02, 2014 10:59 pm

I am thinking its more signal loss actually. I have 3 demo devices operating and one has had a steady connection for over a week now while the other 2 will loose connection within 24hrs and never come back until a restart of the Pi. I use Wvdial with auto reconnect enabled. All 3 images are identical.

My idea is to do a USB reset, I have been really busy recently and haven't had a chance to test:

Code: Select all

http://raspberrypi.stackexchange.com/questions/9264/how-do-i-reset-a-usb-device-using-a-script

Return to “Networking and servers”