Hi, I can confirm this problem and its apparent solution. I have the same modem and the same provider. I have been using Gnome PPP without problems, but NetworkManager kept breaking. I have been debugging for a few days, made a similar USB trace (on XP) and suspected wrong AT commands in NetworkManager. Apparently, this has now been proved. I have edited nm-gsm-device.c as suggested by Jacob and recompiled. It works. (Unfortunately, it seems a bit unstable, but that may be since I used version 0.7~~svn20081018t105859-0ubuntuu2-nm4).
Best regards, Anders Bo spammed wrote: > > Filed a bug report: > > http://bugzilla.gnome.org/show_bug.cgi?id=565177 > > Anything I can do to help, let me know... > > Best Regards, > Jacob Nielsen > > On Fri, 2008-12-19 at 14:19 +0100, spammed wrote: > >> Hi, >> >> I got this 3G modem after 'verifying' that it would work with >> networkmanager on Ubuntu 8.10: >> >> http://forums.whirlpool.net.au/forum-replies.cfm?t=1046813&r=17127620#r17127620 >> http://tensixtyone.com/perma/howto-debian-lenny-huawei-e160g#comment-267 >> >> However it did not work with my provider OiSTER.dk - when attempting >> to connect it would fail like this: >> >> NetworkManager: <info> Searching for a network... >> NetworkManager: <debug> [1228941447.278901] nm_serial_debug(): >> Sending: 'AT+CREG?' >> NetworkManager: <debug> [1228941447.288917] nm_serial_debug(): Got: >> '+CREG: 0,2 >> OK' >> NetworkManager: <info> Searching for a network... >> NetworkManager: <debug> [1228941447.791863] nm_serial_debug(): >> Sending: 'AT+CREG?' >> NetworkManager: <debug> [1228941447.802718] nm_serial_debug(): Got: >> '+CREG: 0,3 >> OK' >> NetworkManager: <WARN> automatic_registration_response(): Automatic >> registration failed: registration denied. >> >> I extracted AT commands from a WinXP USB trace, which showed that >> while the CREG command would report "registration denied" the GPRS >> command CGREG would report connection status as expected. >> The GSM 07.07 section on the CGREG command has the following note: >> >> "NOTE. If the GPRS MT also supports circuit mode services, the +CREG >> command and +CREG: result code apply to the registration status and >> location information for those services." >> >> So apparently GPRS registration succeeds while registration for >> circuit mode services fails. Can this be provider dependent? >> (Oister.dk provides a local data-only service.) Or maybe it is just a >> modem firmware bug? >> >> Since the commands are so similar, I changed CREG to CGREG in the >> sources (specifically nm-gsm-device.c) as an experiment - and now it >> just works... >> You should of course draw your own conclusions from this, but >> apparently there are cases where checking the CREG status is not >> enough. >> >> Best regards, >> Jacob Nielsen >> >> Attached: WinXP USB trace and AT commands, nm-serial log, system info, >> patch. >> >> >> >> _______________________________________________ >> NetworkManager-list mailing list >> [email protected] >> http://mail.gnome.org/mailman/listinfo/networkmanager-list > > _______________________________________________ > NetworkManager-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/networkmanager-list > > -- View this message in context: http://www.nabble.com/Huawei-e160g-3G-usb-modem-trouble--solved---tp21091160p21111619.html Sent from the Gnome - NetworkManager mailing list archive at Nabble.com. _______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
