[Bug 312874] Re: with ppp interface, the scripts in /etc/network/if-up.d are executed before ppp0 interface is really present
Ernst Kloppenburg
ernst.kloppenburg at gmx.de
Sat Jul 7 12:27:05 UTC 2012
this works correctly now with 12.04
thanks for asking.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/312874
Title:
with ppp interface, the scripts in /etc/network/if-up.d are executed
before ppp0 interface is really present
Status in “ifupdown” package in Ubuntu:
Incomplete
Bug description:
in /etc/network/interfaces I have a ppp interface configured like
this:
auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
this is my single connection to the internet
I have the ntpdate package installed and wondered why the system time was not updated on automatic or manual execution of
"ifup dsl-provider".
The syslog says "ntpdate: no servers can be used, exiting". This line appears IN BETWEEN the log messages from pppd, especially BEFORE "pppd: Connect: ppp0 <--> eth0"
To further debug this, I put the following command in /etc/network/if-up.d/ntpdate: "ifconfig ppp0".
This test confirms that the ppp0 interface is not present at the time of the execution of /etc/network/if-up.d/ntpdate
The scripts in /etc/network/if-up.d/ are run before "pon" ist finished
setting up the interface.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/312874/+subscriptions
More information about the foundations-bugs
mailing list