-
saving time zone?
I find that the time zone I set will not survive a reboot. I set the correct system time and time zone by typing 'sudo time-admin' in the lxterm. Then I type 'sudo hwclock -w' which I thought would save the settings after rebooting. However after booting I always have to reset the correct timezone again. This is necessary because I use Tor and it requires the correct time and timezone to work properly.
Any advice so I don't have to keep resetting?
-
... if you are using Knoppix 6.2 there is a mistake in /etc/init.d/knoppix-autostart. Have a look at
http://www.wp-schulz.de/knoppix/uhrzeit.html
for more information (in german language written).
Greetings
Werner
-
I am using 6.3 which I got from a magazine. Unfortunately I don't understand German.
-
# part of /etc/init.d/knoppix-autostart:
#
# Set timezone
KTZ="$(getbootparam tz)"
[ -n "$KTZ" ] || KTZ="$(getbootparam timezone)"
[ -n "$KTZ" -a "$KTZ" != "auto" ] && TZ="$KTZ"
if [ -n "$TZ" ]; then
echo "$TZ" > /etc/timezone
# this will remove /etc/localtime
rm -f /etc/localtime
# /usr/share/zoneinfo/localtime is a symlink to /etc/localtime
# but /etc/localtime doesn't exist any more.
# Therefore the second part of the if-loop will not work
[ -r /usr/share/zoneinfo/"$TZ" ] \
&& { cp -f /usr/share/zoneinfo/"$TZ" /etc/localtime; }
fi
If this mistake is also in Knoppix 6.3 you must uncomment the lines of the if-loop
Greetings
Werner
-
Set Time Knoppix hd install
I have been fighting this for a week. Just found a solution: from root: 1)dpkg-reconfigure tzdata 2)date MMDDHHmmCCYY 3)hwclock --localtime 4)hwclock --systohc It survived a reboot. Take care.
-
Originally Posted by
BoDiddley
I have been fighting this for a week. Just found a solution: from root: 1)dpkg-reconfigure tzdata 2)date MMDDHHmmCCYY 3)hwclock --localtime 4)hwclock --systohc It survived a reboot. Take care.
I did as you suggested but when I reboot my hardware clock is set to UTC time.
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
Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11
$119.49
Windows 11 Home Mini PC Intel N4100 Quad Core 2.7GHz 8GB RAM DDR4 256GB SSD
$89.59
HP PRODESK 600 G5 | INTEL CORE I5-9500T 2.20GHZ | 256GB | 8GB | NO OS
$119.99
Dell 14" TOUCHSCREN Laptop 8th Gen Core i5 16GB RAM 512GB SSD/256 Bluetooth W11
$235.00
Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5...
$274.99
Intel - Core i5-13500 13th Gen 14 cores 6 P-cores + 8 E-cores, 24MB Cache, 2....
$199.99
Dell Precision 3431 SFF Desktop 8-Core i9-9900 3.10GHz 16GB 512GB SSD Win 11 Pro
$284.99
HP Essential Laptop Computer 15.6" HD Intel Core i7 8 GB memory; 128 GB SSD
$599.99
Gaming PC Gigabyte MB AMD Radeon RX6600 Ryzen 7 5800X 32GB RAM 500GB SSD Win10P
$549.99
Dell OptiPlex 7040 Intel core I7-6700 3.4 GHz 8 GB ram No HDD/No OS
$59.99