Ask
Reply
Solution
12-06-2009 11:40 AM
12-06-2009 12:08 PM
12-06-2009 10:50 PM
13-06-2009 12:28 AM
16-06-2009 10:49 PM
17-06-2009 08:30 PM
17-06-2009 09:02 PM
18-06-2009 01:18 AM
The issue; however, is that not all consumer devices are stable - and the E220 is no exception - it will hang from time to time.
The solution that I'm crafting to try to have an always available connection checks to see if there is IP connectivity to external Internet server(s). If not it will check if the modem is responding on the tertiary control channel; if so it will terminate the PPP session and attempt to re-establish the PPP session. It will effectively continue this forever until a link is established.
If the modem is not responding on the tertiary control channel; it will unload the kernel modules that control the USB bus, serial drivers, PPP drivers etc... It will then reset the USB bus manually and then reload the associated kernel modules. This does the same thing as "pulling and pushing" the modem. This will repeat until the modem responds to the tertiary control channel. Whereby, it will then attempt to re-establish the PPP session and will continue forever until a link is established.
I don't have this fully automated yet - but so far - I've not had to - I have not had any problems establishing a PPP session using my base scripts.
18-06-2009 01:26 AM
18-06-2009 06:20 PM