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

Re: change the sequence of runlevel services



On 26/02/06, Deephay <difeiz@gmail.com> 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@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>



Reply to: