• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinopcDuino8How to do clock update on pcDuino8 Uno
Previous Next

How to do clock update on pcDuino8 Uno

Posted by: admin , February 7, 2016

pcDuino8 Uno doesn’t have an onboard RTC. So if you power it up, the clock and date will be lost. Once you get network connection,  you can force a time update using the following command:

$sudo ntpdate -s time.nist.gov

If you want that it happens automatically every time it reboots,

 

<code>( /etc/init.d/ntp stop
until ping -nq -c3 8.8.8.8; do
   echo "Waiting for network..."
done
ntpdate -s time.nist.gov
/etc/init.d/ntp start )

</code>

We can change the time zone by:

$sudo dpkg-reconfigure tzdata

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors