I may have spoken a little too soon. Oddly, mmcli shows that I am connected, but it isn’t playing nice with nmcli. Apologies in advance, below output is big. But the main issue I believe is this:
Everything looks fine on the ModemManager side…
mmcli -m 0
state: connected
primary port: cdc-wdm0
.
Seems like we’re all good, which is where I left the last post … But, NetworkManager doesn’t seem to agree with that.
nmcli
cdc-wdm0: disconnected
And if I did a little further, it appears to not be able to find the hardware?
nmcli device show
GENERAL.HWADDR: (unknown) GENERAL.STATE: 30 (disconnected)
.
What could cause the disagreement between ModemManager and NetworkManager?
Full output:
root@fff19d1:~# mmcli -m 0
-----------------------------------
General | dbus path: /org/freedesktop/ModemManager1/Modem/0
| device id: [redacted]
-----------------------------------
Hardware | manufacturer: QUALCOMM INCORPORATED
| model: QUECTEL Mobile Broadband Module
| firmware revision: EG25GGBR07A08M2G
| carrier config: Commercial-TMO_VoLTE
| carrier config revision: 05010505
| h/w revision: 10000
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: [redacted]
-----------------------------------
System | device: /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3
| drivers: option1, qmi_wwan
| plugin: quectel
| primary port: cdc-wdm0
| ports: cdc-wdm0 (qmi), ttyUSB0 (qcdm), ttyUSB2 (at),
| ttyUSB1 (gps), wwp1s0u1u3i4 (net), ttyUSB3 (at)
-----------------------------------
Numbers | own: [redacted]
-----------------------------------
Status | lock: sim-pin2
| unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (10), sim-puk2 (10)
| state: connected
| power state: on
| access tech: lte
| signal quality: 84% (recent)
-----------------------------------
Modes | supported: allowed: 2g; preferred: none
| allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 2g, 3g; preferred: 3g
| allowed: 2g, 3g; preferred: 2g
| allowed: 2g, 4g; preferred: 4g
| allowed: 2g, 4g; preferred: 2g
| allowed: 3g, 4g; preferred: 4g
| allowed: 3g, 4g; preferred: 3g
| allowed: 2g, 3g, 4g; preferred: 4g
| allowed: 2g, 3g, 4g; preferred: 3g
| allowed: 2g, 3g, 4g; preferred: 2g
| current: allowed: 2g, 3g, 4g; preferred: 4g
-----------------------------------
Bands | supported: egsm, dcs, pcs, g850, utran-1, utran-4, utran-6, utran-5,
| utran-8, utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5,
| eutran-7, eutran-8, eutran-12, eutran-13, eutran-18, eutran-19,
| eutran-20, eutran-25, eutran-26, eutran-28, eutran-38, eutran-39,
| eutran-40, eutran-41, utran-19
| current: egsm, dcs, pcs, g850, utran-1, utran-4, utran-6, utran-5,
| utran-8, utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5,
| eutran-7, eutran-8, eutran-12, eutran-13, eutran-18, eutran-19,
| eutran-20, eutran-25, eutran-26, eutran-28, eutran-38, eutran-39,
| eutran-40, eutran-41, utran-19
-----------------------------------
IP | supported: ipv4, ipv6, ipv4v6
-----------------------------------
3GPP | imei: [redacted]
| operator id: 310260
| operator name: Twilio
| registration: home
-----------------------------------
3GPP EPS | ue mode of operation: csps-1
-----------------------------------
SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0
-----------------------------------
Bearer | dbus path: /org/freedesktop/ModemManager1/Bearer/0
root@fff19d1:~# nmcli
eth0: connected to Wired connection 1
"eth0"
ethernet (bcmgenet), DC:[redacted]:52, hw, mtu 1500
ip4 default
inet4 192.168.1.55/24
route4 0.0.0.0/0
route4 192.168.1.0/24
inet6 fd3a:414f:9b6b:1:fef2:34bd:7ac5:6896/64
inet6 fe80::aec9:dc68:482f:d5d2/64
route6 fd3a:414f:9b6b::/64
route6 fd3a:414f:9b6b:1::/64
route6 ff00::/8
route6 fe80::/64
wlan0: connected to resin-wifi-01
"wlan0"
wifi (brcmfmac), DC:[redacted]:54, hw, mtu 1500
inet4 192.168.1.69/24
route4 0.0.0.0/0
route4 192.168.1.0/24
inet6 fd3a:414f:9b6b:1:5b2:2a5:c524:2c07/64
inet6 fe80::741e:6dc3:90bb:c8df/64
route6 fd3a:414f:9b6b::/64
route6 fd3a:414f:9b6b:1::/64
route6 ff00::/8
route6 fe80::/64
supervisor0: connected (externally) to supervisor0
"supervisor0"
bridge, 02:42:D6:BD:E5:74, sw, mtu 1500
inet4 10.114.104.1/25
route4 10.114.104.0/25
cdc-wdm0: disconnected
"cdc-wdm0"
gsm (option1, qmi_wwan), hw
balena0: unmanaged
"balena0"
bridge, 02:42:F1:A7:53:36, sw, mtu 1500
br-859fdb826d9e: unmanaged
"br-859fdb826d9e"
bridge, 02:42:5E:B4:3A:53, sw, mtu 1500
resin-dns: unmanaged
"resin-dns"
bridge, DE:8B:69:85:D8:38, sw, mtu 1500
lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
resin-vpn: unmanaged
"resin-vpn"
tun, sw, mtu 1500
DNS configuration:
servers: 192.168.1.1
interface: eth0
servers: 192.168.1.1
interface: wlan0
Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.
Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.
root@fff19d1:~# nmcli device show
GENERAL.DEVICE: eth0
GENERAL.TYPE: ethernet
GENERAL.HWADDR: DC:[redacted]:52
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: Wired connection 1
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/3
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 192.168.1.55/24
IP4.GATEWAY: 192.168.1.1
IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 192.168.1.1, mt = 100
IP4.ROUTE[2]: dst = 192.168.1.0/24, nh = 0.0.0.0, mt = 100
IP4.DNS[1]: 192.168.1.1
IP6.ADDRESS[1]: fd3a:414f:9b6b:1:fef2:34bd:7ac5:6896/64
IP6.ADDRESS[2]: fe80::aec9:dc68:482f:d5d2/64
IP6.GATEWAY: --
IP6.ROUTE[1]: dst = fd3a:414f:9b6b::/64, nh = fe80::c78:2dc9:65e6:8f81, mt = 100
IP6.ROUTE[2]: dst = fd3a:414f:9b6b:1::/64, nh = ::, mt = 100
IP6.ROUTE[3]: dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[4]: dst = fe80::/64, nh = ::, mt = 100
GENERAL.DEVICE: wlan0
GENERAL.TYPE: wifi
GENERAL.HWADDR: DC:[redacted]:54
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: resin-wifi-01
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
IP4.ADDRESS[1]: 192.168.1.69/24
IP4.GATEWAY: 192.168.1.1
IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 192.168.1.1, mt = 600
IP4.ROUTE[2]: dst = 192.168.1.0/24, nh = 0.0.0.0, mt = 600
IP4.DNS[1]: 192.168.1.1
IP6.ADDRESS[1]: fd3a:414f:9b6b:1:5b2:2a5:c524:2c07/64
IP6.ADDRESS[2]: fe80::741e:6dc3:90bb:c8df/64
IP6.GATEWAY: --
IP6.ROUTE[1]: dst = fd3a:414f:9b6b::/64, nh = fe80::c78:2dc9:65e6:8f81, mt = 600
IP6.ROUTE[2]: dst = fd3a:414f:9b6b:1::/64, nh = ::, mt = 600
IP6.ROUTE[3]: dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[4]: dst = fe80::/64, nh = ::, mt = 600
GENERAL.DEVICE: supervisor0
GENERAL.TYPE: bridge
GENERAL.HWADDR: 02:42:D6:BD:E5:74
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected (externally))
GENERAL.CONNECTION: supervisor0
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
IP4.ADDRESS[1]: 10.114.104.1/25
IP4.GATEWAY: --
IP4.ROUTE[1]: dst = 10.114.104.0/25, nh = 0.0.0.0, mt = 0
IP6.GATEWAY: --
GENERAL.DEVICE: cdc-wdm0
GENERAL.TYPE: gsm
GENERAL.HWADDR: (unknown)
GENERAL.MTU: 0
GENERAL.STATE: 30 (disconnected)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
GENERAL.DEVICE: balena0
GENERAL.TYPE: bridge
GENERAL.HWADDR: 02:42:F1:A7:53:36
GENERAL.MTU: 1500
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 10.114.101.1/24
IP4.GATEWAY: --
IP4.ROUTE[1]: dst = 10.114.101.0/24, nh = 0.0.0.0, mt = 0
IP6.GATEWAY: --
GENERAL.DEVICE: br-859fdb826d9e
GENERAL.TYPE: bridge
GENERAL.HWADDR: 02:42:5E:B4:3A:53
GENERAL.MTU: 1500
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 172.17.0.1/16
IP4.GATEWAY: --
IP4.ROUTE[1]: dst = 172.17.0.0/16, nh = 0.0.0.0, mt = 0
IP6.GATEWAY: --
GENERAL.DEVICE: resin-dns
GENERAL.TYPE: bridge
GENERAL.HWADDR: DE:8B:69:85:D8:38
GENERAL.MTU: 1500
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 10.114.102.1/24
IP4.GATEWAY: --
IP4.ROUTE[1]: dst = 10.114.102.0/24, nh = 0.0.0.0, mt = 0
IP6.GATEWAY: --
GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY: --
IP6.ADDRESS[1]: ::1/128
IP6.GATEWAY: --
IP6.ROUTE[1]: dst = ::1/128, nh = ::, mt = 256
GENERAL.DEVICE: resin-vpn
GENERAL.TYPE: tun
GENERAL.HWADDR: (unknown)
GENERAL.MTU: 1500
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 10.240.104.11/32
IP4.GATEWAY: --
IP4.ROUTE[1]: dst = 52.4.252.97/32, nh = 0.0.0.0, mt = 0
IP6.ADDRESS[1]: fe80::8d39:ed34:2d6e:9c04/64
IP6.GATEWAY: --
IP6.ROUTE[1]: dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[2]: dst = fe80::/64, nh = ::, mt = 256