Setup Time Service to Set the Clock on Angstrom BeagleBone

If you run the “date” command and see a date not far from Jan 1 2000 then you will need to set the date.

Update your Package List

opkg update

Get the ntp Package

opkg install ntp ntpdate

Remove the file that describes your local time

rm /etc/localtime

Add a symlink between the file that describes your timezone in the timezones folder to the localtime file.

If you do not live in the sydney nsw timezone you may need to look around in the /usr/share/zoneinfo folder for your timezone.

ln -s /usr/share/zoneinfo/Australia/Sydney /etc/localtime

Now we need to stop the ntpd service so we can request a manual update

/etc/init.d/ntpd stop

Now request the manual update

ntpdate pool.ntp.org

Confirm the correct time with the “date” command

Restart the ntp daemon with

/etc/init.d/ntpd start

 ToDo

  • Add insructions to start the service automatically on boot. If someone knows how to autostart an Angstrom Service please let me know.
Advertisements

7 thoughts on “Setup Time Service to Set the Clock on Angstrom BeagleBone

  1. Thanks for this helpful article. And can’t you write a script to do all these and put it in /etc/init.d (with no dots such as .sh in the name)? You also need to enable it at all runlevels with update-rc.d

    Like

  2. Every Look up grounds throughout tables plus below datasheet attractions usually are not involved also.

    It would take you a lot of time to prepare several bowls of salad.
    Categorized as “white goods”, need to have consideration regarding their very own treatment method.

    We have seen kitchen appliances that are compact and colorful.
    It does a good job of chopping and mincing vegetables, fruits, and cheese as well as other foods.

    Like

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