Score:0

WWAN - NetworkManager doesn't take over addresses from ModemManager

cm flag
JoL

For several months it happens that I cannot establish new WWAN connections with NetworkManager. In syslog I can see that ModemManager prints IPv4 and gateway address, as well as default routes. However NetworkManager doesn't seem to receive those and finaly fails with a timeout. I don't have a clue how to further debug this issue.

My system is Kubuntu 20.04.

Here are the relevant lines of journal:

Jun 28 08:43:10 md1rg7ac NetworkManager[2230]: <info>  [1624862590.9024] device (cdc-wdm1): Activation: starting connection 'Vodafone' (a8974a51-acc3-4dbd-ad72-0c5a659ebf08)
Jun 28 08:43:10 md1rg7ac NetworkManager[2230]: <info>  [1624862590.9026] audit: op="connection-activate" uuid="a8974a51-acc3-4dbd-ad72-0c5a659ebf08" name="Vodafone" pid=6962 uid=1000 result="success"
Jun 28 08:43:10 md1rg7ac NetworkManager[2230]: <info>  [1624862590.9029] device (cdc-wdm1): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jun 28 08:43:10 md1rg7ac ModemManager[2400]: <info>  Simple connect started...
Jun 28 08:43:10 md1rg7ac ModemManager[2400]: <info>  Simple connect state (4/8): Wait to get fully enabled
Jun 28 08:43:10 md1rg7ac ModemManager[2400]: <info>  Simple connect state (5/8): Register
Jun 28 08:43:10 md1rg7ac ModemManager[2400]: <info>  Simple connect state (6/8): Bearer
Jun 28 08:43:10 md1rg7ac ModemManager[2400]: <info>  Simple connect state (7/8): Connect
Jun 28 08:43:10 md1rg7ac ModemManager[2400]: <info>  Modem /org/freedesktop/ModemManager1/Modem/1: state changed (registered -> connecting)
Jun 28 08:43:10 md1rg7ac NetworkManager[2230]: <info>  [1624862590.9262] modem["cdc-wdm1"]: modem state changed, 'registered' --> 'connecting' (reason: user-requested)
Jun 28 08:43:11 md1rg7ac ModemManager[2400]: <info>  QMI IPv4 Settings:
Jun 28 08:43:11 md1rg7ac ModemManager[2400]: <info>      Address: 100.78.35.233/30
Jun 28 08:43:11 md1rg7ac ModemManager[2400]: <info>      Gateway: 100.78.35.234
Jun 28 08:43:11 md1rg7ac ModemManager[2400]: <info>      DNS #1: 139.7.30.126
Jun 28 08:43:11 md1rg7ac ModemManager[2400]: <info>      DNS #2: 139.7.30.125
Jun 28 08:43:11 md1rg7ac ModemManager[2400]: <info>         MTU: 1500
Jun 28 08:43:11 md1rg7ac ModemManager[2400]: <info>  Modem /org/freedesktop/ModemManager1/Modem/1: state changed (connecting -> connected)
Jun 28 08:43:11 md1rg7ac ModemManager[2400]: <info>  Simple connect state (8/8): All done
Jun 28 08:43:11 md1rg7ac NetworkManager[2230]: <info>  [1624862591.2652] modem["cdc-wdm1"]: modem state changed, 'connecting' --> 'connected' (reason: user-requested)
Jun 28 08:43:11 md1rg7ac NetworkManager[2230]: <info>  [1624862591.2701] device (cdc-wdm1): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jun 28 08:43:11 md1rg7ac NetworkManager[2230]: <info>  [1624862591.2715] device (cdc-wdm1): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Jun 28 08:43:11 md1rg7ac NetworkManager[2230]: <info>  [1624862591.2726] dhcp4 (wwan0): activation: beginning transaction (timeout in 15 seconds)
Jun 28 08:43:14 md1rg7ac NetworkManager[2230]: <info>  [1624862594.1243] audit: op="statistics" arg="refresh-rate-ms" pid=6962 uid=1000 result="success"
Jun 28 08:43:26 md1rg7ac NetworkManager[2230]: <warn>  [1624862606.4637] dhcp4 (wwan0): request timed out
Jun 28 08:43:26 md1rg7ac NetworkManager[2230]: <info>  [1624862606.4638] dhcp4 (wwan0): state changed unknown -> timeout
Jun 28 08:43:26 md1rg7ac NetworkManager[2230]: <info>  [1624862606.4639] device (cdc-wdm1): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Jun 28 08:43:26 md1rg7ac NetworkManager[2230]: <warn>  [1624862606.4700] device (cdc-wdm1): Activation: failed for connection 'Vodafone'
Jun 28 08:43:26 md1rg7ac NetworkManager[2230]: <info>  [1624862606.4709] device (cdc-wdm1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Jun 28 08:43:26 md1rg7ac NetworkManager[2230]: <info>  [1624862606.4901] dhcp4 (wwan0): canceled DHCP transaction
Jun 28 08:43:26 md1rg7ac NetworkManager[2230]: <info>  [1624862606.4902] dhcp4 (wwan0): state changed timeout -> done

This is the information I get from nmcli connection wwan

connection.id:                          Vodafone
connection.uuid:                        a8974a51-acc3-4dbd-ad72-0c5a659ebf08
connection.stable-id:                   --
connection.type:                        gsm
connection.interface-name:              --
connection.autoconnect:                 no
connection.autoconnect-priority:        0
connection.autoconnect-retries:         -1 (default)
connection.multi-connect:               0 (default)
connection.auth-retries:                -1
connection.timestamp:                   1624460990
connection.read-only:                   no
connection.permissions:                 user:jo_l
connection.zone:                        --
connection.master:                      --
connection.slave-type:                  --
connection.autoconnect-slaves:          -1 (default)
connection.secondaries:                 --
connection.gateway-ping-timeout:        0
connection.metered:                     unknown
connection.lldp:                        default
connection.mdns:                        -1 (default)
connection.llmnr:                       -1 (default)
connection.wait-device-timeout:         -1
ipv4.method:                            auto
ipv4.dns:                               --
ipv4.dns-search:                        --
ipv4.dns-options:                       --
ipv4.dns-priority:                      0
ipv4.addresses:                         --
ipv4.gateway:                           --
ipv4.routes:                            --
ipv4.route-metric:                      -1
ipv4.route-table:                       0 (unspec)
ipv4.routing-rules:                     --
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-iaid:                         --
ipv4.dhcp-timeout:                      0 (default)
ipv4.dhcp-send-hostname:                no
ipv4.dhcp-hostname:                     --
ipv4.dhcp-fqdn:                         --
ipv4.dhcp-hostname-flags:               0x0 (none)
ipv4.never-default:                     no
ipv4.may-fail:                          yes
ipv4.dad-timeout:                       -1 (default)
ipv6.method:                            ignore
ipv6.dns:                               --
ipv6.dns-search:                        --
ipv6.dns-options:                       --
ipv6.dns-priority:                      0
ipv6.addresses:                         --
ipv6.gateway:                           --
ipv6.routes:                            --
ipv6.route-metric:                      -1
ipv6.route-table:                       0 (unspec)
ipv6.routing-rules:                     --
ipv6.ignore-auto-routes:                no
ipv6.ignore-auto-dns:                   no
ipv6.never-default:                     no
ipv6.may-fail:                          yes
ipv6.ip6-privacy:                       -1 (unknown)
ipv6.addr-gen-mode:                     stable-privacy
ipv6.ra-timeout:                        0 (default)
ipv6.dhcp-duid:                         --
ipv6.dhcp-iaid:                         --
ipv6.dhcp-timeout:                      0 (default)
ipv6.dhcp-send-hostname:                yes
ipv6.dhcp-hostname:                     --
ipv6.dhcp-hostname-flags:               0x0 (none)
ipv6.token:                             --
ppp.noauth:                             yes
ppp.refuse-eap:                         no
ppp.refuse-pap:                         no
ppp.refuse-chap:                        no
ppp.refuse-mschap:                      no
ppp.refuse-mschapv2:                    no
ppp.nobsdcomp:                          no
ppp.nodeflate:                          no
ppp.no-vj-comp:                         no
ppp.require-mppe:                       no
ppp.require-mppe-128:                   no
ppp.mppe-stateful:                      no
ppp.crtscts:                            no
ppp.baud:                               0
ppp.mru:                                0
ppp.mtu:                                auto
ppp.lcp-echo-failure:                   0
ppp.lcp-echo-interval:                  0
gsm.auto-config:                        no
gsm.number:                             *99#
gsm.username:                           --
gsm.password:                           <hidden>
gsm.password-flags:                     4 (not required)
gsm.apn:                                web.vodafone.de
gsm.network-id:                         --
gsm.pin:                                <hidden>
gsm.pin-flags:                          4 (not required)
gsm.home-only:                          no
gsm.device-id:                          --
gsm.sim-id:                             --
gsm.sim-operator-id:                    --
gsm.mtu:                                auto
proxy.method:                           none
proxy.browser-only:                     no
proxy.pac-url:                          --
proxy.pac-script:                       --

It would be great if you can give me some hint.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.