A Clockwork Orange, or Tick-Tock Trouble...

Discussion in 'Installation/Configuration' started by Wraithfire, Apr 13, 2006.

  1. Wraithfire

    Wraithfire New Member

    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?:confused:
     
  2. falko

    falko Super Moderator

    Please post the output of
    Code:
    ls -l /etc/init.d
     
  3. Wraithfire

    Wraithfire New Member

    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:)
     
  4. falko

    falko Super Moderator

    Please run
    Code:
    update-rc.d -f ntpdate remove
    and your problem should be solved.
     
  5. Wraithfire

    Wraithfire New Member

    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?
     
  6. falko

    falko Super Moderator

    Have a look at the date command:
    Code:
    man date
     
  7. Wraithfire

    Wraithfire New Member

    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 :confused:
     
  8. falko

    falko Super Moderator

  9. Wraithfire

    Wraithfire New Member

    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 :confused:
    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
     
  10. Wraithfire

    Wraithfire New Member

    bah, no luck, the OS's are still fighting over the time. Can't we all just get along?? :(
     
  11. Wraithfire

    Wraithfire New Member

    I think this has something to do with windows wanting the bios clock set to local time which is PST for me, and Debian seems to be adjusting this back 7 hours. I think it has something to do with the timezone being set incorrectly, but i thought i set it to local time when i originally installed Debian. When i recompiled the kernel, something was changed somehow.
    you guys have any ideas where i should look to check this?
     
  12. sbovisjb1

    sbovisjb1 HowtoForge Supporter

  13. Wraithfire

    Wraithfire New Member

Share This Page