Linux system cannot use the data connection
Filip Kubicz
filip.kubicz at tier.app
Fri Jul 15 10:43:50 UTC 2022
Hi!
I'm using ModemManager 1.18.6 with Quectel EG21-G modem and Twilio SuperSIM.
This setup works ok on multiple devices.
However, on a few devices, I see following situation:
-
Modem registered to operator network (e.g. Vodafone UK)
-
Modem reports connected state
-
wwan0 interface has IPv4 address
-
Network provider sees no issues
-
in Network provider console you can see the device exchanges a few
hundred kB of data every hour
-
but ping doesn’t work
-
sending data fails
This looks strange, as if ModemManager was not aware of the data session
that is setup, or Linux system not being able to use it.
The simplified flow of using the modem:
- enable modem
- wait until it auto-registers
- create a bearer and connect
- when bearer obtains IP address, configure the network interface
I attached relevant mmcli information from the device (modem, bearer) and
debug level logs from 2 situations:
- device stable in connected state (but ping fails)
- modem reset - sequence of enable, register, connect -> goes into the same
state where ping does not work.
I also attached the commands that are used for setting up the network
interface when a new IP address is obtained.
What should I check, or do you know how to avoid this situation?
Kind regards,
Filip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20220715/d41af639/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config_ipv4_interface.log
Type: text/x-log
Size: 595 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20220715/d41af639/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmcli-all-info.log
Type: text/x-log
Size: 6192 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20220715/d41af639/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modemmanager-debug-log-stable-state-ping-not-working.log
Type: text/x-log
Size: 70906 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20220715/d41af639/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modemmanager-debug-log-reset-and-connect.log
Type: text/x-log
Size: 5636396 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20220715/d41af639/attachment-0007.bin>
More information about the ModemManager-devel
mailing list