Re: change the sequence of runlevel services



On 26/02/06, Deephay <difeiz@xxxxxxxxx> wrote:
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


I would change the symbolic link for ntpd in /etc/rc2.d/ to S99 or so
... then it will start as one of the last services ... after your
network is up.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx





Relevant Pages

  • Re: Re: sendto(1.2.3.4): Invalid argument
    ... just leting the system put the appropriate Source IP and select the adequate output interface according to system's routing decision. ... This way there would not have any need to scan available network interfaces for changes. ... down for dial on demand, unfortunately, ntpd does not bind a socket to this interface! ... is to have my local ntpd server for my local network be "inside" the network without any dynamic IP address. ...
    (comp.protocols.time.ntp)
  • change the sequence of runlevel services
    ... I am using ntpd to synchronize my compter time, ... interface the ntpd should listen to is ppp0, but I found that ntpd is ... I checked the syslog and found that the PPPoE connection is establised ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • change the sequence of runlevel services
    ... I am using ntpd to synchronize my compter time, ... interface the ntpd should listen to is ppp0, but I found that ntpd is ... I checked the syslog and found that the PPPoE connection is establised ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • change the sequence of runlevel services
    ... I am using ntpd to synchronize my compter time, ... interface the ntpd should listen to is ppp0, but I found that ntpd is ... I checked the syslog and found that the PPPoE connection is establised ... I just want to make the establishment of PPPoE before the ntpd. ...
    (Debian-User)
  • Re: Local clock question with dialup connection
    ... The reason is that ntpd cannot determine the interface it needs to ... send to that adress. ... delay ntpd start until the network is fully configured ...
    (comp.protocols.time.ntp)