[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

change the sequence of runlevel services



Greetings all,

  I am using ntpd to synchronize my compter time, but there's a little
problem here: I am using PPPoE to connect to internet so the network
interface the ntpd should listen to is ppp0, but I found that ntpd is
not working unless I killed and restarted it again after I loggin, then
I checked the syslog and found that the PPPoE connection is establised
later than the starting of ntpd, so the ntpd will not listen to the ppp0
interface.
  I checked the /etc/rc*.d/ and /etc/init.d/ directries and seems that
the seems that the running sequence of pppd and ntpd is OK, but the
script of ppp said the method is deprecated (using
/etc/network/interfaces instead).
  I just want to make the establishment of PPPoE before the ntpd.
  Anyone can help me with this? thx!

Deephay



Reply to: