On Tuesday 30 March 2010 21:40:59 Murali K. Vemuri wrote: > Hi, > I am using busybox 1.16.1. > > I use ntp to configure the real-time on my box. > > I found that a query like "ntpd -p kr.pool.ntp.org" sets the system time > to UTC. > > But I want my NTP client to set the time automatically set to GMT +9. > How do I do this?
NTP only does UTC: http://news.ntppool.org/2009/03/happy-daylight-saving-time.html The protocol doesn't mess with time zones, setting them is a separate problem. That's GEOIP databases, ala: http://www.hostip.info/ http://www.geoiptool.com/ http://xkcd.com/713/ The ntp protocol has no idea where in the world your machine lives, you have to set the time zone yourself. Either hardwire it in the device or determine it from your IP address when connecting out to the internet. Rob -- Latency is more important than throughput. It's that simple. - Linus Torvalds _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
