raspi: time via ntp

the ntpserver is just a waist of memory for a raspi and its enough to synchro the time every couple hours.

follow this:

  1. right time zone:
    $ sudo dpkg-reconfigure tzdata
      
  2. deinstall ntp server:
    $ sudo apt-get purge ntp
      
  3. install ntpdate:
    $ sudo apt install ntpdate
      
  4. add cron entry:
    $ sudo crontab -e
    @reboot ntpdate -s 0.de.pool.ntp.org
    0 */6 * * * ntpdate -s 0.de.pool.ntp.org
      

source: from german page aufschnur.de

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s