Re: [PATCH] rndis_host: Flag RNDIS modems as WWAN devices
From: Paolo Abeni
Date: Thu Mar 13 2025 - 08:25:14 EST
On 3/11/25 10:10 AM, Lubomir Rintel wrote:
> Set FLAG_WWAN instead of FLAG_ETHERNET for RNDIS interfaces on Mobile
> Broadband Modems, as opposed to regular Ethernet adapters.
>
> Otherwise NetworkManager gets confused, misjudges the device type,
> and wouldn't know it should connect a modem to get the device to work.
> What would be the result depends on ModemManager version -- older
> ModemManager would end up disconnecting a device after an unsuccessful
> probe attempt (if it connected without needing to unlock a SIM), while
> a newer one might spawn a separate PPP connection over a tty interface
> instead, resulting in a general confusion and no end of chaos.
>
> The only way to get this work reliably is to fix the device type
> and have good enough version ModemManager (or equivalent).
>
> Signed-off-by: Lubomir Rintel <lkundrak@xxxxx>
This looks like a fix for the net tree, could you please provide a
suitable 'Fixes' tag? Also next time please additionally specify the
target tree in the subj prefix,
Thanks!
Paolo