-
Knoppix 6.2 Hard Drive install – Setting your desktop cloc
By default my hd install of Knoppix 6.2 always sets the system clock to the wrong time (for NZ) and the time zone setting defaults to <America/NewYork>.
you can change Knoppix to your time-zone with the following command run as root
<dpkg-reconfigure tzdata>
and then choosing from the lists that come up, first your general area, e.g. <Pacific> and then appropriate city e.g. <Auckland> BUT this will be lost and reset to <America/NewYork> each time you re-boot [at least mine was]
Once you're in your correct time-zone you can then set the correct system clock time by running the command:
<date 120310422009> [that's for 10:42 on 3rd December 2009]
but again it will all be lost when you reboot and all needs to be done over again – and you need to have an accurate clock available to reset it from
SO
Is there a long term solution?
For the Time Zone problem - Find your time-zone [in the right format] from /usr/share/zoneinfo/####/#### - in my case <Pacific/Auckland> and then go to your editor [as root] and open /etc/init.d/knoppix-autoconfig and change line 357 from <KTZ="$(getbootparam tz)"> to <KTZ='Pacific/Auckland'> or whatever your own zone is. This will get you into the right time-zone each time you boot but will still not get the correct system time
For the correct time problem - I've installed the small debian package ntpdate - add your closest <####.pool.ntp.org> ntp servers to the appropriate lines of /etc/default/ntpdate – and that's it – if you're automatically connected to the net when you boot up then ntpdate will run at boot and set your system clock to the correct time and if not when you do connect to the net it will run soon after and correct the time you see in the bottom right hand corner of the screen. If all else fails you can run the command [as root]
<ntpdate nz.pool.ntp.org> [changing <nz> to whatever your nearest area pool server is] or I suppose you could write a simple script to run this command at boot time.
Has anyone found a simpler or more elegant solutions to this problem with Knoppix 6.2 as a hard drive install? I never had this problem with Knoppix 6.01 as a hard drive install.
It's a great distro but it's good to have the right time too.
Best wishes, John
PS - 02 Mar 2010 - If you have the dvd version as hard drive install you can go (as root in a terminal) to <time-admin> and change what you need to there - much more easily.
Similar Threads
-
By Kirk-out in forum Hardware & Booting
Replies: 2
Last Post: 08-06-2008, 07:25 PM
-
By Crimpshrine in forum MS Windows & New to Linux
Replies: 13
Last Post: 08-23-2006, 12:28 PM
-
By slvrldy17 in forum MS Windows & New to Linux
Replies: 2
Last Post: 02-23-2006, 04:06 AM
-
By maxmartin in forum Customising & Remastering
Replies: 4
Last Post: 02-19-2006, 06:09 PM
-
By Lion in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 05-13-2005, 10:45 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD
$399.99
IBM SYSTEM x3200 M2 Server - HDD wiped, No OS
$75.00
IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server
$209.98
ibm server z series
$16000.00
IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES
$27.25
IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W
$199.00
IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server
$319.99
IBM Server eServer | IBMR1000 | UPS 1000VA 700W W/New Batteries
$115.00
IBM System X3650 Server M2 2 x Xeon X5570 2.93 Ghz w/128 GB/DVDRW
$169.99
IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED
$99.99