

Code: Select all
rc_use="dns"




Do you use Networkmanager?LegionOfHell wrote:here is the line from Gentoo Wiki:LegionOfHell wrote:rc_use="dns" is enabled ...
ntpd is both a server and a client too...correct ?
"The server is both a client, and server. If the setup can not access net early in init, use server only instead."
https://wiki.gentoo.org/wiki/Ntp#Server_2





Code: Select all
start() {
checkconfig || return $?
sleep 10
ebegin "Setting clock via the NTP client '${NTPCLIENT_CMD}'"
"${NTPCLIENT_CMD}" ${NTPCLIENT_OPTS}
eend $? "Failed to set clock"
if you are using /etc/conf.d/net.* (netifrc) instead of /etc/init.d/dhcpcd, you might want to edit /etc/dhcpcd.conf and enable "option ntp_servers"... then edit ntp.conf, comment out the server lines, leave the rest as-is. restart net.* and ntpd, and if all is well, you should see only one line in "ntpq -p".LegionOfHell wrote:How do I disable the server in ntpd and use only the client ?
banned from #gentoo since sept 2017Neddyseagoon wrote:The problem with leaving is that you can only do it once and it reduces your influence.