pppd timed out or didn't initialize our dbus module

Dan Williams dcbw at redhat.com
Thu May 16 13:45:17 UTC 2019


On Tue, 2019-05-14 at 16:44 +0200, Przemyslaw Galazka wrote:
> Thanks for input.
> 
> After changing logging level to debug for ppp demon, I can tell that
> it is
> trying to go through LCP phase and get IP address but ModemManager
> has
> configured 20 seconds timeout for this.
> It seems like NetworkManager is killing pppd in the middle of
> session,
> always after 20seconds.

Are you able to manually run pppd, without NetworkManager, to figure
out how long the PPP link setup actually takes? It's pretty unusual for
it to take 20+ seconds.  MM sends the timeout to NetworkManager, so NM
should be waiting at least 20s before terminating the connection
attempt.

Dan


> How we can change that timeout then? It seems that is is hardcoded in
> https://github.com/freedesktop/ModemManager/search?q=BEARER_IP_TIMEOUT_DEFAULT&unscoped_q=BEARER_IP_TIMEOUT_DEFAULT
> 
> 
> 
> pt., 15 lut 2019 o 16:51 Reinhard Speyerer <rspmn at arcor.de>
> napisaƂ(a):
> 
> > On Fri, Feb 15, 2019 at 11:25:04AM +0100, Przemyslaw Galazka wrote:
> > > This is BalenaOS (resinOS) so probably yes it may be custom. I
> > > add
> > BalenaOS
> > > Support to this thread.
> > > 
> > > Florin, could you let us know what options are used for NM and
> > > ppp build
> > > regarding your OS?
> > > 
> > > pt., 15 lut 2019 o 10:25 Aleksander Morgado <
> > > aleksander at aleksander.es>
> > > napisa??(a):
> > > 
> > > > Hey,
> > > > 
> > > > > > Jan 04 17:28:36 f8c790d NetworkManager[690]: Plugin
> > > > /usr/lib/pppd/2.4.5/nm-pppd-plugin.so loaded.
> > > > > > Jan 04 17:28:36 f8c790d pppd[2596]: nm-ppp-plugin:
> > > > > > (plugin_init):
> > > > initializing
> > > > > > Jan 04 17:28:36 f8c790d pppd[2596]: nm-ppp-plugin:
> > > > > > (nm_phasechange):
> > > > status 3 / phase 'serial connection'
> > > > > > Jan 04 17:28:57 f8c790d NetworkManager[690]: <warn>
> > [1546622937.1715]
> > > > ppp-manager: pppd timed out or didn't initialize our dbus
> > > > module
> > > > > > Jan 04 17:28:57 f8c790d pppd[2596]: nm-ppp-plugin:
> > > > > > (nm_phasechange):
> > > > status 1 / phase 'dead'
> > > > 
> > > > Is this a custom system that you build? if so, which are the
> > > > configure
> > > > options you use for NM and ppp?
> > > > 
> > 
> > Hi,
> > 
> > in case NM and ppp configure options look normal my suggestion for
> > narrowing down the problem would be to use the pppd command line
> > from the NetworkManager log without the "plugin
> > /usr/lib/pppd/2.4.5/nm-pppd-plugin.so" part and check if pppd also
> > times
> > out
> > when you start it manually. If it does try adding the options read
> > from
> > /etc/ppp/peers/gprs one after another. A common problem with some
> > TS 27.060
> > IP relay implementations in mobiles is the lack of proper VJ/CCP
> > support.
> > Please try adding novj noccp first.
> > 
> > Regards,
> > Reinhard
> > 
> 
> _______________________________________________
> 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