AW: MC7455 not working

Thomas Lang thomas.lang at tactilo.eu
Fri Jun 17 14:42:29 UTC 2016


Without restart means I have power-up the device and tried to connect. After this has failed I have restarted nm and mm as service and tried to connect again with the nmcli.

-----Ursprüngliche Nachricht-----
Von: Aleksander Morgado [mailto:aleksander at aleksander.es] 
Gesendet: Freitag, 17. Juni 2016 15:37
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:59 PM, Thomas Lang <thomas.lang at tactilo.eu> wrote:
> 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'

This info wasn't taken when MM said the bearer was connected; so not useful. It should have said "method DHCP or method static" in IPv4 configuration.

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


What exactly are you restarting? The whole PC, NM, MM?


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

This looks good to me.

So, is it that it only works for you after restarting something?


--
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list