-
Time
I have just successfully installed 6.4.4 on my Dell Inspiron 1545 (6.4.3 would not install), but when I set the time, it is not "locked", so that I have to keep going in as root and resetting it and also the keyboard. Any ideas? Thanks a lot. Love this distro very much!
-
You will have to explain more 'cos I don't think anyone can visualise what you are talking about.
What is the difference between the behaviour you expect and the behaviour you observe ?
What is it you do to 'correct' this behaviour ? Command line ? GUI ?
Under what circumstances does the 'corrected' behaviour cease to be in force ? Reboot ?
Which edition of 6.4.4 are you using: CD/DVD, DE/EN, Knoppix/Adriane.
What is your installation ? LiveCD, LiveUSB or HD install ?
Are you using any cheat codes ?
What continent are you on / timezone are you in ? (as long as disclosing that information isn't going to get you arrested).
-
FWIW, I had to modify a script in my version 6.2.0 Knoppix to prevent deletion of my /etc/timezone and /etc/localtime files. See this thread for information on modifying the script /etc/init.d/knoppix-autostart - just comment out with a leading #-sign the line
Code:
rm -f /etc/localtime
If your version is similar, it should do the trick, I think. You can always try it and scrap the change if it doesn't work right.
Cheers!
Krishna ![Mr. Green](images/smilies/icon_mrgreen.gif)
p.s. One anomalous thing I've noticed about this - it takes ~30 seconds for the existing (non-deleted) /etc/localtime to "be recognized and acted on", and the system displays UTC up to that point. Weird, but not a problem, really.
-
Hi and thanks for the reply. I am using Knoppix hd install English. I have to use the konsole and do sudo and then time-admin to reset and also have to reset the keyboard to UK. Every time I log out or reboot I have to reset both. I am in UK. Thanks a lot.
-
I have just successfully installed 6.4.4 on my Dell Inspiron 1545 (6.4.3 would not install), but when I set the time, it is not "locked", so that I have to keep going in as root and resetting it and also the keyboard.
... I suppose you have done a HD-installation. To get propper time, change all the "tz=localtime" in the file '/boot/grub/menu.lst' to an entry for your region. For me, I've used "tz=Europe/Berlin".
Have a look at '/usr/share/zoneinfo' and select a combination, which will work for your region.
Perhaps, also changing all the entries "lang=us" will help you.
See
this thread for information on modifying the script
/etc/init.d/knoppix-autostart - just comment out with a leading #-sign the line
Code:
rm -f /etc/localtime
If your version is similar, it should do the trick, I think. You can always try it and scrap the change if it doesn't work right.
The suggestion from me in the mentioned thread is out-of-date.
Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
Own Rescue-CD with Knoppix (Knoppix V6.4.4 remaster)
-
... our postings overcrossed each other.
If you want keyboard for UK, then have a look to this thread: lang=uk
and also to localization
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
jacksbutler
I am in UK. Thanks a lot.
Hi Jack,
Knoppix has several cheat code that allow the user to specify what language and keyboard they are using and which timezone they are in. This is a Knoppix home-grown mechanism that sits atop to 'normal' mechanisms. It does the business for most people.
If that isn't adequate, you can drop the cheat codes and alter the files that the cheat codes cause Knoppix to alter to get just what you want.
I don't have a HD install so I haven't had the pleasure of fiddling with cheat codes with a HD install. After having some folks say "Yes" and other say "No", I am grateful to Werner for confirming that cheat codes are alive and well with the HD install: you just have to understand grub instead of syslinux.
Assuming your HD Knoppix is running, open a console and type in:
This shows you all the cheat codes used to boot your Knoppix. I expect among these you've got:
which sets things up for use on the East Coast of the US. Knoppix tries the set the 'country', 'language', 'keyboard' and 'timezone' from just the one cheat code. This works fine in Germany but not so well in elsewhere. For someone in the UK, such as yourself, the quick answer is to try:
but that does not work in Knoppix 6.4.4: by mistake this cheat code gives you a Ukranian X keyboard and lots of grief. The international language symbol uk means ukranian and the X windows system honours this but the Knoppix cheat codes are based on the much older convention used for console terminals (ctrl+alt+F1) that most people hardly ever use. BTW I think that lang=ie for Ireland had the same ukranian issue.
To set the keyboard and X keyboard to something other than that implied by the lang= cheat code use the following cheat codes:
Code:
keyboard=uk
xkeyboard=gb
or whatever you fancy. To set the time zone, as Werner suggests, use:
because Berlin in generally an hour ahead of London.
I don't know all the details of time zones but Knoppix doesn't use the normal Linux mechanism. I think this is so that Knoppix should display the correct local time regardless of whether local time or UTC is stored in CMOS. Windows systems store local time but Linux systems store UTC. Dual-boot systems have a small issue with this except in the countries like the UK where local time is UTC+0. The suggestion from Krishna I think is an attempt
to reinstate the normal Linux mechanism. If that works for you and you are happy with it ... then fine.
There is another snag with the time zones. I think. Since Knoppix 6.4.4 came out, the Debian project rearranged its repositories, renaming the volatile repository. This is the repository that contains the timezone information about when summer time starts and ends etc. I found the time displayed to my Knoppix in a virtual machine at work was an hour behind the time displayed by the Windows host and I suspect this is because the repository renaming snag.
If you find the cheat codes don't give you what you want all is not lost. These cheat code are interpreted by the famous script /etc/init.d/knoppix.autoconfig. This script generates no less than five other files containing definitions used by Knoppix, Linux, X Windows, KDE and other applications. You can alter cheat codes, knoppix.autoconfig or the five files or some confusing combination of the three.
The notes below assume your rationalisation is to leave the big scary knoppix.autoconfig alone, not use any cheat codes and alter the five files to suit. Here's approximately what I came up with:
Code:
$ cat /etc/timezone
Europe/London
Enough said.
Code:
$ cat /etc/sysconfig/keyboard
KEYTABLE="us"
XKEYBOARD="us,gb"
KDEKEYBOARD="us,gb"
KDEKEYBOARDS=""
I worked in Europe a lot with different keyboards. To stay sane I always set the keyboard to "us" and just don't look at the keys. The XKEYBOARD setting allows the keyboard layout to be switched at run time if necessary (when I let someone else use my Knoppix). The separate KDE settings I suspect are redundant but KK is sentimental.
Code:
$ cat/etc/sysconfig/il8n
LANG="en_GB"
COUNTRY="gb"
LANGUAGE="en_GB:en"
CHARSET="utf8"
XMODIFIERS=""
This is another Knoppix specific configuration file. I'm not happy with it. The first entry, LANG= is the Unix/Linux locale. I tried en_GB.UTF-8 to be like Debian and then en_US.UTF-8 but both seem to be invalid under Knoppix (6.4.4). I'm not convinced the CHARSET has much effect either. For the US and UK, Knoppix uses ISO8859-1, otherwise known a Latin-1 or International Western European. For Germany and other Euro countries (including Ireland), Knoppix uses ISO8859-15, which adds the € and shuffles some other interesting characters around.
If you ever need to change a Knoppix script that contains German help text in it, make sure you tell the editor you are using the script in question is in ISO8859-15.
There was some chap from Russia the other day complaining that Knoppix did not display the non-US (ASCII) characters in filenames on his Windows hard drive correctly. I suspect that is because CHARSET was not set to what he needed it to be set to.
I input characters that are not on a US keyboard using the X compose key mechanism. This does not work with the default local LANG=C, which is what you get if you use the EN edition as is.
Code:
$ cat /etc/environment
LANG="en_GB"
LANGUAGE="en_GB:en"
LC_MESSAGES="en_GB"
This is a Debian rather than a Knoppix configuration file. I think. The declarations I use hint that I want British English, if available. Actually, despite using the EN edition of Knoppix, I found the internationalisation packages, like spell checkers, are the German versions and I had to replace them all but that's another topic.
Code:
$ cat /etc/default/keyboard
XKBMODEL="pc105"
XKBLAYOUT="us,gb"
XKBVARIANT=""
XKDOPTIONS="terminate:ctrl_alt_bksp,grp:alt_caps_toggle,shift:breaks_caps,compose:menu"
This is an X Windows configuration file. I used to specify this keyboard stuff in /etc/X11/xorg.conf, another file Knoppix tends to rewrite for you. The first says I've a bog standard keyboard with 105 keys (as is the case throughout Europe I believe - in the US they tend to use pc104). The second allows me to toggle between keyboard layouts and the final line says, among other things, left-alt+caps key pair toggles between layouts.
Note the terminate:ctrl_alt_bksp is the Knoppix default and allows you to restart a (broken) X session with the ctrl+alt+bksp key triple. This is jolly useful as utu will confirm. It is no longer the X windows default: apparently the good folks that use the Big Brown distribution are so inept they type these three keys by mistake and claim this means their distribution isn't user friendly enough.
-
Hi and thanks very much for the great help, but none of it works! I changed the language to lang=uk etc but it was still us english and us keyboard layout. Do I do the changes as root in the console and if so what do I do to have the changes saved?
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
jacksbutler
Hi and thanks for the reply. I am using Knoppix hd install English. I have to use the konsole and do sudo and then time-admin to reset and also have to reset the keyboard to UK. Every time I log out or reboot I have to reset both. I am in UK. Thanks a lot.
When you say "Knoppix hd install", are you talking about using the program link of that name on the Preferences menu? That "install" produces a system that is chroot'd, and really not a very good general use system (it's for re-mastering to make your own version of Knoppix, mostly.) This install produces unpredictable results in ordinary use.
I recommend using the Flash install routine instead - it'll work with your HD, but it requires a FAT32 filesystem on partition 1, so you'll probably want to re-partition using the CD copy of GParted (again on the Preferences menu.) After booting it from this "install", you'll be prompted to create a "permanent store", which will allow operation as if it were a conventional Debian system installed to HD.
Cheers!
Krishna
-
That "install" produces a system that is chroot'd, and really not a very good general use system (it's for re-mastering to make your own version of Knoppix, mostly.)
... the HD-installation of Knoppix is an installation to HD like other OS (Debian, Ubuntu etc). The differences are among other things: no root password by default, no safety updates, only user knoppix.
You can chroot within this installation for remastering purpose, but is isn't chroot'd by default. Tell me, if I'm wrong.
Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
Own Rescue-CD with Knoppix (Knoppix V6.4.4 remaster)
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
![A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture](/store/img/g/RCAAAOSweqdeWaui/s-l225/A-Tech-8GB-DDR3-1600-PC3-12800-Laptop-SODIMM-204-P.jpg)
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
![HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture](/store/img/g/XNYAAOSwg81kv6CG/s-l225/HyperX-FURY-DDR3-8GB-16GB-32GB-1600-MHz-PC3-12800-.jpg)
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
![Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem picture](/store/img/g/qz4AAOSwSKJmIVcm/s-l225/Samsung-128GB-4x-32GB-M86B4G70DM0-CMA3-PC3-14900L-.jpg)
Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem
$39.99
![A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture](/store/img/g/HVQAAOSwZR1fWlxU/s-l225/A-Tech-8GB-PC3-12800-Desktop-DDR3-1600-MHz-Non-ECC.jpg)
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$13.99
![HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture](/store/img/g/AhQAAOSwWi1kv6Pb/s-l225/HyperX-FURY-RAM-DDR4-16GB-8GB-32GB-4GB-3200-2666-2.jpg)
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$9.64
![Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand picture](/store/img/g/GWYAAOSwPhhmK7BK/s-l225/Lot-of-2-32GB-DDR4-2666-PC4-21300-SODIMM-RAM-Modul.jpg)
Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand
$60.00
![Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM picture](/store/img/g/dqcAAOSwyR5fezZ5/s-l225/Samsung-16GB-2Rx4-PC4-2400-RDIMM-DDR4-19200-ECC-RE.jpg)
Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM
$20.99
![8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture](/store/img/g/tmAAAOSwxu1mDNSQ/s-l225/8GB-PC3L-12800S-1600MHz-SODIMM-DDR3-RAM-Grade-A.jpg)
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
![A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture](/store/img/g/FR0AAOSwDndkMEwi/s-l225/A-Tech-256GB-4x-64GB-4Rx4-PC4-19200-ECC-Load-Reduc.jpg)
A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM
$287.96
![A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture](/store/img/g/scUAAOSwFtVkMEwn/s-l225/A-Tech-128GB-2x-64GB-4Rx4-PC4-19200-ECC-Load-Reduc.jpg)
A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM
$143.98