AW: MC7455 not working

Thomas Lang thomas.lang at tactilo.eu
Fri Jun 17 12:59:05 UTC 2016


Without restart:

go at ubuntu:~$ mmcli -b 0
Bearer '/org/freedesktop/ModemManager1/Bearer/0'
  -------------------------
  Status             |   connected: 'no'
                     |   suspended: 'no'
                     |   interface: 'unknown'
                     |  IP timeout: '20'
  -------------------------
  Properties         |         apn: 'web.vodafone.de'
                     |     roaming: 'allowed'
                     |     IP type: 'ipv4v6'
                     |        user: 'none'
                     |    password: 'none'
                     |      number: '*99#'
                     | Rm protocol: 'unknown'
  -------------------------
  IPv4 configuration |   method: 'unknown'
  -------------------------
  IPv6 configuration |   method: 'unknown'
  -------------------------
  Stats              |          Duration: '0'
                     |    Bytes received: 'N/A'
                     | Bytes transmitted: 'N/A'
go at ubuntu:~$ sudo service network-manager status
● NetworkManager.service - Network Manager
   Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2016-06-17 14:48:32 CEST; 4min 28s ago
 Main PID: 450 (NetworkManager)
   CGroup: /system.slice/NetworkManager.service
           └─450 /usr/sbin/NetworkManager --no-daemon

Jun 17 14:50:11 ubuntu NetworkManager[450]: <info>  [1466167811.3502] dhcp4 (wwp0s19u1u3i8): dhclient started with pid 735
Jun 17 14:50:11 ubuntu NetworkManager[450]: <info>  [1466167811.3506] (cdc-wdm0): IPv6 configuration disabled
Jun 17 14:50:11 ubuntu NetworkManager[450]: <info>  [1466167811.3853] dhcp4 (wwp0s19u1u3i8): client pid 735 exited with status 1
Jun 17 14:50:11 ubuntu NetworkManager[450]: <info>  [1466167811.3854] dhcp4 (wwp0s19u1u3i8): state changed unknown -> done
Jun 17 14:50:11 ubuntu NetworkManager[450]: <info>  [1466167811.3859] dhcp4 (wwp0s19u1u3i8): canceled DHCP transaction
Jun 17 14:50:11 ubuntu NetworkManager[450]: <info>  [1466167811.3873] device (cdc-wdm0): state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Jun 17 14:50:11 ubuntu NetworkManager[450]: <warn>  [1466167811.3904] device (cdc-wdm0): Activation: failed for connection 'Vodafone Default'
Jun 17 14:50:11 ubuntu NetworkManager[450]: <info>  [1466167811.3930] device (cdc-wdm0): state change: failed -> disconnected (reason 'none') [120 30 0]
Jun 17 14:50:11 ubuntu NetworkManager[450]: <info>  [1466167811.4011] (cdc-wdm0): modem state changed, 'connected' --> 'disconnecting' (reason: user-requested)
Jun 17 14:50:11 ubuntu NetworkManager[450]: <info>  [1466167811.4543] (cdc-wdm0): modem state changed, 'disconnecting' --> 'registered' (reason: user-requested)

After restart:

NetworkManager.service - Network Manager
   Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2016-06-17 14:55:20 CEST; 1min 51s ago
 Main PID: 857 (NetworkManager)
   CGroup: /system.slice/NetworkManager.service
           ├─857 /usr/sbin/NetworkManager --no-daemon
           └─888 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/NetworkManager/dnsmasq.pid --listen-address=127.0.1.1 --cache-size=0 --p

Jun 17 14:55:46 ubuntu dnsmasq[888]: started, version 2.75 cache disabled
Jun 17 14:55:46 ubuntu dnsmasq[888]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
Jun 17 14:55:46 ubuntu dnsmasq[888]: DBus support enabled: connected to system bus
Jun 17 14:55:46 ubuntu dnsmasq[888]: warning: no upstream servers configured
Jun 17 14:55:46 ubuntu NetworkManager[857]: <info>  [1466168146.9397] device (cdc-wdm0): Activation: successful, device activated.
Jun 17 14:55:46 ubuntu NetworkManager[857]: <info>  [1466168146.9526] dnsmasq[0x197db40]: dnsmasq appeared as :1.32
Jun 17 14:55:46 ubuntu NetworkManager[857]: <info>  [1466168146.9534] dns-mgr: Writing DNS information to /sbin/resolvconf
Jun 17 14:55:46 ubuntu dnsmasq[888]: setting upstream servers from DBus
Jun 17 14:55:46 ubuntu dnsmasq[888]: using nameserver 139.7.30.126#53
Jun 17 14:55:46 ubuntu dnsmasq[888]: using nameserver 139.7.30.125#53

go at ubuntu:~$ mmcli -b 0
Bearer '/org/freedesktop/ModemManager1/Bearer/0'
  -------------------------
  Status             |   connected: 'yes'
                     |   suspended: 'no'
                     |   interface: 'wwp0s19u1u3i8'
                     |  IP timeout: '20'
  -------------------------
  Properties         |         apn: 'web.vodafone.de'
                     |     roaming: 'allowed'
                     |     IP type: 'ipv4v6'
                     |        user: 'none'
                     |    password: 'none'
                     |      number: '*99#'
                     | Rm protocol: 'unknown'
  -------------------------
  IPv4 configuration |   method: 'static'
                     |  address: '100.78.46.127'
                     |   prefix: '24'
                     |  gateway: '100.78.46.128'
                     |      DNS: '139.7.30.126', '139.7.30.125'
                     |      MTU: '1500'
  -------------------------
  IPv6 configuration |   method: 'unknown'
  -------------------------
  Stats              |          Duration: '90'
                     |    Bytes received: '49718'
                     | Bytes transmitted: '107326'




-----Ursprüngliche Nachricht-----
Von: Aleksander Morgado [mailto:aleksander at aleksander.es] 
Gesendet: Freitag, 17. Juni 2016 14:45
An: Thomas Lang <thomas.lang at tactilo.eu>
Cc: modemmanager-devel at lists.freedesktop.org; Aleksander Morgado <contact at aleksander.es>
Betreff: Re: MC7455 not working

On Fri, Jun 17, 2016 at 2:16 PM, Thomas Lang <thomas.lang at tactilo.eu> wrote:
> I have been following the discussion on the mail-list. I’m trying to 
> get network-manager working with a MC7455. I upgraded the kernel to 
> 4.6.2. I updated the libqmi (1.14.2), MomdemManager (1.5.992) and 
> NetworkManager
> (1.2.0) to the latest versions. The modemmanager can use the qmi interface.
> I can connect with the mmcli to the network. I can receive an ip 
> address with udhcpc -I command. The problem I still have I can’t get 
> the Network-Manager to start the connection. I have read the mail 
> below that states the NetworkManager will config the connection for 
> you. It seems that the dhcp set-up from the NetworkManager fails, see 
> trace below. Now my question what can I do to get the network-manager to set-up the connection.

That is strange; for the MC7455, when using raw-ip, we are defaulting to static IP setup, not DHCP, so NM shouldn't even try DHCP. Can you get us the output of the bearer info generated during the connection request? (something like "mmcli -b 0", or some other index).

Anyway, it would also be good to get MM/NM debug logs, see:
https://www.freedesktop.org/wiki/Software/ModemManager/Debugging/

--
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list