Bonjour.

I have a i386 router with 4.5 GENERIC and no packages.
There is no system battery.
I wish to use ntpd to set the system time from the ntp server provided
by my ISP.

I think I have my rc.conf.local correct:
ntpd_flags="-s"         # enabled during install

I think I have my ntpd.conf correct:
server ntp.internode.on.net
Every other line is commented.

I use this box as a gateway for my home network and IP works fine.
My pf.conf is very liberal. Apart from the default x11 filter this is my rule:
nat on pppoe0 from vr1:network to any -> pppoe0

During boot when ntpd starts it waits for maybe ten seconds and then
booting proceeds. The time reported at login is incorrect however -
off by more than an hour.
Daylight savings happened here last night which would account for an
hour with ntpd not working. However, being more than an hour it would
seem that ntpd has not been working for some time - there appears to
be an accumulation of minutes here and there from the odd reboot.
In other words, ntpd is not working and using a previous boot time
when the machine starts up.

I have done a couple of simple tests.
# ntpd -n
configuration OK
# rdate -p ntp.internode.on.net
Sun Oct  4 20:31:57 CST 2009

If I disable ntpd and use rdate instead (again in rc.conf.local) the
time is set correctly during boot.

Any ideas welcome.

Best wishes.
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to