Netgear 340u

Noah Taber noahtaber at gmail.com
Fri Apr 25 01:39:37 PDT 2014


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.


*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:*

$ 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)
 $ 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

$ 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'

$ 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'

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


$ 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


On Thu, Apr 24, 2014 at 10:16 PM, Aleksander Morgado <
aleksander at aleksander.es> wrote:

> On Fri, Apr 25, 2014 at 10:06 AM, Noah Taber <noahtaber at gmail.com> wrote:
> > Running dhclient on wwan0 produces nothing.  dhclient eventually times
> out.
> > I also tried ifup wwan0 and this does nothing as well.
> >
>
> ifup should go before the dhclient, not sure if you did that.
>
> > Earlier tonight I removed the linux patch using a pepwave router I have
> > lying around.  If I run qmi-network, as before, I get a CallFailed error.
>
> Can you run these commands?
>
> $ qmicli -d /dev/cdc-wdm0 --get-service-version-info
>
> $ qmicli -d /dev/cdc-wdm0 --dms-uim-get-pin-status
>
> $ qmicli -d /dev/cdc-wdm0 --nas-get-serving-system
>
> $ qmicli -d /dev/cdc-wdm0 --nas-get-home-network
>
> $ qmicli -d /dev/cdc-wdm0 --wds-get-packet-service-status
>
> $ qmicli -d /dev/cdc-wdm0 --wds-start-network=broadcast
> --client-no-release-cid --verbose
>
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libqmi-devel/attachments/20140424/42841589/attachment-0001.html>


More information about the libqmi-devel mailing list