Tag Archives: Linux

Configure Client Network Time (NTP)

Information directly copied from : https://www.cs.cmu.edu/~help/networking/ntp.html –

for quic ref…

 Windows 7

Windows 7 systems benefit from using the full set of NTP servers, but cannot be configured to obtain NTP server information from DHCP. Because the control panel does not allow setting multiple servers, settings on these systems must be verified and changed from a command prompt. Systems which are members of the SCS domain will receive NTP configuration via domain group policy and should not be reconfigured.

Continue reading Configure Client Network Time (NTP)

Raspberry Pi Enable Cron

By default,  Cron is disabled meaning anything entered into  ‘crontab’ wont be run.

To enable this function, follow the steps below:

Once logged into the Pi use the below command to open up the ‘rsyslog.conf’ file in the Nano editor

cd/etc
sudo nano rsyslog.conf

Once the rsyslog is loaded into nano, navigate to the below section and un-comment the ‘cron’ option

#
# First some standard log files.  Log by facility.
#
auth,authpriv.*              /var/log/auth.log
*.*;auth,authpriv.none          -/var/log/syslog
cron.*                          /var/log/cron.log
daemon.*                        -/var/log/daemon.log
kern.*                          -/var/log/kern.log
lpr.*                           -/var/log/lpr.log
mail.*                          -/var/log/mail.log
user.*                          -/var/log/user.log

Save the document by pressing CTRL + O and then CTRL+X  close the editor.

Reboot the Raspberry Pi:

sudo reboot

Raspberry Pi Real Time Clock (RTC)

How to setup a Real Time Clock on a Raspberry Pi B v1.1

 

If you didn’t know, the Raspberry Pi doesn’t hold the time very well, this is because there is no on board Real Time Clock.

1pc-DS3231-Precision-RTC-Module-Memory-Module-for-Arduino-Raspberry-Pi-

To keep the devices time accurate we need to add a module that holds the time whenever the RPi has no power running to it and then updates the RPi with the time saved on the battery powered module when the full power is restored and the system starts running again.

Continue reading Raspberry Pi Real Time Clock (RTC)