2005-08-19-1658Z


The webcam image timestamp was again off by one hour on the Columbus Village Library server that I'd set up with the webcam in the back of the room. I'd had it right earlier, but it must have rebooted; we have fairly frequent powerouts in the rainy season here. Since it was headless, and we don't have a "crash cart" to use, I tried to fix the problem from the command line; remember I had set up Cygwin's sshd as a system service.

So, I ssh'd in and found the time zone setting was PDT. That explained it; the time was right but the zone was wrong. Tried tzselect. Nope. Not in Cygwin, I guess. So I googled and found http://www.windowsitpro.com/Article/ArticleID/14966/14966.html. Armed with that information, I could:

server@patron1 ~
$ regtool set '/machine/system/currentcontrolset/control/timezoneinformation/daylightname' 'Mountain Daylight Time'

server@patron1 ~
$ regtool set '/machine/system/currentcontrolset/control/timezoneinformation/standardname' 'Mountain Standard Time'

server@patron1 ~
$ regtool set '/machine/system/currentcontrolset/control/timezoneinformation/bias' 420

server@patron1 ~
$ reboot now

Actually I tried without setting the bias, hoping Bill would see the name had changed and set the bias accordingly. Nope. So that's when I went back in and set the bias. After the second reboot, the timestamp was correct! Hoo hah!

Back to blog or home page

last updated 2013-01-10 20:41:11. served from tektonic.jcomeau.com