View previous topic :: View next topic |
Author |
Message |
rhat n00b
Joined: 28 Oct 2003 Posts: 64 Location: Pittsburgh
|
Posted: Mon Feb 07, 2005 11:08 pm Post subject: NTP hates reboots |
|
|
Hi Everyone,
I'm having an odd error with NTP:
I'm running ntpd to sync off some time servers. It works just fine until I reboot my machine, at which point it switches to some sort of brain-dead default config file. Now, I *could* just copy the working config file over the retarded one and restart the service after every reboot, but I'm lazy.
Does anyone know how I can stop this default config file from taking over after each reboot?
I can post files if you need them,
-rhat _________________ You never really respect how well made computer hardware is, untill you find out that you've had a sunflower-seed jammed into the same bus as your video card for the last few months, and you didn't notice.
-rhat, true story |
|
Back to top |
|
|
nobspangle Veteran
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Mon Feb 07, 2005 11:19 pm Post subject: |
|
|
if you get your IP address from DHCP this will overwrite your ntp.conf you need to put -N in your dhcp options in conf.d/net |
|
Back to top |
|
|
rhat n00b
Joined: 28 Oct 2003 Posts: 64 Location: Pittsburgh
|
Posted: Tue Feb 08, 2005 2:57 pm Post subject: Fixed! |
|
|
Well that looks like it did the trick!
Just incase anyone needs this topic in the future:
just add a "-N" to the dhcpcd options line like so:
Code: | ...
dhcpcd_eth0="-N"
... |
I think it should work for other network cards as well.
Have fun,
--rhat _________________ You never really respect how well made computer hardware is, untill you find out that you've had a sunflower-seed jammed into the same bus as your video card for the last few months, and you didn't notice.
-rhat, true story |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|