Comment 0 for bug 367856

Revision history for this message
Motin (motin) wrote : Contact is lost with internal HSDPA/UMTS modem after some random period - a suspend and wake cycle or a restart is needed to be able to use the modem again

Binary package hint: network-manager

This is so frustrating, loosing internet connection frequently:

Modem connection (and thus the current ppp connection) with the Dell XPS M1330 internal UMTS / HSDPA modem silently drops dead at times (around 1-4 hours after connection, sometimes 8-10 hours afterwards, sometimes 0.5h etc - very randomly it seems, but certain for sure), with no other choice than to suspend and resume the laptop to be able to connect again. Not a favorable workaround since suspend fails around 1 time of 10...

At times that I just have noticed the internet connection dropping dead I have looked in syslog, kern.log and dmesq for a trace of that something particular was logged, but find nothing at all...

I tried enabling debug options in ppp option, but the connection process stops before even attempting a ppp connection.

All I can come up with atm is a serial log for when it is not successful:

NetworkManager: <info> (ttyUSB0): device state change: 1 -> 2
NetworkManager: <info> (ttyUSB0): deactivating device (reason: 2).
NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed
NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' failed
NetworkManager: <info> (ttyUSB0): device state change: 2 -> 3
NetworkManager: <info> Activation (ttyUSB0) starting connection '3'
NetworkManager: <info> (ttyUSB0): device state change: 3 -> 4
NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
NetworkManager: <debug> [1240826372.112830] nm_serial_device_open(): (ttyUSB0) opening device...
NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager: <debug> [1240826387.214334] nm_serial_debug(): Sending: 'ATZ E0 V1 X4 &C1 +FCLASS=0
'
NetworkManager: <debug> [1240826389.419279] nm_serial_debug(): Error: too many retries sending: 'ATZ E0 V1 X4 &C1 +FCLASS=0
'
NetworkManager: <WARN> init_done(): Modem initialization timed out
NetworkManager: <info> (ttyUSB0): device state change: 4 -> 9
NetworkManager: <debug> [1240826400.001958] nm_serial_device_close(): Closing device 'ttyUSB0'
NetworkManager: <info> Marking connection '3' invalid.
NetworkManager: <info> Activation (ttyUSB0) failed.
NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3
NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed
NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' faile

And of course, when it is successful, it continues instead of the ERROR with:
NetworkManager: <debug> [1240826623.265441] nm_serial_debug(): Got: 'ATZ E0 V1 X4 &C1 +FCLASS=0
'
NetworkManager: <debug> [1240826623.274204] nm_serial_debug(): Got: 'ATZ E0 V1 X4 &C1 +FCLASS=0

OK

'
and continues connections etc.

I have disabled the PIN because of another bug, where network manager doesn't realize that the PIN is needed...