AW: MC7455 not working

Thomas Lang thomas.lang at tactilo.eu
Fri Jun 17 12:46:13 UTC 2016


Dear Aleksander,
perhaps an interesting observation. I could connect through the Network-manager. I restarted the Modem-Manager and the Network-Manager service. After this I could connect with the nm-applet gui. Also I could connect with the nmcli d c cdc-wdm0, but only after I restarted both mm and nm.
Kind regards,
Thomas

● NetworkManager.service - Network Manager
   Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor p
   Active: active (running) since Fri 2016-06-17 12:42:06 CEST; 5min ago
Main PID: 1209 (NetworkManager)
   CGroup: /system.slice/NetworkManager.service
           ├─1209 /usr/sbin/NetworkManager --no-daemon
           └─1242 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts

Jun 17 12:42:33 ubuntu dnsmasq[1242]: started, version 2.75 cache disabled
Jun 17 12:42:33 ubuntu dnsmasq[1242]: compile time options: IPv6 GNU-getopt DBus
Jun 17 12:42:33 ubuntu dnsmasq[1242]: DBus support enabled: connected to system
Jun 17 12:42:33 ubuntu dnsmasq[1242]: warning: no upstream servers configured
Jun 17 12:42:33 ubuntu NetworkManager[1209]: <info>  [1466160153.7774] device (c
Jun 17 12:42:33 ubuntu NetworkManager[1209]: <info>  [1466160153.7885] dnsmasq[0
Jun 17 12:42:33 ubuntu NetworkManager[1209]: <info>  [1466160153.7893] dns-mgr:
Jun 17 12:42:33 ubuntu dnsmasq[1242]: setting upstream servers from DBus
Jun 17 12:42:33 ubuntu dnsmasq[1242]: using nameserver 139.7.30.126#53
Jun 17 12:42:33 ubuntu dnsmasq[1242]: using nameserver 139.7.30.125#53


Von: Thomas Lang
Gesendet: Freitag, 17. Juni 2016 14:17
An: 'modemmanager-devel at lists.freedesktop.org' <modemmanager-devel at lists.freedesktop.org>
Cc: Aleksander Morgado <contact at aleksander.es>
Betreff: AW: MC7455 not working

Dear Aleksander,
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.
I’m looking forward for an answer.
Kind regards,
Thomas

● NetworkManager.service - Network Manager
  Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2016-06-17 11:19:39 CEST; 57min ago
Main PID: 1300 (NetworkManager)
   CGroup: /system.slice/NetworkManager.service
           ├─1062 /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 --proxy-dnssec
           └─1300 /usr/sbin/NetworkManager --no-daemon

Jun 17 12:16:40 ubuntu NetworkManager[1300]: <info>  [1466158600.3799] (cdc-wdm0): IPv6 configuration disabled
Jun 17 12:16:40 ubuntu NetworkManager[1300]: <info>  [1466158600.4154] dhcp4 (wwp0s19u1u3i10): client pid 1691 exited with status 1
Jun 17 12:16:40 ubuntu NetworkManager[1300]: <info>  [1466158600.4154] dhcp4 (wwp0s19u1u3i10): state changed unknown -> done
Jun 17 12:16:40 ubuntu NetworkManager[1300]: <info>  [1466158600.4159] dhcp4 (wwp0s19u1u3i10): canceled DHCP transaction
Jun 17 12:16:40 ubuntu NetworkManager[1300]: <info>  [1466158600.4171] device (cdc-wdm0): state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Jun 17 12:16:40 ubuntu NetworkManager[1300]: <info>  [1466158600.4205] policy: disabling autoconnect for connection 'Vodafone Default'.
Jun 17 12:16:40 ubuntu NetworkManager[1300]: <warn>  [1466158600.4218] device (cdc-wdm0): Activation: failed for connection 'Vodafone Default'
Jun 17 12:16:40 ubuntu NetworkManager[1300]: <info>  [1466158600.4243] device (cdc-wdm0): state change: failed -> disconnected (reason 'none') [120 30 0]
Jun 17 12:16:40 ubuntu NetworkManager[1300]: <info>  [1466158600.4337] (cdc-wdm0): modem state changed, 'connected' --> 'disconnecting' (reason: user-requested)
Jun 17 12:16:40 ubuntu NetworkManager[1300]: <info>  [1466158600.4405] (cdc-wdm0): modem state changed, 'disconnecting' --> 'registered' (reason: user-requested)


MC7455 not working
Aleksander Morgado aleksander at aleksander.es <mailto:modemmanager-devel%40lists.freedesktop.org?Subject=Re%3A%20MC7455%20not%20working&In-Reply-To=%3CCAAP7ucLn%2BoBZUvwagg30k2r%2Bdt68GLb1mN1GiuTvucjCZ6PcYw%40mail.gmail.com%3E>
Wed Mar 23 10:47:57 UTC 2016

  *   Previous message: MC7455 not working <https://lists.freedesktop.org/archives/modemmanager-devel/2016-March/002817.html>
  *   Next message: MC7455 not working <https://lists.freedesktop.org/archives/modemmanager-devel/2016-March/002831.html>
  *   Messages sorted by: [ date ]<https://lists.freedesktop.org/archives/modemmanager-devel/2016-March/date.html#2818> [ thread ]<https://lists.freedesktop.org/archives/modemmanager-devel/2016-March/thread.html#2818> [ subject ]<https://lists.freedesktop.org/archives/modemmanager-devel/2016-March/subject.html#2818> [ author ]<https://lists.freedesktop.org/archives/modemmanager-devel/2016-March/author.html#2818>

________________________________

On Wed, Mar 23, 2016 at 11:06 AM, Steven Pease <spease at suitabletech.com<https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel>> wrote:

> I used Arch Build System to grab the existing package builds of libqmi and

> ModemManager and built 1.14 and 1.5.990 respectively from

> https://www.freedesktop.org/software/.<https://www.freedesktop.org/software/> I still got similar output using

> kernel 4.4.5.

>

> I then tried installing linux-mainline which on Arch is kernel 4.5. After

> running simple-connect, I noticed "mmcli -b 0" indicated the wwp0s29f7u5i8

> interface and an IPv4 configuration of dhcp with IP address, gateway, etc.

>



That is perfect now.



> I could not get a dhcp client to work, but manually setting an address with

> "ip addr" and doing a ping through the interface with "ping -i wwp0s29f7u5i8

> 8.8.8.8" did yield results. Is this the correct behavior?

>



Not all DHCP clients work with the raw-ip interfaces. IIIRC the

openwrt dhcp client does work. But that's why ModemManager explicitly

states the static IP config, if you set that config, you won't need a

DHCP client (if you use NetworkManager as well, all that will be

automatically done for you).



> From googling around I found this:

> https://mail.gnome.org/archives/networkmanager-list/2015-December/msg00042.html

>

> I guess this means that MC7455 will only work in kernel 4.5 due to better

> raw-ip support?



Yes, yes, forgot to explicitly mention that to you. The first official

release with the new raw-ip support is 4.5, although there are some

previous rc versions which already have it.



--

Aleksander

https://aleksander.es

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20160617/c068a9d0/attachment-0001.html>


More information about the ModemManager-devel mailing list