The modem full model number is X232D-2BVDUA3.
The router model is Asus RT-N10U
Firmware release is dd-wrt.v24-31825_NEWD-2_K3.x_mega.bin
l have successfully upgraded the router so my 3G modem can be recognised. Initially, when I created an APN 3G profile and chose my UMTS provider options it showed up as "connected". So l tested, everything was good. Telnet`ed into the router, hit "reboot". After reboot, the router came back online and the modem was connected as expected. But if l will switch off router completely (power off) and switch on again modem no longer recognised. So it is not automatically detected by the router while it boots up. When the router is up and running l then tried manually trigger WAN 3G connection from the GUI, no luck.
When I manually pull off/on the modem it then gets recognised and "connected". So my internet is working.
Not sure why it is happening. Is it something to do with the driver loading while the modem boots up and is there any fix for this?
Probably some kind of timing problem with the usb host controller.
Take two snapshots of dmesg, one after unplugging and re-plugging the modem and one after power-off-on reboot, then compare them.
Soft reboot is not of interest, the usb power is on all the time during a soft reboot so the modem is not getting reset. _________________ Kernel panic: Aiee, killing interrupt handler!
Can see some lines are missing in the cold boot. When resetting the modem can see additional lines:
usbcore: registered new interface driver cdc_acm cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters usbcore: registered new interface driver sierra usbserial: USB Serial support registered for Sierra USB modem usbcore: registered new interface driver qcserial usbserial: USB Serial support registered for Qualcomm USB modem
usb 1-1: new high-speed USB device number 3 using ehci-pci
option 1-1:2.0: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
But l am not sure how to read these logs, need an expert advice.
Thank you,
Mykhaylo
dmesgAfter__unplugging and re-plugging the modem.txt
Yes there is a minor difference between the logs but it is irrelevant, you do get the driver to bind and create ttyUSB devices in both cases.
If you have ticked the box for "Force reconnect" on the WAN setup page then there will be a test for connection every 30 seconds and a reconnect will happen if the connection is down.
How long have you waited for connection to come up after a power on? _________________ Kernel panic: Aiee, killing interrupt handler!
Thank you for your help so far.
Fist time l discovered this issue when my father called me saying that he doesn't have the internet after a power cut. So l logged it to the PC over the TeamViewer with alternative 3g USB modem (connected directly to the PC USB port) and started checking all things. I definitely tried that option and was waiting for about 5-10 minutes but no joy. The option itself is a bit unclear. So if l set the timer like 00(minutes):30 (seconds) doest it mean my connection is going to be tear down every 30 seconds regardless if I am currently connected or not, or this option only applies when you do not have an active connection so it will force to reconnect? I will give another go and report back here.
I did another test. So l rebooted the router and was waiting for about 10 minutes but 3G USB modem was not recognised, so same as was before. Force Reconnect didn't change the situation either. This time l have decided to disable/enable Core USB Support option under a Services, USB option. That also did a trick (logs attached) and modem come up as connected. Can l have some sort of CRON job or script so it will trigger the USB core services restart (disable/enable) after let's say 2 minutes of router uptime or during the boot?