New Beagleboard and Timezones

Thanks to the folks at beagleboard.org, my shiny new Beagleboard has arrived! This is from the "Beagleboard Sponsored Projects Program" at http://beagleboard.org/contest. If you have an idea for a good project involving the Beagleboard, you can submit the details. Each week, two projects will be selected for a free board!

I've been looking into how to set the time correctly on my board, and in the process discovered a few details about time zones on Angstrom linux. By default, a basic Angstrom image doesn't include data specifying time zones, so will default to UTC time. To specify a time zone:

  1. Install the timezone data package:
    opkg install tzdata
  2. Look in /usr/share/zoneinfo to find the appropriate zone, mine was Australia/Sydney
  3. create a symbolic link to this file from /etc/localtime
    ln -s /usr/share/zoneinfo/Australia/Sydney /etc/localtime
  4. restart

With the correct timezone set, you can now use NTP to automatically set the correct date and time:

  • opkg install ntpdate
  • ntpdate pool.ntp.org

User login