[Sierra] NM 0.7 does not set APN for AT&T 3G connection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mobile-broadband-provider-info (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned | ||
network-manager (Ubuntu) |
Fix Released
|
Medium
|
Alexander Sack | ||
Intrepid |
Fix Released
|
High
|
Alexander Sack |
Bug Description
Binary package hint: network-manager
System: Intrepid / current snapshot
Kernel: 2.6.27-7
3G Device: Sierra Aircard 881
3G Provider: AT&T US
To verify:
1. check that you cannot connect with the setup from above with old package
2. check that you can connect with the setup from above with new package
Patch that landed upstream: http://
Problem: Network Manager is unable to initiate a 3G connection with an Sierra Aircard 881.
The card is properly detected and supported by the Sierra Kernel driver 1.3.2. NM 0.7 properly detects the card as well and starts the configuration assistant and offers the selection of some AT&T options.
On the Sierra Homepage Sierra provides required settings and a sample ppp peer and ppp chat script for AT&T, both can be successfully used to control the card and open a connection manually controlling pppd.
http://
http://
NM Problems:
#1: AT&T options not very self describing (what is AT&T, AT&T tethering, AT&T tethering with data acceleration??)
#2: 'AT&T tethering with data acceleration' seems to have the settings required for a standard AT&T HSDPA data only flatrate contract
#3: NM 0.7 does not connect. NM 0.7 fails to set the APN (ISP.CINGULAR, which is properly configured in NM 0.7)
syslog snippet:
part1: NM recognizing the device
Oct 11 10:05:18 X31 NetworkManager: <info> Found new Modem device 'ttyUSB0'.
Oct 11 10:05:18 X31 NetworkManager: <info> (ttyUSB0): exported as /org/freedeskto
Oct 11 10:05:22 X31 NetworkManager: <info> (ttyUSB0): device state change: 1 -> 2
Oct 11 10:05:22 X31 NetworkManager: <info> (ttyUSB0): deactivating device.
Oct 11 10:05:22 X31 NetworkManager: nm_system_
Oct 11 10:05:22 X31 NetworkManager: nm_system_
Oct 11 10:05:22 X31 NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://
Oct 11 10:05:22 X31 NetworkManager: <info> (ttyUSB0): device state change: 2 -> 3
Oct 11 10:05:22 X31 NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://
part 2: NM trying to activate the connection
Oct 11 10:05:38 X31 NetworkManager: <info> Activation (ttyUSB0) starting connection 'AT&T (Tethering with data acceleration)'
Oct 11 10:05:38 X31 NetworkManager: <info> (ttyUSB0): device state change: 3 -> 4
Oct 11 10:05:38 X31 NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://
Oct 11 10:05:38 X31 NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
Oct 11 10:05:38 X31 NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
Oct 11 10:05:38 X31 NetworkManager: <debug> [1223744738.786793] nm_serial_
Oct 11 10:05:38 X31 NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
Oct 11 10:05:38 X31 NetworkManager: <info> (ttyUSB0): powering up...
Oct 11 10:05:38 X31 NetworkManager: <info> Registered on Home network
Oct 11 10:05:38 X31 NetworkManager: <info> Associated with network: +COPS: 0,0,"",2
Oct 11 10:05:39 X31 NetworkManager: <WARN> set_apn_done(): Setting APN failed
Oct 11 10:05:39 X31 NetworkManager: <info> (ttyUSB0): device state change: 4 -> 9
Oct 11 10:05:39 X31 NetworkManager: <debug> [1223744739.028278] nm_serial_
Oct 11 10:05:39 X31 NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://
Oct 11 10:05:39 X31 NetworkManager: <info> Marking connection 'AT&T (Tethering with data acceleration)' invalid.
Oct 11 10:05:39 X31 NetworkManager: <info> Activation (ttyUSB0) failed.
Oct 11 10:05:39 X31 NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3
Oct 11 10:05:39 X31 NetworkManager: <info> (ttyUSB0): deactivating device.
Syslog snippet for a successful 3G connection manually using pppd with the gsm scripts from Sierra:
Oct 12 07:13:39 X31 pppd[25996]: pppd 2.4.4 started by root, uid 0
Oct 12 07:13:40 X31 chat[25998]: abort on (NO DIAL TONE)
Oct 12 07:13:40 X31 chat[25998]: abort on (NO ANSWER)
Oct 12 07:13:40 X31 chat[25998]: abort on (NO CARRIER)
Oct 12 07:13:40 X31 chat[25998]: abort on (DELAYED)
Oct 12 07:13:40 X31 chat[25998]: send (AT^M)
Oct 12 07:13:40 X31 chat[25998]: expect (OK)
Oct 12 07:13:40 X31 chat[25998]: ^M
Oct 12 07:13:40 X31 chat[25998]: OK
Oct 12 07:13:40 X31 chat[25998]: -- got it
Oct 12 07:13:40 X31 chat[25998]: send (ATZ^M)
Oct 12 07:13:40 X31 chat[25998]: expect (OK)
Oct 12 07:13:40 X31 chat[25998]: ^M
Oct 12 07:13:40 X31 chat[25998]: ^M
Oct 12 07:13:40 X31 chat[25998]: OK
Oct 12 07:13:40 X31 chat[25998]: -- got it
Oct 12 07:13:40 X31 chat[25998]: send (AT+CGDCONT=
Oct 12 07:13:41 X31 chat[25998]: expect (OK)
Oct 12 07:13:41 X31 chat[25998]: ^M
Oct 12 07:13:41 X31 chat[25998]: ^M
Oct 12 07:13:41 X31 chat[25998]: OK
Oct 12 07:13:41 X31 chat[25998]: -- got it
Oct 12 07:13:41 X31 chat[25998]: send (ATD*99#^M)
Oct 12 07:13:41 X31 chat[25998]: expect (CONNECT)
Oct 12 07:13:41 X31 chat[25998]: ^M
Oct 12 07:13:41 X31 chat[25998]: ^M
Oct 12 07:13:41 X31 chat[25998]: CONNECT
Oct 12 07:13:41 X31 chat[25998]: -- got it
Oct 12 07:13:41 X31 chat[25998]: send (^M)
Oct 12 07:13:41 X31 pppd[25996]: Serial connection established.
Oct 12 07:13:41 X31 pppd[25996]: using channel 7
Oct 12 07:13:41 X31 pppd[25996]: Using interface ppp0
Oct 12 07:13:41 X31 pppd[25996]: Connect: ppp0 <--> /dev/ttyUSB0
Oct 12 07:13:42 X31 pppd[25996]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa111e4b3> <pcomp> <accomp>]
Oct 12 07:13:42 X31 pppd[25996]: rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x70b3db1d> <pcomp> <accomp>]
Oct 12 07:13:42 X31 pppd[25996]: sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x70b3db1d> <pcomp> <accomp>]
Oct 12 07:13:42 X31 pppd[25996]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xa111e4b3> <pcomp> <accomp>]
Oct 12 07:13:42 X31 pppd[25996]: rcvd [LCP DiscReq id=0x1 magic=0x70b3db1d]
Oct 12 07:13:42 X31 pppd[25996]: rcvd [CHAP Challenge id=0x1 <284556127e4ed6
Oct 12 07:13:42 X31 pppd[25996]: sent [CHAP Response id=0x1 <b299758d8142db
Oct 12 07:13:42 X31 pppd[25996]: rcvd [CHAP Success id=0x1 ""]
Oct 12 07:13:42 X31 pppd[25996]: CHAP authentication succeeded
Oct 12 07:13:42 X31 pppd[25996]: CHAP authentication succeeded
Oct 12 07:13:42 X31 pppd[25996]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
Oct 12 07:13:43 X31 pppd[25996]: rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Oct 12 07:13:43 X31 pppd[25996]: sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Oct 12 07:13:44 X31 pppd[25996]: rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Oct 12 07:13:44 X31 pppd[25996]: sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Oct 12 07:13:45 X31 pppd[25996]: rcvd [IPCP ConfReq id=0x0]
Oct 12 07:13:45 X31 pppd[25996]: sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]
Oct 12 07:13:45 X31 pppd[25996]: rcvd [IPCP ConfRej id=0x3 <compress VJ 0f 01>]
Oct 12 07:13:45 X31 pppd[25996]: sent [IPCP ConfReq id=0x4 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Oct 12 07:13:45 X31 pppd[25996]: rcvd [IPCP ConfReq id=0x1]
Oct 12 07:13:45 X31 pppd[25996]: sent [IPCP ConfAck id=0x1]
Oct 12 07:13:45 X31 pppd[25996]: rcvd [IPCP ConfNak id=0x4 <addr 166.129.200.46> <ms-dns1 209.183.54.151> <ms-dns3 209.183.54.151>]
Oct 12 07:13:45 X31 pppd[25996]: sent [IPCP ConfReq id=0x5 <addr 166.129.200.46> <ms-dns1 209.183.54.151> <ms-dns3 209.183.54.151>]
Oct 12 07:13:45 X31 pppd[25996]: rcvd [IPCP ConfAck id=0x5 <addr 166.129.200.46> <ms-dns1 209.183.54.151> <ms-dns3 209.183.54.151>]
Oct 12 07:13:45 X31 pppd[25996]: Could not determine remote IP address: defaulting to 10.64.64.64
Oct 12 07:13:45 X31 pppd[25996]: local IP address 166.129.200.46
Oct 12 07:13:45 X31 pppd[25996]: remote IP address 10.64.64.64
Oct 12 07:13:45 X31 pppd[25996]: primary DNS address 209.183.54.151
Oct 12 07:13:45 X31 pppd[25996]: secondary DNS address 209.183.54.151
Oct 12 07:13:45 X31 pppd[25996]: Script /etc/ppp/ip-up started (pid 26000)
Oct 12 07:13:45 X31 pppd[25996]: Script /etc/ppp/ip-up finished (pid 26000), status = 0x0
lshal output:
# lshal -u `hal-find-
udi = '/org/freedeskt
info.capabilities = {'serial', 'modem'} (string list)
info.category = 'serial' (string)
info.parent = '/org/freedeskt
info.product = 'AirCard 881 Device' (string)
info.subsystem = 'tty' (string)
info.udi = '/org/freedeskt
linux.device_file = '/dev/ttyUSB0' (string)
linux.
linux.subsystem = 'tty' (string)
linux.sysfs_path = '/sys/devices/
modem.
serial.device = '/dev/ttyUSB0' (string)
serial.
serial.port = 0 (0x0) (int)
serial.type = 'usb' (string)
# apt-cache policy network-manager
network-manager:
Installed: 0.7~~svn2008100
Candidate: 0.7~~svn2008100
Version table:
*** 0.7~~svn2008100
500 http://
100 /var/lib/
description: | updated |
description: | updated |
Changed in network-manager: | |
importance: | Undecided → High |
milestone: | none → intrepid-updates |
status: | New → Triaged |
Changed in mobile-broadband-provider-info: | |
status: | New → Invalid |
description: | updated |
Changed in network-manager: | |
assignee: | nobody → asac |
assignee: | nobody → asac |
Changed in network-manager: | |
status: | Triaged → Fix Committed |
description: | updated |
could you please identify which setting is wrong and how it should be?