>I think that the one you want is:
>ntpdate -b
>
>That will force the system clock to reset even if it is off by more
>than the maximum allowed step. It is normally used at boot time when
>you want the time to be set correctly immediately since the existing
>state of the clock is unknown.

# killall ntpd
No matching processes were found

# date
Fri Sep 20 13:15:32 CDT 2002     (always 30 minutes behind wall clock)

# ll /etc/localtime
lrwxr-xr-x  1 root  wheel  35 Sep 20 13:17 /etc/localtime -> 
/usr/share/zoneinfo/America/Chicago

# date 1346
Fri Sep 20 13:46:00 CDT 2002

# ntpdate -b time.nist.gov
20 Sep 13:16:44 ntpdate[91924]: step time server 192.43.244.18 offset 
1780.295789 sec

thanks anyway....

Len



____________________________________________________________________
www.menandmice.com/DNS-training : DNS Training
BIND8NT.MEIway.com: Secure config ; DNS and mail interactions
IMGate.MEIway.com : Free, proven config for anti-mail-abuse gateways


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to