Public bug reported:
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.
** Affects: ifupdown (Ubuntu)
Importance: Undecided
Status: New
--
with ppp interface, the scripts in /etc/network/if-up.d are executed before
ppp0 interface is really present
https://bugs.launchpad.net/bugs/312874
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs