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?
ComputerName ~ $ sudo ntpdate timeserver.something.com
Password:
2 Mar 12:02:13 ntpdate[8910]: the NTP socket is in use, exiting
ComputerName ~ $
so then i kill running process "ntpd"
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 01:21 PM..
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
There are of course lots of things you can specify in that file, but the string above should work if it's a valid time server.
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 06:25 PM..
I have a client with a meshed Cisco backbone.
6500's on top, Nexus 7000 in the middle and 4500's in bottom.
Solaris 10 servers connected to the 4500's backing up to a RedHat Linux backup server connected to the Nexus 7000's. The traffic is routed from 4500 --> Nexus 7000 --> 6500 --> Nexus 7000... (3 Replies)
I'm having a bit of a trouble trying to figure out how to tell which network protocol users HAVE been logging in with. I know how to find this information for currently logged in users :
maximillian.gardner@syccuxfs01:~> who
joseph.blosser pts/0 2012-01-15 14:07 (198.107.160.185)... (5 Replies)
Hi guys,
i want to know about network protocol testing.
1. What is network protocol testing?
2. Whats the role of network protocol tester?
3. Is there good future scope in network protocol testing field?
4. Just give me a example of protocol testing.
5. How it relates to perl or unix?
Thanks... (0 Replies)
I have a small program written in C using winsock v1, that uses a unix host to get the time.
I have two machines networked, one windows, the other red hat 9.
The windows machine will request the time off the RH one.
How can I configure red hat to reply to the time request, i.e act as an... (1 Reply)