E1750 Reloaded - QMI - STATIC - DHCP - IPv4

Aleksander Morgado aleksander at aleksander.es
Thu Aug 7 01:30:32 PDT 2014


>  <debug> [296.467180] [mm-bearer-qmi.c:725] connect_context_step(): Getting IPv4 configuration...
>  [/dev/cdc-wdm0] Sent message...
>  <<<<<< RAW:
>  <<<<<<   length = 20
>  <<<<<<   data   = 01:13:00:00:01:18:00:02:00:2D:00:07:00:10:04:00:30:E3:00:00
>  [/dev/cdc-wdm0] Sent message (translated)...
>  <<<<<< QMUX:
>  <<<<<<   length  = 19
>  <<<<<<   flags   = 0x00
>  <<<<<<   service = "wds"
>  <<<<<<   client  = 24
>  <<<<<< QMI:
>  <<<<<<   flags       = "none"
>  <<<<<<   transaction = 2
>  <<<<<<   tlv_length  = 7
>  <<<<<<   message     = "Get Current Settings" (0x002D)
>  <<<<<< TLV:
>  <<<<<<   type       = "Requested Settings" (0x10)
>  <<<<<<   length     = 4
>  <<<<<<   value      = 30:E3:00:00
>  <<<<<<   translated = dns-address, granted-qos, ip-address, gateway-info, mtu, domain-name-list, ip-family
>  [/dev/cdc-wdm0] Received message...
>  >>>>>> RAW:
>  >>>>>>   length = 18
>  >>>>>>   data   = 01:11:00:80:01:FF:04:00:00:22:00:05:00:01:02:00:02:00
>  [/dev/cdc-wdm0] Received message (translated)...
>  >>>>>> QMUX:
>  >>>>>>   length  = 17
>  >>>>>>   flags   = 0x80
>  >>>>>>   service = "wds"
>  >>>>>>   client  = 255
>  >>>>>> QMI:
>  >>>>>>   flags       = "indication"
>  >>>>>>   transaction = 0
>  >>>>>>   tlv_length  = 5
>  >>>>>>   message     = (0x0022)
>  >>>>>> TLV:
>  >>>>>>   type   = 0x01
>  >>>>>>   length = 2
>  >>>>>>   value  = 02:00
>  [/dev/cdc-wdm0] Received message...
>  >>>>>> RAW:
>  >>>>>>   length = 91
>  >>>>>>   data   = 01:5A:00:80:01:18:02:02:00:2D:00:4E:00:02:04:00:00:00:00:00:1E:04:00:4A:3E:93:1F:15:04:00:82:B8:C6:C1:16:04:00:8C:B8:C6:C1:20:04:00:49:3E:93:1F:21:04:00:FC:FF:FF:FF:17:21:00:04:F5:02:00:00:3E:03:00:00:10:00:00:00:80:00:00:00:02:DC:05:00:00:04:07:03:00:00:00:00:03:00:00:00
>  [/dev/cdc-wdm0] Received message (translated)...
>  >>>>>> QMUX:
>  >>>>>>   length  = 90
>  >>>>>>   flags   = 0x80
>  >>>>>>   service = "wds"
>  >>>>>>   client  = 24
>  >>>>>> QMI:
>  >>>>>>   flags       = "response"
>  >>>>>>   transaction = 2
>  >>>>>>   tlv_length  = 78
>  >>>>>>   message     = "Get Current Settings" (0x002D)
>  >>>>>> TLV:
>  >>>>>>   type       = "Result" (0x02)
>  >>>>>>   length     = 4
>  >>>>>>   value      = 00:00:00:00
>  >>>>>>   translated = SUCCESS
>  >>>>>> TLV:
>  >>>>>>   type       = "IPv4 Address" (0x1e)
>  >>>>>>   length     = 4
>  >>>>>>   value      = 4E:38:EA:01
>  >>>>>>   translated = 32127054
>  >>>>>> TLV:
>  >>>>>>   type       = "Primary IPv4 DNS Address" (0x15)
>  >>>>>>   length     = 4
>  >>>>>>   value      = 08:08:08:08
>  >>>>>>   translated = 134744072
>  >>>>>> TLV:
>  >>>>>>   type       = "Secondary IPv4 DNS Address" (0x16)
>  >>>>>>   length     = 4
>  >>>>>>   value      = 04:04:08:08
>  >>>>>>   translated = 134743044
>  >>>>>> TLV:
>  >>>>>>   type       = "IPv4 Gateway Address" (0x20)
>  >>>>>>   length     = 4
>  >>>>>>   value      = 4D:38:EA:01
>  >>>>>>   translated = 32127053
>  >>>>>> TLV:
>  >>>>>>   type       = "IPv4 Gateway Subnet Mask" (0x21)
>  >>>>>>   length     = 4
>  >>>>>>   value      = FC:FF:FF:FF
>  >>>>>>   translated = 4294967292
>  >>>>>> TLV:
>  >>>>>>   type   = 0x17
>  >>>>>>   length = 33
>  >>>>>>   value  = 04:F5:02:00:00:3E:03:00:00:10:00:00:00:80:00:00:00:02:DC:05:00:00:04:07:03:00:00:00:00:03:00:00:00
>  <debug> [296.471217] [mm-bearer-qmi.c:461] get_current_settings_ready():  IP Family: failed (Field 'IP Family' was not found in the message); assuming IPv4
>  <debug> [296.471244] [mm-bearer-qmi.c:467] get_current_settings_ready():  IP Family: IPv4
>  <debug> [296.471265] [mm-bearer-qmi.c:470] get_current_settings_ready():        MTU: failed (Field 'MTU' was not found in the message)
>  <debug> [296.471307] [mm-bearer-qmi.c:291] get_ipv4_config(): QMI IPv4 Settings:
>  <debug> [296.471369] [mm-bearer-qmi.c:300] get_ipv4_config():     Address: 01.234.56.78/30
>  <debug> [296.471394] [mm-bearer-qmi.c:306] get_ipv4_config():     Gateway: 01.234.56.77
>  <debug> [296.471413] [mm-bearer-qmi.c:316] get_ipv4_config():     DNS #1: 8.8.8.8
>  <debug> [296.471708] [mm-bearer-qmi.c:326] get_ipv4_config():     DNS #2: 8.8.4.4
>  <debug> [296.473506] [mm-bearer-qmi.c:492] get_current_settings_ready():    Domains: failed (Field 'Domain Name List' was not found in the message)
>  <debug> [296.474389] [mm-port.c:95] mm_port_set_connected(): (wwan0): port now connected
>  <debug> [296.475147] [mm-base-bearer.c:488] connect_ready(): Connected bearer '/org/freedesktop/ModemManager1/Bearer/0'
>  <info>  [296.475941] [mm-iface-modem.c:1392] __iface_modem_update_state_internal(): Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting -> connected)
>  <info>  [296.478308] [mm-iface-modem-simple.c:602] connection_step(): Simple connect state (8/8): All done


Thanks, those logs were good.

Dan, do you see anything wrong in the IPv4 setup that we get back from
the modem? It does look ok to me.


More information about the ModemManager-devel mailing list