Netgear 340u

Aleksander Morgado aleksander at aleksander.es
Fri Apr 25 01:49:19 PDT 2014


On Fri, Apr 25, 2014 at 10:39 AM, Noah Taber <noahtaber at gmail.com> wrote:
> Regarding ifup:
>
> Running before dhclient:
>
> $ sudo ifup wwan0
> Ignoring unknown interface wwan0=wwan0.
>
> $ sudo dhclient -v wwan0
> Internet Systems Consortium DHCP Client 4.2.2
> Copyright 2004-2011 Internet Systems Consortium.
> All rights reserved.
> For info, please visit https://www.isc.org/software/dhcp/
>
> Listening on LPF/wwan0/a2:f6:ca:73:53:81
> Sending on   LPF/wwan0/a2:f6:ca:73:53:81
> Sending on   Socket/fallback
> DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 4
> DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 6
> DHCPDISCOVER on wwan0 to 255.255.255.255 port 67 interval 11...
>
> Running after dhclient:
>
> $ sudo ifup wwan0
> Ignoring unknown interface wwan0=wwan0.
>

Not sure what happened here; did you double check that the network
interface generated is called "wwan0"? (e.g. looking at dmesg output).


>
> Per your requested commands.  These commands were run WITHOUT the linux
> patch on the netgear website.  If you would like me to apply the linux
> patch, please let me know:
>

No no, forget about that patch.

> $ sudo qmicli -d /dev/cdc-wdm0 --get-service-version-info
> [/dev/cdc-wdm0] Supported versions:
> ctl (1.5)
> wds (1.16)
> dms (1.13)
> nas (1.25)
> qos (1.3)
> wms (1.8)
> pds (1.13)
> auth (1.2)
> at (1.2)
> voice (2.1)
> cat2 (2.11)
> uim (1.12)
> pbm (1.4)
> loc (2.0)
> sar (1.0)
> ims (1.0)
> ts (1.0)
> tmd (1.0)
> wda (1.0)
> csvt (1.0)
> cat (2.11)
> unknown [0xf0] (1.0)

Ok.

> $ sudo qmicli -d /dev/cdc-wdm0 --dms-uim-get-pin-status
> [/dev/cdc-wdm0] PIN status retrieved successfully
> [/dev/cdc-wdm0] PIN1:
> Status: disabled
> Verify: 3
> Unblock: 10
> [/dev/cdc-wdm0] PIN2:
> Status: enabled-not-verified
> Verify: 3
> Unblock: 10
>

Ok.

> $ sudo qmicli -d /dev/cdc-wdm0 --nas-get-serving-system
> [/dev/cdc-wdm0] Successfully got serving system:
> Registration state: 'registered'
> CS: 'attached'
> PS: 'attached'
> Selected network: '3gpp'
> Radio interfaces: '1'
> [0]: 'lte'
> Roaming status: 'off'
> Data service capabilities: '1'
> [0]: 'lte'
> Current PLMN:
> MCC: '310'
> MNC: '410'
> Description: 'AT&T'
> Roaming indicators: '1'
> [0]: 'off' (lte)
> 3GPP time zone offset: '-600' minutes
> 3GPP daylight saving time adjustment: '0' hours
> 3GPP location area code: '65534'
> 3GPP cell ID: '128005384'
> Detailed status:
> Status: 'available'
> Capability: 'cs-ps'
> HDR Status: 'power-save'
> HDR Hybrid: 'yes'
> Forbidden: 'no'
> LTE tracking area code: '34052'
> Full operator code info:
> MCC: '310'
> MNC: '410'
> MNC with PCS digit: 'yes'
>

Ok.

> $ sudo qmicli -d /dev/cdc-wdm0 --nas-get-home-network
> [/dev/cdc-wdm0] Successfully got home network:
> Home network:
> MCC: '310'
> MNC: '410'
> Description: 'AT&T'
>

Ok.

> $ sudo qmicli -d /dev/cdc-wdm0 --wds-get-packet-service-status
> [/dev/cdc-wdm0] Connection status: 'disconnected'
>

Ok.

>
> $ sudo qmicli -d /dev/cdc-wdm0 --wds-start-network=broadcast
> --client-no-release-cid --verbose
> [24 Apr 2014, 22:22:46] [Debug] QMI Device at '/dev/cdc-wdm0' ready
> [24 Apr 2014, 22:22:46] [Debug] [/dev/cdc-wdm0] Assuming service 'wds' is
> supported...
> [24 Apr 2014, 22:22:46] [Debug] [/dev/cdc-wdm0] Allocating new client ID...
> [24 Apr 2014, 22:22:46] [Debug] [/dev/cdc-wdm0] Sent message...
> <<<<<< RAW:
> <<<<<<   length = 16
> <<<<<<   data   = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:01
>
> [24 Apr 2014, 22:22:46] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
> <<<<<< QMUX:
> <<<<<<   length  = 15
> <<<<<<   flags   = 0x00
> <<<<<<   service = "ctl"
> <<<<<<   client  = 0
> <<<<<< QMI:
> <<<<<<   flags       = "none"
> <<<<<<   transaction = 1
> <<<<<<   tlv_length  = 4
> <<<<<<   message     = "Allocate CID" (0x0022)
> <<<<<< TLV:
> <<<<<<   type       = "Service" (0x01)
> <<<<<<   length     = 1
> <<<<<<   value      = 01
> <<<<<<   translated = wds
>
> [24 Apr 2014, 22:22:47] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>>> RAW:
>>>>>>>   length = 24
>>>>>>>   data   =
>>>>>>> 01:17:00:80:00:00:01:01:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:01:03
>
> [24 Apr 2014, 22:22:47] [Debug] [/dev/cdc-wdm0] Received message
> (translated)...
>>>>>>> QMUX:
>>>>>>>   length  = 23
>>>>>>>   flags   = 0x80
>>>>>>>   service = "ctl"
>>>>>>>   client  = 0
>>>>>>> QMI:
>>>>>>>   flags       = "response"
>>>>>>>   transaction = 1
>>>>>>>   tlv_length  = 12
>>>>>>>   message     = "Allocate CID" (0x0022)
>>>>>>> TLV:
>>>>>>>   type       = "Result" (0x02)
>>>>>>>   length     = 4
>>>>>>>   value      = 00:00:00:00
>>>>>>>   translated = SUCCESS
>>>>>>> TLV:
>>>>>>>   type       = "Allocation Info" (0x01)
>>>>>>>   length     = 2
>>>>>>>   value      = 01:03
>>>>>>>   translated = [ service = 'wds' cid = '3' ]
>
> [24 Apr 2014, 22:22:47] [Debug] [/dev/cdc-wdm0] Registered 'wds' (version
> unknown) client with ID '3'
> [24 Apr 2014, 22:22:47] [Debug] Asynchronously starting network...
> [24 Apr 2014, 22:22:47] [Debug] [/dev/cdc-wdm0] Sent message...
> <<<<<< RAW:
> <<<<<<   length = 25
> <<<<<<   data   =
> 01:18:00:00:01:03:00:01:00:20:00:0C:00:14:09:00:62:72:6F:61:64:63:61:73:74
>
> [24 Apr 2014, 22:22:47] [Debug] [/dev/cdc-wdm0] Sent message (translated)...
> <<<<<< QMUX:
> <<<<<<   length  = 24
> <<<<<<   flags   = 0x00
> <<<<<<   service = "wds"
> <<<<<<   client  = 3
> <<<<<< QMI:
> <<<<<<   flags       = "none"
> <<<<<<   transaction = 1
> <<<<<<   tlv_length  = 12
> <<<<<<   message     = "Start Network" (0x0020)
> <<<<<< TLV:
> <<<<<<   type       = "APN" (0x14)
> <<<<<<   length     = 9
> <<<<<<   value      = 62:72:6F:61:64:63:61:73:74
> <<<<<<   translated = broadcast
>
> [24 Apr 2014, 22:22:48] [Debug] [/dev/cdc-wdm0] Received message...
>>>>>>> RAW:
>>>>>>>   length = 32
>>>>>>>   data   =
>>>>>>> 01:1F:00:80:01:03:02:01:00:20:00:13:00:02:04:00:01:00:0E:00:10:02:00:0C:00:11:04:00:00:00:00:00
>
> [24 Apr 2014, 22:22:48] [Debug] [/dev/cdc-wdm0] Received message
> (translated)...
>>>>>>> QMUX:
>>>>>>>   length  = 31
>>>>>>>   flags   = 0x80
>>>>>>>   service = "wds"
>>>>>>>   client  = 3
>>>>>>> QMI:
>>>>>>>   flags       = "response"
>>>>>>>   transaction = 1
>>>>>>>   tlv_length  = 19
>>>>>>>   message     = "Start Network" (0x0020)
>>>>>>> TLV:
>>>>>>>   type       = "Result" (0x02)
>>>>>>>   length     = 4
>>>>>>>   value      = 01:00:0E:00
>>>>>>>   translated = FAILURE: CallFailed
>>>>>>> TLV:
>>>>>>>   type       = "Call End Reason" (0x10)
>>>>>>>   length     = 2
>>>>>>>   value      = 0C:00
>>>>>>>   translated = (null)
>>>>>>> TLV:
>>>>>>>   type       = "Verbose Call End Reason" (0x11)
>>>>>>>   length     = 4
>>>>>>>   value      = 00:00:00:00
>>>>>>>   translated = [ type = '(null)' reason = '0' ]
>
> error: couldn't start network: QMI protocol error (14): 'CallFailed'
> call end reason (12): (null)
> verbose call end reason (0,0): [(null)] (null)
> [/dev/cdc-wdm0] Client ID not released:
> Service: 'wds'
>    CID: '3'
> [24 Apr 2014, 22:22:48] [Debug] [/dev/cdc-wdm0] Unregistered 'wds' client
> with ID '3'
> [24 Apr 2014, 22:22:48] [Debug] Client released
>


Wait, is 'broadcast' really your APN?  That is not in the m-b-p-d for AT&T, see:
https://git.gnome.org/browse/mobile-broadband-provider-info/tree/serviceproviders.xml#n12322

Can you retry with e.g. "Broadband" as APN?

$ qmicli -d /dev/cdc-wdm0 --wds-start-network=Broadband
--client-no-release-cid --verbose


Or better, use the APN that you're supposed to use with your data plan :)


-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list