![]() |
|
|
|
|
|||||||
| OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| change network adapter | ariec | AIX | 1 | 06-04-2008 12:03 PM |
| HTTP Time Protocol 1.0.1 (KIS branch) | iBot | Software Releases - RSS News | 0 | 04-28-2008 01:40 PM |
| Change speed on network card | hshapiro | SUN Solaris | 7 | 03-13-2008 04:57 AM |
| How To Provide Time Sync Using Nts-150 Time Server On Unix Network? | pesty | UNIX for Advanced & Expert Users | 2 | 03-21-2007 10:20 PM |
| RH 9 and Network Time Protocol | jaredGalen | IP Networking | 1 | 12-08-2003 07:08 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
change network time protocol
by default, a mac syncs its time and date with time.apple.com (located system prefs->Date&Time). Is there a way in unix to change it to another address?
my attempts to use ntpdate and ntpd have failed. |
| Forum Sponsor | ||
|
|
|
|||
|
this is what i get
Code:
ComputerName ~ $ sudo ntpdate timeserver.something.com Password: 2 Mar 12:02:13 ntpdate[8910]: the NTP socket is in use, exiting ComputerName ~ $ Code:
[Computer Name] ~ $ sudo kill 167 Password: [Computer Name] ~ $ sudo ntpdate timeserver.somthing.com 2 Mar 12:17:52 ntpdate[9018]: no server suitable for synchronization found [Computer Name] ~ $ sudo ntpdate time.apple.com 2 Mar 12:17:32 ntpdate[9010]: no server suitable for synchronization found Last edited by CBarraford; 03-02-2007 at 09:21 AM. |
|
|||
|
Have you tried editing (or creating) an /etc/ntp.conf file?
contents of that file should look something like this: Code:
server time.someserver.com minpoll 12 maxpoll 17 For more info, Google ntp.conf Also, ntpdate sets the date under two conditions. Greater than 5 seconds, or less than 5 seconds. What it does in either case is spelled out in the man page for ntpdate. The man page also seems to imply you can specify a time server on the command line as an option only if ntpdate can find a reference to "a" time server that ntpd uses in netinfo. Seems sorta silly... Anyway, use the ntp.conf file and ntpd for most time syncing. It works pretty well. Last edited by [MA]Flying_Meat; 03-05-2007 at 02:25 PM. |
| Thread Tools | |
| Display Modes | |
|
|