Cheers Peter

"its complicated" is an understatement! and that is not a dig at either NM or 
MM... Telco is complicated by nature - NM and MM attempt to simplify, but there 
is a compromise in that you need to give up some flexibility and 
configurability.

to be honest, 99% of the time I am working with modems with micro controllers 
and I take care if everything myself - occasionally I am asked to help out with 
a system running NM/MM and my experience might be working against me. 

using MM purely to configure the modem and work with it, makes perfect sense in 
isolation. The problem is really that NM can stand alone (as you describe), but 
MM can't - MM would like to hand off modems to simplify itself, but there is no 
clear place to do that... especially if MM wants to work without NM... 

so, yes its complex for sure

ill try and get a debug log out

-- 
  Robert Colvin
  punk.spot9...@skrapost.net

On Mon, Mar 13, 2023, at 2:09 PM, Peter Naulls wrote:
> On 3/13/23 08:34, Robert Colvin wrote:
>
>> but this leaves me with more questions than answers (after playing for a 
>> while)
>> 
>> As I understood it, NM was responsible for managing the modem itself, 
>> whereas MM would handle tasks like automatically failing over a wireless 
>> network to a cellular connection - but would rely on NM to manage the 
>> interface to the modem. But in this "simple" task there is some overlap/grey 
>> area - for example, a cellular data connection requires things like APNs, 
>> where should that fall? it seems it has landed in both NM and MM.
>
> "It's complicated".
>
> I use MM in OpenWrt, and I have a separate script to monitor connections and 
> restart the modem when required.  It's not an ideal or tightly integrated 
> solution, but it's pretty robust at this time.  There may be other pieces too,
> in particular udev rules for invoking usbmodeswitch and such.  In OpenWrt,
> ModemManager intergrates with netifd, which a lot like NetworkManager, and 
> there
> are scripts that tie them together.
>
>> I have had first hand experience in this, though I assumed it was a Network 
>> Manager issue . I made a post to the NM list here 
>> https://lists.freedesktop.org/archives/networkmanager/2023-February/000026.html
>>  - essentially, I have a modem that is on a serial port; modem manager can 
>> see it, but Network Manager is unable to setup a connection with it - the 
>> specific error is "failed to connect 'r412m_serial': Connection requested 
>> IPv4 but IPv4 is unsupported by the modem." -> given in two months there has 
>> been no response, maybe its a modem manager issue?
>> 
>
>  From what I can see, this could be a MM issue, or it could be an issue 
> with the 
> underlying driver.  In any case, full ModemManager debug is needed here.

Reply via email to