Modem lockup
- This topic has 2 replies, 3 voices, and was last updated 12 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › MultiConnect OCG › Modem lockup
Hi,
I’m using a 2G modem that locks up on occasion. I’m able to reproduce this lockup by shutting down linux by typing reboot while transfering data. For example, I do a wget http://www.yahoo.com. Once the data is transfering I issue a reboot command. Once the modem locks up. I’m not able to get a PPP connection working again unless I repower the system.
Any advise would be greatly appreciated. How should I shutdown PPP properly before restart? Also, Is there an AT command to do a hardware reset of the modem? ATZ does not do it.
Thanks in advance,
James
You can perform a hardware reset of the modem using the mts-io module.
This page has the documentation links per model:
http://www.multitech.net/developer/products/multiconnect-ocg/applications/mts-io/
The command you want is:
mts-io-sysfs store radio-reset 0
The following commands should hang up gracefully:
kill -s HUP [PID of pppd] or
kill -s 9 [PID of pppd] if pppd was invoked with the persist option
I’m not sure what state the modem is in based on the information provided.
If you get an OK response to ATZ, the radio is in command mode and you can reboot the radio stacks by issuing AT+CFUN=1.
If you don’t get an OK response to ATZ the radio is either still in data mode or it is really in some sort of hung state. If this is the case, you may want to us the mts-io package to assert a hardware reset to the radio.