[RFC] TTY port locked problems when using PPP

Lubomir Rintel lkundrak at v3.sk
Thu Jun 27 14:57:43 UTC 2019


On Thu, 2019-06-27 at 10:40 +0200, Piotr Figiel wrote:
> Hi,
> 
> czw., 27 cze 2019 o 10:20 Aleksander Morgado
> <aleksander at aleksander.es> napisaƂ(a):
> > The main issue with this approach is that ModemManager would do a lot
> > of tasks that were exclusively done by NetworkManager before, like IP
> > addressing setup or IP routing setup. I'm sure we can instruct NM to
> > play nicely with those being done by MM, but not sure how easy that
> > would be.
> 
> Alternatively pppd could be instructed to not actually configure IP or
> routes, but with the plug-in pass the IPCP negotiated data to NM via
> MM. Then the NM could either use those data if the interface is
> configured for "auto" configuration or enforce connection IP settings.
> Not sure though what actually is less complicated here.

Yes, but even if new pppd ever gets released with new options, we'd
still need to support the old versions.

It can be neutered somewhat though, like this:
https://gitlab.gnome.org/GNOME/NetworkManager-fortisslvpn/blob/master/src/nm-fortisslvpn-pppd-plugin.c#L218

Lubo



More information about the ModemManager-devel mailing list