CCR BeagleBone Tools  v0.0.1-2206
Production Tools for BeagleBone Devices
 All Pages
CCR Set Timezone
See Also
BeagleBone Tools

CCR_Set_Timezone automatically detects the timezone using GeoIP and sets the timezone accordingly. Once the timezone has been set, ntp is used to set the correct date and time.

Key Description
available since 2017-01
package filename ccr_set_timezone-xyz.deb
configuration none
cron job /etc/cron.d/ccr_set_timezone
script /usr/bin/ccr_set_timezone.sh
example sudo ccr_set_timezone.sh

To install:

sudo dpkg -i ccr_set_timezone-*.deb

Then either reboot the device, or manually run the script:

sudo ccr_set_timezone.sh
See Also
/etc/timezone
/usr/share/zoneinfo/
http://geoip.ubuntu.com/lookup