11.2 - Connection problem with Huawei 3G USB modem

Hi,

I’ve got a problem trying to get a Vodafone-branded Huawei 3G USB modem to work under 11.2 (x86) using KDE 4 and NetworkManager.

NetworkManager detects the device fine, and I’ve set up a GSM connection using settings that worked with kppp under 11.1 (APN “internet”, number “*99#”, blank username / password).

When I try and connect, NetworkManager says ‘Activating’ for about 10 seconds, then goes back to idle with no error.

messages log file for the attempt:

Nov 26 19:59:54 ed-eee modem-manager: (ttyUSB0) opening serial device...
Nov 26 19:59:55 ed-eee pppd[4555]: Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.
Nov 26 19:59:55 ed-eee pppd[4555]: pppd 2.4.5 started by root, uid 0
Nov 26 19:59:55 ed-eee pppd[4555]: Using interface ppp0
Nov 26 19:59:55 ed-eee pppd[4555]: Connect: ppp0 <--> /dev/ttyUSB0
Nov 26 19:59:55 ed-eee pppd[4555]: CHAP authentication succeeded
Nov 26 19:59:55 ed-eee pppd[4555]: CHAP authentication succeeded
Nov 26 20:00:01 ed-eee pppd[4555]: Modem hangup
Nov 26 20:00:01 ed-eee pppd[4555]: Connection terminated.
Nov 26 20:00:01 ed-eee modem-manager: (ttyUSB0) closing serial device...
Nov 26 20:00:02 ed-eee pppd[4555]: Exit.

NetworkManager log file:

Nov 26 19:59:54 ed-eee NetworkManager: <info>  Activation (ttyUSB0) starting connection 'New Cellular Connection'
Nov 26 19:59:54 ed-eee NetworkManager: <info>  (ttyUSB0): device state change: 3 -> 4 (reason 0)
Nov 26 19:59:54 ed-eee NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
Nov 26 19:59:54 ed-eee NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
Nov 26 19:59:54 ed-eee NetworkManager: <info>  Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
Nov 26 19:59:55 ed-eee NetworkManager: <info>  Activation (ttyUSB0) Stage 2 of 5 (Device Configure) scheduled...
Nov 26 19:59:55 ed-eee NetworkManager: <info>  Activation (ttyUSB0) Stage 2 of 5 (Device Configure) starting...
Nov 26 19:59:55 ed-eee NetworkManager: <info>  (ttyUSB0): device state change: 4 -> 5 (reason 0)
Nov 26 19:59:55 ed-eee NetworkManager: <info>  Starting pppd connection
Nov 26 19:59:55 ed-eee NetworkManager: <debug> [1259265595.274059] nm_ppp_manager_start(): Command line: /usr/sbin/pppd nodetach lock nodefaultroute user web ttyUSB0 noipdefault noauth usepeerdns lcp-echo-failure 0 lcp-echo-interval 0 ipparam /org/freedesktop/NetworkManager/PPP/1 plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so
Nov 26 19:59:55 ed-eee NetworkManager: <debug> [1259265595.277283] nm_ppp_manager_start(): ppp started with pid 4555
Nov 26 19:59:55 ed-eee NetworkManager: <info>  Activation (ttyUSB0) Stage 2 of 5 (Device Configure) complete.
Nov 26 19:59:55 ed-eee NetworkManager: <info>  (ttyUSB0): device state change: 5 -> 6 (reason 0)
Nov 26 19:59:55 ed-eee NetworkManager: <info>  (ttyUSB0): device state change: 6 -> 7 (reason 0)
Nov 26 20:00:01 ed-eee NetworkManager: <info>  (ttyUSB0): device state change: 7 -> 9 (reason 13)
Nov 26 20:00:01 ed-eee NetworkManager: <info>  Marking connection 'New Cellular Connection' invalid.
Nov 26 20:00:01 ed-eee NetworkManager: <info>  Activation (ttyUSB0) failed.
Nov 26 20:00:01 ed-eee NetworkManager: <info>  (ttyUSB0): device state change: 9 -> 3 (reason 0)
Nov 26 20:00:01 ed-eee NetworkManager: <info>  (ttyUSB0): deactivating device (reason: 0).
Nov 26 20:00:01 ed-eee NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx &gt;= 0' failed
Nov 26 20:00:01 ed-eee NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' failed

I’m on the latest versions of everything available in the default repositories.

I’ve tried it as root, have disabled IPV6, reinstalled the NetworkManager packages - exactly the same problem.

Also tried on another 11.2 machine - same issue.

The modem works under XP, so the hardware’s fine…

Anyone got any thoughts of something else to try? Even if someone knew what “reason 13” meant in the NetworkManager log it might point me in the right direction!

I guess I could use kppp again, but I like the NetworkManager interface - if it worked it would be much nicer!

Cheers

Ed

Hi,

I had a similar problem, I turned off authentication (checkbox) in the ‘ppp’ tab under ‘edit’ menu from ‘manage connections’ then it worked fine.

Regards,
Barry.

Ah, good thought - unfortunately not though, still the same.

And even with auth disabled, it still drops “CHAP authentication succeeded” in the messages log… hmm.

Aha - sorted!

turns out it doesn’t like having the APN specified in the connection settings… if I leave the box blank it connects.

Thanks for your help anyway!