SNTP
I can't seem to get this to work from the CLI. Works fine from the web interface.
first of all here's the syntax:
And here's the list of zones:
Now here's my problem:
I issue the command:
then I
now try getting the current date:
Weird. Ok - I then configured via the web interface. That seems to work and "stick" (retrieved the xml config backup and it's there). But when I go back to the CLI I still get told that it's Jan 3 1970. That's not even the uptime (currently uptime is 02:17:15:23)
first of all here's the syntax:
sntp -s server [ -s server2 ] -t "timezone"
disable
date
zones
sntp --helpAnd here's the list of zones:
Timezones supported:
International Date Line West
Midway Island, Samoa
Hawaii
Alaska
Pacific Time, Tijuana
Arizona
Chihuahua, La Paz, Mazatlan
Mountain Time
Central America
Central Time
Guadalajara, Mexico City, Monterrey
Saskatchewan
Bogota, Lima, Quito
Eastern Time
Indiana
Atlantic Time
Caracas, La Paz
Santiago
Newfoundland
Brasilia
Buenos Aires, Georgetown
Greenland
Mid-Atlantic
Azores
Cape Verde Is.
Casablanca, Monrovia
Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London
Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
Belgrade, Bratislava, Budapest, Ljubljana, Prague
Brussels, Copenhagen, Madrid, Paris
Sarajevo, Skopje, Warsaw, Zagreb
West Central Africa
Athens, Istanbul, Minsk
Bucharest
Cairo
Harare, Pretoria
Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius
Jerusalem
Baghdad
Kuwait, Riyadh
Moscow, St. Petersburg, Volgograd
Nairobi
Tehran
Abu Dhabi, Muscat
Baku, Tbilisi, Yerevan
Kabul
Ekaterinburg
Islamabad, Karachi, Tashkent
Chennai, Kolkata, Mumbai, New Delhi
Kathmandu
Almaty, Novosibirsk
Astana, Dhaka
Sri Jayawardenepura
Rangoon
Bangkok, Hanoi, Jakarta
Krasnoyarsk
Beijing, Chongquing, Hong Kong, Urumqi
Irkutsk, Ulaan Bataar
Kuala Lumpur, Singapore
Perth
Taipei
Osaka, Sapporo, Tokyo
Seoul
Yakutsk
Adelaide
Darwin
Brisbane
Canberra, Melbourne, Sydney
Guam, Port Moresby
Hobart
Vladivostok
Magadan, Solomon Is., New Caledonia
Auckland, Wellington
Fiji, Kamchatka, Marshall Is.Now here's my problem:
I issue the command:
sntp -s msltime.irl.cri.nz -t "Auckland, Wellington"
And get the response:app: sntp -s msltime.irl.cri.nz -t "Auckland, Wellington" &
###NTP --the time we got=Fri Apr 14 12:42:05 2006then I
> savenow try getting the current date:
>sntp date
Sat Jan 3 17:12:52 1970Weird. Ok - I then configured via the web interface. That seems to work and "stick" (retrieved the xml config backup and it's there). But when I go back to the CLI I still get told that it's Jan 3 1970. That's not even the uptime (currently uptime is 02:17:15:23)


0 Comments:
Post a Comment
<< Home