-
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
Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black
$32.00
LOT OF 6 Grandstream GXP2135 8 Lines Bluetooth Enterprise VoIP Phone DRFF-7
$125.99
NEW - Lot of (3) Cisco CP-8851 IP Phone VoIP Phones
$169.99
MagicJack - HOME VoIP Telephone Adapter 12 Months of Service - Black New Sealed
$39.99
Polycom VVX 301 6-line Desktop VOIP IP Phone 2200-48300-019 *NEW*
$24.99
Cisco CP-7945G VOIP Phone With Stand & Handset Business IP Phone 7945
$3.00
Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked)
$16.99
Unlocked Cisco / Linksys SPA2102 VoIP 2FXS Phone Adapter with Router
$17.99
Cisco CP-8841 VoIP Phone - Black
$20.00
Polycom VVX 250 Business IP Phone with 2.8 in. Color Display & Ethernet, Black
$59.39