Re: Time zone isn't displaying right one with 'tzsetup'
jdow wrote: From: Robert Gabaree [EMAIL PROTECTED] I tried to update my new server to the new time zone by running 'tzsetup' and selecting Eastern. However, instead of showing 11:45, it shows 6:45 - 5 hours later. I even tried to do a 'cp /usr/share/ zoneinfo/EST5EDT /etc/localtime but it didn't help. What can I do to fix it? What time does your BIOS say? And did you tell Linux which time zone the BIOS thinks it is in? There is a UTC=true or UTC=false line in /etc/sysconfig/clock you might investigate. Yeah, but this is *freebsd*-questions, so telling the OP how to fix a Linux box is not very coherent. You could well be exactly right on the diagnosis of the problem though: the CMOS clock on the motherboard can either be set to run UTC or it can be set to the local wall-clock time. The first (UTC) is preferred by Unix machines, the second by Windows. FreeBSD will cope with a CMOS clock set to run using the local wall clock time in order to play nice on multi-boot systems, but you have to tell the system it's operating in that mode. To change the setting, run /usr/sbin/tzsetup and when asked about the CMOS clock on the first screen, choose 'Yes' if your machine runs FreeBSD always or 'No' if you occasionally boot into Windows. Then choose your local timezone from the menus. If, after doing that, there is a zero length file /etc/wall_cmos_clock then you have set your system to use a CMOS clock set to wall clock time. See adjkerntz(1) for the full story. After running tzsetup, either restart ntpd to force your machine to step the clock a long way to sync with the server, or set the date/time manually as Greg described upthread. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Time zone isn't displaying right one with 'tzsetup'
Greg 'groggy' Lehey wrote: On Tuesday, 22 August 2006 at 23:45:19 -0400, Robert Gabaree wrote: Hi, I tried to update my new server to the new time zone by running 'tzsetup' and selecting Eastern. However, instead of showing 11:45, it shows 6:45 - 5 hours later. I even tried to do a 'cp /usr/share/ zoneinfo/EST5EDT /etc/localtime but it didn't help. What can I do to fix it? That depends on whether you're running ntpd or not. If you are, your best bet is to stop ntpd and run ntpdate, specifying the same server, then restart ntpd. If you're not running ntpd, just set the date: date 08232355 See the man page for the format. Greg Also, instead of copying EST5EDT to /etc/localtime you can use a symlink. That way when EST5EDT gets updated you will automatically use the new version. So, su cd /etc ln -s /usr/share/zoneinfo/EST5EDT localtime exit Obviously, substitute the appropriate zoneinfo file if you are not on US Eastern time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Time zone isn't displaying right one with 'tzsetup'
Hi, I tried to update my new server to the new time zone by running 'tzsetup' and selecting Eastern. However, instead of showing 11:45, it shows 6:45 - 5 hours later. I even tried to do a 'cp /usr/share/ zoneinfo/EST5EDT /etc/localtime but it didn't help. What can I do to fix it? Thanks, Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Time zone isn't displaying right one with 'tzsetup'
On Tuesday, 22 August 2006 at 23:45:19 -0400, Robert Gabaree wrote: Hi, I tried to update my new server to the new time zone by running 'tzsetup' and selecting Eastern. However, instead of showing 11:45, it shows 6:45 - 5 hours later. I even tried to do a 'cp /usr/share/ zoneinfo/EST5EDT /etc/localtime but it didn't help. What can I do to fix it? That depends on whether you're running ntpd or not. If you are, your best bet is to stop ntpd and run ntpdate, specifying the same server, then restart ntpd. If you're not running ntpd, just set the date: date 08232355 See the man page for the format. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpe5PUzHQALB.pgp Description: PGP signature
Re: Time zone isn't displaying right one with 'tzsetup'
From: Robert Gabaree [EMAIL PROTECTED] Hi, I tried to update my new server to the new time zone by running 'tzsetup' and selecting Eastern. However, instead of showing 11:45, it shows 6:45 - 5 hours later. I even tried to do a 'cp /usr/share/ zoneinfo/EST5EDT /etc/localtime but it didn't help. What can I do to fix it? What time does your BIOS say? And did you tell Linux which time zone the BIOS thinks it is in? There is a UTC=true or UTC=false line in /etc/sysconfig/clock you might investigate. {^_^} ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]