-
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.
-
![Quote](images/misc/quote_icon.png)
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 OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2 picture](/store/img/g/SS0AAOSwCltlR6lv/s-l225/Dell-OptiPlex-3060-MICRO-DESKTOP-PC-COMPUTER-I5-8T.jpg)
Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2
$350.00
![HP EliteOne 800 G5 23.8](/store/img/g/eI4AAOSwjgJmZzip/s-l225/HP-EliteOne-800-G5-23-8-Touch-AIO-8-Core-i7-9700-3.jpg)
HP EliteOne 800 G5 23.8" Touch AIO 8-Core i7-9700 3.00GHz 512GB SSD 16GB RAM
$280.00
![Dell XPS 8930 Intel core I7-9700 3.0 GHz 8 GB ram 128 GB M.2 1 TB HDD/Win 10 picture](/store/img/g/OvsAAOSwyWVmcgC9/s-l225/Dell-XPS-8930-Intel-core-I7-9700-3-0-GHz-8-GB-ram-.jpg)
Dell XPS 8930 Intel core I7-9700 3.0 GHz 8 GB ram 128 GB M.2 1 TB HDD/Win 10
$269.99
![HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture](/store/img/g/rIQAAOSwN9Nlnw4a/s-l225/HP-Workstation-Z640-2x-Xeon-E5-2623V4-32GB-Ram-Dua.jpg)
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$161.24
![AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture](/store/img/g/3isAAOSw~lNmI3aE/s-l225/AMD-Ryzen-7-7800X3D-8-Core-16-Thread-4-2-GHz-5-0-G.jpg)
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$304.95
![AMD Ryzen 7 7700X Processor 4.5GHz 8-Core 16-Thread Socket AM5 Raphael SEALED... picture](/store/img/g/G-QAAOSwBvtmcVcu/s-l225/AMD-Ryzen-7-7700X-Processor-4-5GHz-8-Core-16-Threa.jpg)
AMD Ryzen 7 7700X Processor 4.5GHz 8-Core 16-Thread Socket AM5 Raphael SEALED...
$197.65
![Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor picture](/store/img/g/rfsAAOSwEFBma4Yr/s-l225/Intel-Xeon-E5-2667-V2-LGA-2011-3-3GHz-8-Core-130W-.jpg)
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$14.99
![SRF8Y Intel Xeon Gold 6242 Processor (22M Cache 16-core 2.80 GHz) FC-LGA14B picture](/store/img/g/CToAAOSw1OJmcGCC/s-l225/SRF8Y-Intel-Xeon-Gold-6242-Processor-22M-Cache-16-.jpg)
SRF8Y Intel Xeon Gold 6242 Processor (22M Cache 16-core 2.80 GHz) FC-LGA14B
$490.00
![Getac S410 G3 8th Gen Core i7 16GB RAM 1TB SSD Wifi Touchscreen Windows 11 picture](/store/img/g/jhYAAOSwZbhmcI4w/s-l225/Getac-S410-G3-8th-Gen-Core-i7-16GB-RAM-1TB-SSD-Wif.jpg)
Getac S410 G3 8th Gen Core i7 16GB RAM 1TB SSD Wifi Touchscreen Windows 11
$499.00
![Dell 14](/store/img/g/GbIAAOSw~uBmYagJ/s-l225/Dell-14-TOUCHSCREEN-IntelQuadCore-16GB-RAM-up-to-5.jpg)
Dell 14" TOUCHSCREEN IntelQuadCore 16GB RAM up to 512GB SSD Fingerprint BT Win11
$210.00