Results 1 to 5 of 5

Thread: Time problem

  1. #1

    Time problem

    I installed knoppix 7.2 on a USB and everything workds great...except it gives the wrong time. This would only be an annoyance except I need to have the correct timestamp on my files. I use multiple computers and OS's for my work and it is beneficial to know which of several is the most recent version of a file.

    I've tried using the following:

    dpkg-reconfigure tzdata

    Current default time zone: 'America/Regina'
    Local time is now: Wed Aug 13 10:40:20 CST 2014.
    Universal Time is now: Wed Aug 13 16:40:20 UTC 2014.

    Unfortunately the local time was 16:40. My actual time zone is CST so UTC-6 is correct. It seems to be acquiring the wrong UTC time.

    I then used a time server (20 minutes later)

    ntpdate -q nist1-nj2.ustiming.org
    server 165.193.126.229, stratum 1, offset 21599.700910, delay 0.09451
    13 Aug 11:00:51 ntpdate[4395]: step time server 165.193.126.229 offset 21599.700910 sec

    BTW, as I said, I'm running knoppix on a USB. When running Fedora 20 on my harddrive there are no such problems so I do not think it is a hardware problem.

    Thanks for any help someone might give.

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    You can use the cheatcode "tz=America/Regina". Take care of hint 9!

    Have also a look at Micro-Remastering at this website.

  3. #3
    The problem is that it does not set the UTC time correctly so setting "tz=America/Regina" gives me a local time for somewhere in the middle of the Pacific ocean. It so happens it sets the UTC time equal to what my local time actually happens to be. So my workaround is to set my local time=UTC. Then I get the correct local time. Weird!

  4. #4
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    The problem is that it does not set the UTC time correctly ..
    Did you read hint 9? You must set the hardware clock within BIOS to UTC manually by yourself.

  5. #5
    Senior Member
    Join Date
    Jul 2011
    Posts
    110
    I get time set via ntpdate-debian. /etc/default/ntpdate edit the line NTPSERVERS="your ntp server" Verify the ntpdate file exist in /etc/network/if-up.d Now each time your nic becomes active or up. Your time will sync. I use pool.ntp.org for correct 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
  •  


IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8 picture

IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8

$479.96



IBM 8247-22L S822L 2 CPUs 256GB 12x Drives SFF Power8 Linux Server picture

IBM 8247-22L S822L 2 CPUs 256GB 12x Drives SFF Power8 Linux Server

$749.00



Red Hat Enterprise Linux 5 Server - New and Sealed picture

Red Hat Enterprise Linux 5 Server - New and Sealed

$19.99



Asus ESC4000 G3 Barebones 0GB HDD Linux picture

Asus ESC4000 G3 Barebones 0GB HDD Linux

$200.00



IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E picture

IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E

$799.96



1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture

1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports

$149.00



Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux picture

Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux

$880.25



IBM Power 9 S922 8-Core 3.4-3.9Ghz 128Gb DDR4 2U Linux Server - 9009-22a picture

IBM Power 9 S922 8-Core 3.4-3.9Ghz 128Gb DDR4 2U Linux Server - 9009-22a

$3439.96



IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE picture

IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE

$199.87



POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives picture

POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives

$179.99