View previous topic :: View next topic |
Author |
Message |
haydongentoo n00b

Joined: 17 Jan 2003 Posts: 23
|
Posted: Wed Sep 04, 2013 3:47 pm Post subject: Solved: NTPD vs DHCPCD: dhcpcd always edits ntp.conf |
|
|
I can't seem to stop dhcpcd from editing ntp.conf. My dhcp server is set to hand out an NTP server address however I don't want it on this particular host. (It happens to be the NTP server itself!) I get the following lines added:
Code: | # Generated by dhcpcd from eth0
server 192.168.1.9
# End of dhcpcd from eth0 |
In dhcpcd.conf I've commented:
Code: | #option ntp_servers |
and added:
From reading I thought that nohook would do it but... Doesn't appear to be doing what I want. This is with:
dhcpcd-5.6.4
ntp-4.2.6_p5-r3
I assume I missed something. Can anyone point me in the right direction?
Last edited by haydongentoo on Thu Sep 05, 2013 3:01 am; edited 1 time in total |
|
Back to top |
|
 |
DONAHUE Watchman


Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
|
Back to top |
|
 |
haydongentoo n00b

Joined: 17 Jan 2003 Posts: 23
|
Posted: Thu Sep 05, 2013 3:00 am Post subject: |
|
|
Yup, that looks like it does it. Thank you!
Fun thing about Gentoo is that they keep adding things... :)
Edited /etc/conf.d/net and added:
Code: | dhcpcd_eth0="nontp" |
|
|
Back to top |
|
 |
|