wrong date all the time

The SARPi project forum. For anything and everything relating to Slackware ARM on a Raspberry Pi 1, 2, and 3. This forum is NOT a replacement or substitute for the Slackware (ARM) forums on Linux Questions website! Please try to seek help there first about any issues you may be experiencing, or question you might have, before posting on here.
User avatar
gordus
New member
New member
Posts: 2
Joined: Tue Sep 05 2017 - 16:26:43

wrong date all the time

Postby gordus » Sat Sep 09 2017 - 00:50:56

hi, i had to install slackwareARM on my 3, but all the time when i poweroff or, reboot , my system comes with the wrong date. I have try this options without success
* ntpdate pool.ntp.org
* date -s "DAY MONTH DATE HH:MM:ss YEAR"
anybody knows how to solve?

:think:

User avatar
Exaga
FatDog Network Administrator
FatDog Network Administrator
Posts: 204
Joined: Wed Apr 18 2012 - 02:01:03
Location: England [UK]

Re: wrong date all the time

Postby Exaga » Sat Sep 09 2017 - 19:25:03

gordus wrote:hi, i had to install slackwareARM on my 3, but all the time when i poweroff or, reboot , my system comes with the wrong date. I have try this options without success
* ntpdate pool.ntp.org
* date -s "DAY MONTH DATE HH:MM:ss YEAR"
anybody knows how to solve?

:think:


You could download and install sarpi3-hacks-3.0-armv7-1_slackcurrent_fd0.txz to see if that solves your issue.

Or have you tried manually setting this in: /etc/rc.d/rc.local

# set system date/time at boot from ntp server
/usr/sbin/ntpdate pool.ntp.org
Exaga

====
__ KEEP THE DOG ALIVE!!!
()'`; /
/\|` W00f W00f W00f
www.fatdog.eu

User avatar
linicks
Registered user
Registered user
Posts: 126
Joined: Mon Oct 27 2014 - 20:26:01
Location: Pompey, England

Re: wrong date all the time

Postby linicks » Wed Sep 13 2017 - 20:10:27

This might be a bum steer, but I was messing with my test Pi server and updated to latest kernel a few days ago. On reboot date was set to Jan 1st 1970, and the rtc board clock had vanished. No matter what I tried, /dev/rtc was never created.

I suspect this is a newish kernel against and old udev package. I dunno. I gave up in the end and rolled back to an earlier image.

No help, I expect, but maybe a clue.

Nick
https://linicks.net/

Q. What is the difference between a duck and an elephant?
A. You can't get down off an elephant.

Return to “SARPi Project - Slackware ARM on a Raspberry Pi”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests