-
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
![Vintage Mouse Systems Corp 3-Button Mouse 9 Pin - Tested, Working (AA3) picture](/store/img/g/2fQAAOSwNIVmcd9M/s-l225/Vintage-Mouse-Systems-Corp-3-Button-Mouse-9-Pin-Te.jpg)
Vintage Mouse Systems Corp 3-Button Mouse 9 Pin - Tested, Working (AA3)
$19.99
![Vintage Apple Macintosh SCSI Terminator 590-0695-A TESTED WORKING picture](/store/img/g/~EYAAOSw745mchtt/s-l225/Vintage-Apple-Macintosh-SCSI-Terminator-590-0695-A.jpg)
Vintage Apple Macintosh SCSI Terminator 590-0695-A TESTED WORKING
$10.00
![BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model picture](/store/img/g/GXUAAOSwWZRmPnHK/s-l225/BlueSCSI-V2-WiFi-Desktop-Modern-Storage-for-Vintag.jpg)
BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model
$53.50
![Vintage Classic Apple Macintosh System Boot Install Disk Floppy/CD *Pick Version picture](/store/img/g/dBIAAOSwytZgHibX/s-l225/Vintage-Classic-Apple-Macintosh-System-Boot-Instal.jpg)
Vintage Classic Apple Macintosh System Boot Install Disk Floppy/CD *Pick Version
$10.39
![USI Smoke & Fire Wired Alarm W/ Battery Backup USI-1204 Vintage picture](/store/img/g/F~4AAOSwCANmcLv1/s-l225/USI-Smoke-Fire-Wired-Alarm-W-Battery-Backup-USI-12.jpg)
USI Smoke & Fire Wired Alarm W/ Battery Backup USI-1204 Vintage
$18.95
![Vintage Microsoft Trackball Optical Mouse Rare D67-00001 picture](/store/img/g/RxYAAOSwMQVmcj3N/s-l225/Vintage-Microsoft-Trackball-Optical-Mouse-Rare-D67.jpg)
Vintage Microsoft Trackball Optical Mouse Rare D67-00001
$69.99
![SONY Computer BOARD PC For Parts Vintage picture](/store/img/g/jxEAAOSwA2VmclO3/s-l225/SONY-Computer-BOARD-PC-For-Parts-Vintage.jpg)
SONY Computer BOARD PC For Parts Vintage
$19.99
![Vintage Apple Mac Router; Model A1143; Airport Extreme Base Station picture](/store/img/g/60UAAOSwdWxmcKTy/s-l225/Vintage-Apple-Mac-Router-Model-A1143-Airport-Extre.jpg)
Vintage Apple Mac Router; Model A1143; Airport Extreme Base Station
$10.00
![Vintage Intel Universal Prom Programmer UPP-101 picture](/store/img/g/VuYAAOSwHtpmBY9A/s-l225/Vintage-Intel-Universal-Prom-Programmer-UPP-101.jpg)
Vintage Intel Universal Prom Programmer UPP-101
$1999.00
![Epson MBM-2095-E Vintage Monochrome Monitor (Does not Turn On) picture](/store/img/g/RWQAAOSwCFNlt-Ff/s-l225/Epson-MBM-2095-E-Vintage-Monochrome-Monitor-Does-n.jpg)
Epson MBM-2095-E Vintage Monochrome Monitor (Does not Turn On)
$120.99