Static vs DHCP setups from ModemManager in OpenWrt

Nick nickberry17 at icloud.com
Thu Jul 15 21:49:17 UTC 2021


Hey,

What is your solution for MM not giving up in the end? Maybe we can merge it into OpenWrt.

Best,
Nick

> On 12 Jul 2021, at 23:07, Enrico Mioso <mrkiko.rs at gmail.com> wrote:
> 
> Hello!!
> 
> This is modem firmware-dependent: the modem decides how to present the configuration to you.
> This is what I understood at least.
> 
> 
>> On Mon, 12 Jul 2021, Peter Naulls wrote:
>> 
>> Date: Mon, 12 Jul 2021 14:19:04
>> From: Peter Naulls <peter at chocky.org>
>> To: modemmanager-devel at lists.freedesktop.org
>> Subject: Static vs DHCP setups from ModemManager in OpenWrt
>> 
>> Hello all.
>> 
>> I'm using ModemManger 1.16.6 on OpenWrt along with its scripts (and slight modifications so it doesn't just give up in the end).
>> 
>> After a lot of testing and loss of connectivity, it seems that although
>> our provider is offering DHCP, the connection via ModemManager is configured
>> statically. This leads to loss of connection after several hours unless
>> intervention is taken such as manual DHCP or re-configuring the interface.
>> 
>> We can see here:
>> 
>> # mmcli --modem 0 --bearer=1 --output-keyvalue | grep ipv4
>> bearer.properties.ip-type       : ipv4v6
>> bearer.ipv4-config.method       : static
>> bearer.ipv4-config.address      : 10.246.110.163
>> bearer.ipv4-config.prefix       : 29
>> bearer.ipv4-config.gateway      : 10.246.110.164
>> bearer.ipv4-config.dns.length   : 1
>> bearer.ipv4-config.dns.value[1] : 107.112.229.135
>> bearer.ipv4-config.mtu          : 1430
>> 
>> So the question is, is this a ModemManager bug? Or is it misreporting
>> from the carrier, or something else?  What can I do to debug this?
>> 
>> Thanks!
>> 
>> 
>> _______________________________________________
>> ModemManager-devel mailing list
>> ModemManager-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
>> 
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel


More information about the ModemManager-devel mailing list