Resetting Bearer on OpenWRT

Enrico Mioso mrkiko.rs at gmail.com
Sun Sep 8 07:25:07 UTC 2019


Hi!
On Sun, 8 Sep 2019, Aleksander Morgado wrote:
> Absolutely no idea, because I don't know how netifd expects that to be
> reported or how it does connection monitoring. Any info on how that
> works would be appreciated.

I admit I didn't follow the entire discussion from the beginning, so sorry for the noise in case what I am telling is useless.
>From my unerstanding, anyone please correct me if I am wrong, lots of relevant code is in OpenWRt's netifd-proto.sh.
>From my understanding, netifd expects to be informed by protocol handlers about when things change, especially because in this case the network interface wouldn't change it's state apparently.
So, as righly pointed out by you, MM may directly emit ubus events simulating what a protocol handler does, or it may invoke a shell script carrying out that task, keeping the state consistent.
This is what I did in AGH - I am not saying it's the best solution, but that's the route I choose.


Enrico


More information about the ModemManager-devel mailing list