Keeping actual time on Raspberry Pi with FreeBSD

The Raspberry Pi doesn’t have any ‘Real Time Clock’ (RTC) module.
To keep actual time on it we need to use NTP (network time protocol).

NTP does not enabled by default in FreeBSD 10 RELEASE for Raspberry Pi.
To enable it we need to add next two strings into file /etc/rc.conf:

ntpd_enable="YES"
ntpd_sync_on_start="YES"

26

First string enable NTP daemon.
Second string runs time synchronization on start.

We don’t need to modife file /etc/ntp.conf:
29

But if you want, you can change settings for NTP servers in it:
server pool.ntp.org

This is enough.

Advertisements

One thought on “Keeping actual time on Raspberry Pi with FreeBSD

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