Hi there,
I am trying to get an internet connection to my ISP via SIM card. The NetworkManager does a connection for about 20-30 seconds, then the connection drops. During this short period I can ping 8.8.8.8 via USB, but there is no DNS resolution.
- I flashed the LTE module to 9011
- I am running the bookworm image and did apt update/upgrade
- the NetworkManager log shows:
Jul 17 12:56:34 clockworkpi NetworkManager[69706]: [1721213794.4466] dhcp4 (usb0): activation: beginning transaction (timeout in 45 seconds)
Jul 17 12:56:34 clockworkpi NetworkManager[69706]: [1721213794.4466] dhcp4 (usb0): state changed no lease
Jul 17 12:56:34 clockworkpi NetworkManager[69706]: [1721213794.4472] dhcp6 (usb0): canceled DHCP transaction
Jul 17 12:56:34 clockworkpi NetworkManager[69706]: [1721213794.4473] dhcp6 (usb0): activation: beginning transaction (timeout in 45 seconds)
Jul 17 12:56:34 clockworkpi NetworkManager[69706]: [1721213794.4473] dhcp6 (usb0): state changed no lease
Jul 17 12:56:34 clockworkpi NetworkManager[69706]: [1721213794.4876] manager: (ttyUSB2): new Broadband device (/org/freedesktop/NetworkManager/Devices/5)
Jul 17 12:56:34 clockworkpi NetworkManager[69706]: [1721213794.4899] device (ttyUSB2): state change: unmanaged â unavailable (reason âmanagedâ, sys-iface-state: âexternalâ)
Jul 17 12:56:34 clockworkpi NetworkManager[69706]: [1721213794.4910] device (ttyUSB2): modem state âenablingâ
Jul 17 12:56:34 clockworkpi NetworkManager[69706]: [1721213794.5631] device (ttyUSB2): state change: unavailable â disconnected (reason ânoneâ, sys-iface-state: âmanagedâ)
- there is no SIM pin and the internet access is working on other devices
Did I miss sth.? When using the 9011 mode (rndis) the ModemManager and NetworkManager service should be running?
Do I need a nmcli c add configuration profile? I set 2 profiles with AT commands:
sudo echo -en âAT+CGDCONT?\r\nâ | sudo socat - /dev/ttyUSB2,crnl
+CGDCONT: 1,âIPV4V6â,âinternetâ,â0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0â,0,0,0,0
+CGDCONT: 6,âIPV4V6â,âinternetâ,â0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0â,0,0,0,0
OK
sudo echo -en âAT+CUSBPIDSWITCH?\r\nâ | sudo socat - /dev/ttyUSB2,crnl
+CUSBPIDSWITCH: 9011
OK
sudo echo -en âAT+CREG?\r\nâ | sudo socat - /dev/ttyUSB2,crnl
+CREG: 2,2
OK
I am working on this 5h now. I thought that it only needs âsudo uconsole-4g enableâ and everything works.
My usb0 device has an IPv4 and IPv6 address.
Any help is appreciated! Thanks a lot,
Ingo