-
Senior Member
registered user
time zone woes
oh I can't believe I am having so much trouble here. Got cable, so thought it would be nice to add a time syncing. Installed ntp-simple. Then the trouble began. Not only won't it work (command ntpdate says no servers can be used, yes there are permissions for time and ntp in iptable and I am trying as root) but my local time zone is now utc. Nothing will budge that. Where is local time zone "set"?????????? I can change the time zone it "shows" in tray but that is not the local time zone according to this system now, local is utc. Should be eastern us (EDT right now).
I had quit smoking. I am going out to buy a pack now.
-
Senior Member
registered user
Re: time zone woes
![Quote](images/misc/quote_icon.png)
Originally Posted by
nishtya
oh I can't believe I am having so much trouble here. Got cable, so thought it would be nice to add a time syncing. Installed ntp-simple. Then the trouble began. Not only won't it work (command ntpdate says no servers can be used, yes there are permissions for time and ntp in iptable and I am trying as root) but my local time zone is now utc. Nothing will budge that. Where is local time zone "set"?????????? I can change the time zone it "shows" in tray but that is not the local time zone according to this system now, local is utc. Should be eastern us (EDT right now).
I had quit smoking. I am going out to buy a pack now.
![Evil or Very Mad](images/smilies/icon_evil.gif)
You will be prompted for root password, so if you haven't set one yet set it now.
Then right click on the time display, select 'adjust date & time' , enter root password, set your timezone from the dropdown select, readjust your time because it will advance/retard according to the time zone change, 'apply' changes & OK to exit. Then rt click on the time display again & set 'show timezone' to local. Then logout 'end session only' to restart x & it should be done. It should log back in automatically.
Se also this post:
http://www.knoppix.net/forum/viewtopic.php?t=12689
-
Senior Member
registered user
-
Senior Member
registered user
also fwiw, the timezone file in /etc does state America/New_York. I don't know what/where is overriding it
-
Senior Member
registered user
once again, poor form to respond to myself but as usual, for the next poor slob:
I looked at the changelog for deb's timezoneconf, noted there about how they : * debian/postinst: Create a symlink from /etc/localtime to
/usr/share/zoneinfo/, instead of copying the latter to
the former. (Closes: #131837)
way back in 2002
hmmmm
noted I didn't have the file /etc/localtime although my zoneinfo was pointing to it. I did a search on the partition with my BH4 install. BINGO, I had a localtime, copied it to this install. Reboot. Hooray, I am back in the USA.
What the heck happened? How did the installation of ntp-simple (get the "simple" part) cause my localtime to go POOF?
I will update my time manually. No problem. (not smoking yet but linux will be the death of me)
Nish
-
FYI: NTP is probably overkill for most users. It's much easier to use "rdate" which is already in Knoppix. Choose a Stratum 2 server nearest you from the list at: http://www.eecis.udel.edu/~mills/ntp/servers.html
(see the link at the bottom of the page), check that you can get an answer from it:
Code:
rdate -p strat2.server.name
and then put this command in knoppix.sh:
Code:
rdate strat2.server.name
or perhaps you can put this:
Code:
sudo rdate strat2.server.name
in .profile (I haven't tried this).
Best Wishes
Pete
-
Senior Member
registered user
hmmm thanks, Pete. If it is in knoppix it is probably in here. Will give it a try if ntp gives me any more grief.
Actually turned out to be a bug. Kano has a script for it - I love those scripts but really wish there was some descriptions or a faq on when to use or NOT to use them. I generally peak in there to see what they are going to do. And to be on the safe side I made a backup of that localtime file.
-
I'm glad you got your problem worked out but I would like to hear more about what you're smoking?
Gimme' some. I need it.
-
rdate does not work for me, i get "command not found" even if i sudo and even after running apt-get install (which just tells me i have the newest version)
any ideas what i am doing wrong?
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
jMon54
rdate does not work for me, i get "command not found" even if i sudo and even after running apt-get install (which just tells me i have the newest version)
any ideas what i am doing wrong?
any output from man rdate? I can't check, don't have rdate on my kanotix bh9a. Use find, search /etc and /usr (probably /usr/bin or /usr/sbin ) for the executable then issue the command using the full path. might be in /etc/init.d since time sycning is probably a startup thing.
all this is just guessing!
Similar Threads
-
By pearman in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 07-21-2005, 10:40 AM
-
By ccaaee in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 03-17-2005, 05:28 PM
-
By tempo in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 09-25-2004, 09:23 PM
-
By jjjrrr3 in forum General Support
Replies: 2
Last Post: 05-12-2004, 06:29 AM
-
By lothario in forum Networking
Replies: 0
Last Post: 03-15-2004, 03:02 AM
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
![512K Axlon-compatible memory upgrade for Atari 800 computer picture](/store/img/g/WeQAAOSw1YNmiAGa/s-l225/512K-Axlon-compatible-memory-upgrade-for-Atari-800.jpg)
512K Axlon-compatible memory upgrade for Atari 800 computer
$30.00
![Vintage Atari 800XL Computer | Works | USB PSU picture](/store/img/g/wXEAAOSw3GVmiTde/s-l225/Vintage-Atari-800XL-Computer-Works-USB-PSU.jpg)
Vintage Atari 800XL Computer | Works | USB PSU
$200.00
![Atari Power Cube 800XL, 600XL, 65XE, 130XE USB-C Power Supply PSU picture](/store/img/g/YVgAAOSwe-pmGvcM/s-l225/Atari-Power-Cube-800XL-600XL-65XE-130XE-USB-C-Powe.jpg)
Atari Power Cube 800XL, 600XL, 65XE, 130XE USB-C Power Supply PSU
$11.25
![BASIC XL Cartridge 1984 OSS Tool Atari 8-bit 400/800/XL/XE Computer Works 1.02 picture](/store/img/g/mZUAAOSwcMVmhfa4/s-l225/BASIC-XL-Cartridge-1984-OSS-Tool-Atari-8-bit-400-8.jpg)
BASIC XL Cartridge 1984 OSS Tool Atari 8-bit 400/800/XL/XE Computer Works 1.02
$40.00
![Atari SIO2PC *USB-C* PC/Mac Disk Drive Emulator Adapter/Device XL/XE 400 800 picture](/store/img/g/OKsAAOSw7mJmgZZl/s-l225/Atari-SIO2PC-USB-C-PC-Mac-Disk-Drive-Emulator-Adap.jpg)
Atari SIO2PC *USB-C* PC/Mac Disk Drive Emulator Adapter/Device XL/XE 400 800
$15.25
![Rana Systems 1000 Atari Compatible Floppy Disk Drive System w/cables. Powers On picture](/store/img/g/3dEAAOSw4EFma4Kg/s-l225/Rana-Systems-1000-Atari-Compatible-Floppy-Disk-Dri.jpg)
Rana Systems 1000 Atari Compatible Floppy Disk Drive System w/cables. Powers On
$139.99
![Vintage Atari 1040ST Computer picture](/store/img/g/5QUAAOSwuBZjpEZ-/s-l225/Vintage-Atari-1040ST-Computer.jpg)
Vintage Atari 1040ST Computer
$169.00
![A8PicoCart Atari 8bit A8 Pico Cart multi cart For Atari Computers 800/XL/XE/XEGS picture](/store/img/g/7xsAAOSws31mUWl9/s-l225/A8PicoCart-Atari-8bit-A8-Pico-Cart-multi-cart-For-.jpg)
A8PicoCart Atari 8bit A8 Pico Cart multi cart For Atari Computers 800/XL/XE/XEGS
$28.95
![Vintage Atari 800XL Home Computer 64K RAM in Original Box MINT TESTED picture](/store/img/g/PywAAOSwQbJmgw~i/s-l225/Vintage-Atari-800XL-Home-Computer-64K-RAM-in-Origi.jpg)
Vintage Atari 800XL Home Computer 64K RAM in Original Box MINT TESTED
$300.00
![A8PicoCart Kit Atari 130 65 XE 800 600 XL unocart clone multicart cartridge game picture](/store/img/g/uAQAAOSwhaxmVnIS/s-l225/A8PicoCart-Kit-Atari-130-65-XE-800-600-XL-unocart-.jpg)
A8PicoCart Kit Atari 130 65 XE 800 600 XL unocart clone multicart cartridge game
$19.95