(d) Raspberry Pi sync time

Source: Internet
Author: User

To set the time zone for the Raspberry Pi, use the following command:

sudo dpkg-reconfigure tzdata

After executing the command, you need to wait a little bit, then come out the time zone selection interface:

Note that if you do not see this interface after executing the command, but instead see a bunch of garbled characters, then you need to set up SSH or other terminal character encoding

The Raspberry Pi does not have a battery that lasts longer, so you need to reset the time after each shutdown, and the command to set the time is the date command for Linux:

Set the time as follows:

sudo date-s "10:53:00 2013-04-13"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.