Driving me nuts #1


Forum: Other Help Topics
Topic: Driving me nuts #1
started by: lagerratrobe

Posted by lagerratrobe on Feb. 02 2006,22:14
Alright, before you tell me to RTFM, I did read the previous posts I could find in the forum, and I've read the man pages for date and hwclock. I've tried a few things, but to no avail, I still have a timezone mismatch on my laptop.

It is currently 2:00pm PST, but the test msg I just sent myself from Sylpheed says it was sent at 11:00am.  The date and time in the dsl panel is correct, and the date and time in Xshell are correct, but the timezone is set to EST.  I know how to reset the time using the "date" command, but evidently not how to set the correct timezone.

I have tried removing the /etc/localtime file and replacing it with a symbolic link to /usr/share/zoneinfo/Pacific, but the link is gone when I reboot, and doesn't seem to jelp while its in place.

Can somone help?

Thanks.

Posted by roberts on Feb. 02 2006,23:47
< DSL Wiki Timezones >
Posted by lagerratrobe on Feb. 03 2006,04:22
Thanks Robert,

Adding the "dsl TZ=US/Pacific" to the boot line did the trick.

I didn't think to look in the WIKI, I'll go peruse that in a bit.

Posted by cbagger01 on Feb. 03 2006,05:23
RTFM



Just kidding :laugh:

Welcome to the revolution!

Posted by lagerratrobe on Feb. 03 2006,23:21
<grin>  I totally deserve that.  Also, I have to update my last posting and say that the time only stayed put until my next reboot.  Afterwards my timezone was correct, but I was still getting an offest calculated in my system date.  Since my hardware clock was coorect, I ended up adding
Code Sample
hwclock --systohc
to my /opt/bootlocal.sh file.  Works like a charm, even though in my eyes it isn't the most elegant solution in the world.

Posted by jtm on Feb. 15 2006,15:59
Hi Guys,

I have the same problems with my timezone. I tried the things mentioned here and in the Wiki but it doesn't work.

It seems to me that the parameters at the bootline aren't processed. I have added the following things to my bootline
ssh tz Europe/Amsterdam

In /etc/lilo.conf and run lilo. I am running a harddisk installation. After the reboot the timezone is still EST and no ssh is running. In /proc/cmdline is see the added parameters.

Any ideas about what is going on?

Posted by lagerratrobe on Feb. 15 2006,18:09
I just checked and the format of my tz setting in /boot/grub/menu.lst is a little different.
Code Sample
tz=US/Pacific utc

You might try adding the "=" to se if at least the zone setting gets saved.

I had the same problem with SSH not starting when set by the boot line parameter.  What I eneded up doing is this:
1- start ssh server once using the dsl panel, this will create a couple files that are needed by sshd
2 - add the following line to your /opt/bootlocal.sh file to start ssh at boot time
Code Sample
/usr/sbin/sshd


Reboot and check, sshd should be running.

Posted by jtm on Feb. 16 2006,09:20
Thanks! That works for me also.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.