Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th April 2006, 03:03
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Angry A Clockwork Orange, or Tick-Tock Trouble...

Ok so I have an annoying problem. I run a dual boot (separate HDDs) Debian Sarge and Windows XP Pro box. Now whenever I boot up linux, it somehow adjusts the time in Windows to the wrong time. Not sure if this a windows or linux problem, but how do I prevent this, or at least set the time correctly. I live in US Pacific Standard Time, which is UT -8 hours. It seems NTP support is not running, though i swear I followed a post from Falco on how to set it up. Any advice anyone?
Reply With Quote
Sponsored Links
  #2  
Old 13th April 2006, 14:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please post the output of
Code:
ls -l /etc/init.d
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th April 2006, 16:37
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

total 312
-rwxr-xr-x 1 root root 1074 2004-05-15 04:54 atd
-rw-r--r-- 1 root root 2593 2005-01-05 17:43 bootclean.sh
-rwxr-xr-x 1 root root 1529 2005-01-05 17:43 bootlogd
-rwxr-xr-x 1 root root 1371 2005-01-05 17:43 bootmisc.sh
-rwxr-xr-x 1 root root 935 2005-01-05 17:43 checkfs.sh
-rwxr-xr-x 1 root root 7160 2005-01-05 17:43 checkroot.sh
-rwxr-xr-x 1 root root 5366 2005-02-05 01:17 console-screen.sh
-rwxr-xr-x 1 root root 1096 2004-07-29 14:59 cron
-rwxr-xr-x 1 root root 1878 2005-04-01 10:34 dbus-1
-rwxr-xr-x 1 root root 7823 2005-01-08 16:16 discover
-rwxr-xr-x 1 root root 729 2005-03-23 10:04 dns-clean
-rwxr-xr-x 1 root root 3888 2005-05-27 14:21 exim4
-rwxr-xr-x 1 root root 837 2004-11-07 16:03 fam
-rwxr-xr-x 1 root root 811 2005-01-05 17:43 halt
-rwxr-xr-x 1 root root 165 2005-01-05 17:43 hostname.sh
-rwxr-xr-x 1 root root 3344 2005-03-19 17:51 hotplug
-rwxr-xr-x 1 root root 359 2005-03-20 06:09 hotplug-net
-rwxr-xr-x 1 root root 3499 2005-05-02 14:02 hwclockfirst.sh
-rwxr-xr-x 1 root root 3638 2005-05-02 14:02 hwclock.sh
-rwxr-xr-x 1 root root 2240 2005-05-02 06:57 ifupdown
-rwxr-xr-x 1 root root 802 2005-04-04 06:33 ifupdown-clean
-rwxr-xr-x 1 root root 1764 2004-10-24 20:17 inetd
-rwxr-xr-x 1 root root 658 2005-04-10 15:35 initrd-tools.sh
-rwxr-xr-x 1 root root 2923 2005-02-04 11:30 keymap.sh
-rwxr-xr-x 1 root root 1346 2005-05-25 17:38 klogd
-rwxr-xr-x 1 root root 775 2005-02-08 19:54 lpd
-rwxr-xr-x 1 root root 798 2004-08-18 11:43 makedev
-rwxr-xr-x 1 root root 1320 2005-01-27 17:11 module-init-tools
-rwxr-xr-x 1 root root 864 2004-12-18 00:22 modutils
-rwxr-xr-x 1 root root 1033 2005-01-05 17:43 mountall.sh
-rwxr-xr-x 1 root root 1619 2005-01-05 17:43 mountnfs.sh
-rwxr-xr-x 1 root root 4872 2005-01-05 17:43 mountvirtfs
-rwxr-xr-x 1 root root 2651 2005-03-21 10:49 networking
-rwxr-xr-x 1 root root 1984 2005-02-09 20:48 nfs-common
-rwxr-xr-x 1 root root 659 2005-08-26 03:55 ntpdate
-rwxr-xr-x 1 root root 2305 2005-03-07 16:12 nviboot
-rwxr-xr-x 1 root root 1076 2005-03-20 18:25 portmap
-rwxr-xr-x 1 root root 1452 2005-05-06 04:16 ppp
-rwxr-xr-x 1 root root 189 2005-05-06 04:16 pppd-dns
-rwxr-xr-x 1 root root 1039 2005-02-08 23:26 procps.sh
-rwxr-xr-x 1 root root 2235 2004-09-10 08:00 rc
-rwxr-xr-x 1 root root 1190 2004-09-10 08:00 rcS
-rw-r--r-- 1 root root 846 2004-09-10 08:00 README
-rwxr-xr-x 1 root root 197 2005-01-05 17:43 reboot
-rwxr-xr-x 1 root root 457 2005-01-05 17:43 rmnologin
-rwxr-xr-x 1 root root 358 2005-01-05 17:43 sendsigs
-rwxr-xr-x 1 root root 591 2005-01-05 17:43 single
-rwxr-xr-x 1 root root 2111 2005-01-05 17:43 skeleton
-rwxr-xr-x 1 root root 1891 2004-11-29 04:51 ssh
lrwxrwxrwx 1 root root 8 2006-04-03 19:39 stop-bootlogd -> bootlogd
-rwxr-xr-x 1 root root 354 2005-12-21 13:19 sudo
-rwxr-xr-x 1 root root 2077 2005-05-25 17:38 sysklogd
-rwxr-xr-x 1 root root 6138 2005-05-29 14:37 udev
-rwxr-xr-x 1 root root 854 2005-05-29 14:37 udev-mtab
-rwxr-xr-x 1 root root 509 2005-01-05 17:43 umountfs
-rwxr-xr-x 1 root root 1291 2005-01-05 17:43 umountnfs.sh
-rwxr-xr-x 1 root root 1381 2005-01-05 17:43 urandom
-rwxr-xr-x 1 root root 4270 2005-09-15 12:24 xdm
-rwxr-xr-x 1 root root 1963 2005-02-10 23:11 xfree86-common
-rwxr-xr-x 1 root root 4239 2005-09-15 12:24 xfs
-rwxr-xr-x 1 root root 45982 2005-03-30 18:36 xprint

and there it is
Reply With Quote
  #4  
Old 13th April 2006, 23:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please run
Code:
update-rc.d -f ntpdate remove
and your problem should be solved.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 14th April 2006, 08:23
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well ok window's time stays ok, but now my linux time is 7 hours behind. I have the right time zone, but the wrong time, and internet time just shows an @. Any idea how to auto set the clock without NTP?
Reply With Quote
  #6  
Old 14th April 2006, 14:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Have a look at the date command:
Code:
man date
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 14th April 2006, 21:10
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well the problem that I'm having is when i change the time in linux, somehow tyhe time in windows is changed as well, and vice versa. That's what I'm trying to prevent. Not even sure why that's happening, BIOS shows correct time whenever i check it, but the OS's seem to be fighting it out. It's a 7 hour difference, if i adjust my linux time up 7 hours to the correct time, then windows falls behind 7 hours, and then if i set that back up 7 hours, then linux falls behind 7 hours again. Very strange
Reply With Quote
  #8  
Old 15th April 2006, 14:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Have a look here: http://www.tldp.org/LDP/sag/html/clock-wrong.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 15th April 2006, 19:56
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok i'll try this out. I found a funny workaround myself. I changed my time zone from America/Los Angeles to Atlantic/St Helena, and now time is correct on both OS's
Weird. I checked my BIOS time and it's correct, but I'll reset the time zone back to LA and try these commands out
Reply With Quote
  #10  
Old 15th April 2006, 20:15
Wraithfire Wraithfire is offline
Member
 
Join Date: Mar 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

bah, no luck, the OS's are still fighting over the time. Can't we all just get along??
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.