LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-01-2004, 05:20 PM   #1
Jelle
Member
 
Registered: Feb 2004
Location: Utrecht, The Netherlands
Distribution: Debian
Posts: 79

Rep: Reputation: 15
setting the correct time & timezone from kde?


hi there,

For a while now, I have been running a hd install from knoppix 3.4.
sometimes I change back to my old redhat patition. The problem I am seeing is that with every reboot my time or timezone has been set incorrectly. if I right-click on the clock in kde i can set it correctly, but after a reboot it goes wrong again displaying the wrong time and or timezone..
Is this a bug in this knoppix version or is ther some way I can set it correctly? I am using dialup atm, so using ntpd is not a workable solution i think.

TIA,

Jelle
 
Old 07-01-2004, 06:46 PM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
under linux the clock of your motherboard is usually set to GMT or unviersal time. anyway, most people set there time to their local time.
debian check for an file /etc/defaults/rcS to see how the mainclock is set and change the time to the correct value with the files /etc/init.d/hwclock*.
i assume there is your problem.
if ms is running on this machine too and you set the maintime to UTC (=GMT) the clock will go wrong since ms only knows about one timeformat (local time).
as you boot from a readonly medium i don't see an easy way to set your time correctly everytime you startup knoppix.

sl mritch
 
Old 07-02-2004, 04:02 AM   #3
Jelle
Member
 
Registered: Feb 2004
Location: Utrecht, The Netherlands
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
Thank you for your answer,.... but:

No M$ on this machine. I haven't had Windblows running in my household for over 4 years.
I run a HD install of knoppix, which is essentially debian with some quircks from knoppix left over.
I will have a look in hwclock. I suppose it goes wrong because takes the wrong timezone, or at least that is what i see in the kde clock.
 
Old 07-02-2004, 04:18 AM   #4
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
is there any difference between the clock in your bios and in the booted system? if yes, then there is a prog that adjusts the time with the false offset. the debian way doin' this is via the above mentioned scripts - so i think knoppix won't differ there. see if /etc/default/rcS is on your sys. there is a parameter to adjust or else edit /etc/init.d/hwclock.sh

sl mritch.
 
Old 07-02-2004, 06:12 PM   #5
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
Try on the terminal as root:

tzconfig

answer the questions about your continent, country, etc, it's self-explanatory, this is the way is done in Debian, don't know about knoppix.
 
Old 07-03-2004, 09:20 AM   #6
Jelle
Member
 
Registered: Feb 2004
Location: Utrecht, The Netherlands
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
Thanx,
I tried that, but to no avail:
Code:
sudo tzconfig
Your current time zone is set to Europe/Amsterdam
Do you want to change that? [n]:
Your time zone will not be changed
[apache-ssl]# date
Sat Jul  3 09:38:15 EDT 2004
i had just rebooted this machine and not touched the tz/clock yet.
I am baffled why it thinks i want a timezone in some banana-republic?

@macondo:
If knoppix is not debian, how do I make it into debian?
I assumed that a hd install from knoppix would just turn into a fancy configured debian system, but I suppose that is not true?
 
Old 07-03-2004, 09:56 AM   #7
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
message deleted and reposted, my mistake.

macondo

Last edited by macondo; 07-03-2004 at 10:15 AM.
 
Old 07-03-2004, 10:03 AM   #8
Jelle
Member
 
Registered: Feb 2004
Location: Utrecht, The Netherlands
Distribution: Debian
Posts: 79

Original Poster
Rep: Reputation: 15
are you sure about that?
Anyway, I am not (read: NOT) installing another distro just yet. I guessed that some magic with apt-get would get me far, after all upgrades from one version to the next are handled with apt-get with no problem. why should this be a problem with knoppix.

Or do you have a grudge against knoppix for some reason?
 
Old 07-03-2004, 10:08 AM   #9
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
"i had just rebooted this machine and not touched the tz/clock yet.
I am baffled why it thinks i want a timezone in some banana-republic?"

must be a bug.

Careful, some of us come from those 'banana republics'

@macondo:
"If knoppix is not debian, how do I make it into debian?"

AFAIK, you can't, knoppix is a one time shot with the latest from different repositories (woody, sarge, sid, experimental, marillat, etc) different dependencies, that's why every 2-3 mos you get a new version.

What you are looking for is KANOTIX (check distrowatch.com) it IS Debian Sid with KDE, and you can upgrade, etc.

http://kanotix.com/info/index.php

check their documentation and forums (english and german)

"I assumed that a hd install from knoppix would just turn into a fancy configured debian system, but I suppose that is not true?"

Not true.

Also check:
www.libranet.com

they just made version 2.8.1 a FREE download, excellent.

Last edited by macondo; 07-03-2004 at 10:11 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System time won't accept new timezone mustangfanatic01 Slackware 4 11-22-2005 07:34 PM
Both KDE & Gnome crashes all the time :( zoobooboozoo Mandriva 10 10-05-2005 08:54 AM
Time & Date setting not sticking nathanv117 Linux - Newbie 3 04-10-2005 09:05 PM
[SOLVED] kde clock's local timezone is wrong arobinson74 Linux - Software 4 12-01-2004 09:54 AM
KDE timezone JCdude2525 Linux - Software 1 08-14-2004 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration