What does "/etc/localtime" point to?
If "/usr" is part of the root partition it should be a soft-link. If so, point
it to "/usr/share/zoneinfo/Etc/GMT+8"
If /usr is a separate partition then copy
"/usr/share/zoneinfo/Etc/GMT+8" over "/etc/localtime".
If you change "/etc/timezone" to point to the
@Eric,
"I see the bug on feisty with a fast local network and local dhcp
server."
Did you move "/etc/dhcp3/dhclient-enter-hooks.d/ntp" to "/etc/dhcp3
/dhclient-exit-hooks.d/ntp" ?
--
ntp is being brought up before network is ready, causing ntp to not resolve any
ip or host names and it appears
@feisty,
If your DHCP server isn't providing NTP servers then DHCP should have nothing
to do with NTP.
"/etc/rcS.d/S40networking" should have the NIC's up and configured long before
"/etc/rc[2345].d/S23ntp" tries to start NTP.
Does you modem do 'lazy connects'?
I'm wondering if the DNS queries
"No Servers" means that the DHCP server didn't pass on any NTP servers
and/or DHCP client doesn't care about them.
Check your lease (/var/lib/dhcp3/dhclient.eth0.leases), does it mention
"option ntp-servers ." ?
Check your dhclient configuration file, does it ask for NTP servers (by
default i
@feisty_hot_lover
I modified the ntp hook script to add some debugging (see attached).
With the hook script in "-enter-" it was clear from the logs that the
interface wasn't ready when NTP needed it.
Could you try this version of the hook script and post the log files
(/tmp/dhclient-script.*.deb
If you want to override the NTP servers provided by the DHCP server you could
use
prepend option ntp-servers ..
or
supersede option ntp-servers ..
in
/etc/dhcp3/dhclient.conf
This seems to be the Right Thing to do.
If you know enough to want to override settings supplied by the DHCP ser
I 'fixed' this by moving "/etc/dhcp3/dhclient-enter-hooks.d/ntp" to
"/etc/dhcp3/dhclient-exit-hooks.d/ntp".
Before the move a test PING of the new NTP servers failed with "ping: sendmsg:
Network is unreachable".
This makes sends because the -enter- hooks are run before the DHCP stage (in
this ca