| View previous topic :: View next topic |
| Author |
Message |
binro Guru


Joined: 06 May 2005 Posts: 485 Location: Bangkok, Thailand
|
Posted: Sat Apr 14, 2012 12:42 pm Post subject: Network Manager cannot activate 3G modem [SOLVED] |
|
|
I just installed NM and I am impressed. The WiFi started OK and it got my VPN working when I had failed using scripts. However, it fails to start my 3G modem. I get:
Apr 14 20:21:07 topaz NetworkManager[5791]: <info> Activation (ttyUSB1) starting connection 'M1 -
Mobile Broadband'
Apr 14 20:21:07 topaz NetworkManager[5791]: <info> (ttyUSB1): device state change: disconnected ->
prepare (reason 'none') [30 40 0]
Apr 14 20:21:07 topaz NetworkManager[5791]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare)
scheduled...
Apr 14 20:21:07 topaz NetworkManager[5791]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare)
started...
Apr 14 20:21:07 topaz NetworkManager[5791]: <info> Activation (ttyUSB1) Stage 1 of 5 (Device Prepare)
complete.
Apr 14 20:21:07 topaz modem-manager: (ttyUSB1) opening serial device...
Apr 14 20:21:07 topaz modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed
(disabled -> enabling)
Apr 14 20:21:07 topaz modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed
(enabling -> enabled)
Apr 14 20:21:07 topaz NetworkManager[5791]: <info> WWAN now enabled by management service
Apr 14 20:21:07 topaz modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed
(enabled -> registered)
Apr 14 20:21:07 topaz modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed
(registered -> connecting)
Apr 14 20:21:07 topaz modem-manager: Modem /org/freedesktop/ModemManager/Modems/0: state changed
(connecting -> registered)
Apr 14 20:21:07 topaz NetworkManager[5791]: <warn> GSM connection failed: (32) No cause information
available
Apr 14 20:21:07 topaz NetworkManager[5791]: <info> (ttyUSB1): device state change: prepare -> failed
(reason 'unknown') [40 120 1]
Apr 14 20:21:07 topaz NetworkManager[5791]: <warn> Activation (ttyUSB1) failed.
Apr 14 20:21:07 topaz NetworkManager[5791]: <info> (ttyUSB1): device state change: failed -> disconnected
(reason 'none') [120 30 0]
Apr 14 20:21:07 topaz NetworkManager[5791]: <info> (ttyUSB1): deactivating device (reason 'none')
[0]
Apr 14 20:21:07 topaz NetworkManager[5791]: nm_system_iface_flush_routes: assertion `ifindex > 0'
failed
Apr 14 20:21:07 topaz NetworkManager[5791]: nm_system_iface_flush_addresses: assertion `ifindex >
0' failed
which looks like it is not getting very far. This modem *does* work fine if I start it with scripts. It would just be nice to control everything from the same widget.
TIA _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Last edited by binro on Sat Apr 21, 2012 1:22 pm; edited 1 time in total |
|
| Back to top |
|
 |
qubix Tux's lil' helper


Joined: 22 Sep 2003 Posts: 140 Location: Warsaw/Poland
|
Posted: Tue Apr 17, 2012 7:46 am Post subject: |
|
|
does your modem, by any chance, require loading firmware within the scripts? Is the firmware loading process properly configured in udev? _________________ qubix |
|
| Back to top |
|
 |
binro Guru


Joined: 06 May 2005 Posts: 485 Location: Bangkok, Thailand
|
Posted: Tue Apr 17, 2012 8:30 am Post subject: |
|
|
| qubix wrote: | | does your modem, by any chance, require loading firmware within the scripts? Is the firmware loading process properly configured in udev? |
Yes, that's all done. Dan Williams on the NetworkManager list told me to turn on modem-manager tracing and that revealed the phone number was getting mangled. It looks like there might be a small bug in knetworkmanagement. I will know more when I get home tonight and test. _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling |
|
| Back to top |
|
 |
binro Guru


Joined: 06 May 2005 Posts: 485 Location: Bangkok, Thailand
|
Posted: Sat Apr 21, 2012 1:22 pm Post subject: |
|
|
The "bug" was mine. I changed the number dialled from "*99#" to "*99***1#" like I had used in my scripts. NM works out what is actually required and modifies the number, so I ended up with "*99***1***1#" which doesn't work! _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling |
|
| Back to top |
|
 |
|