imrasp / LearnVI_Drone

7 stars 1 forks source link

fix time problem on pi #21

Closed imrasp closed 6 years ago

imrasp commented 6 years ago

https://raspberrypi.stackexchange.com/questions/8231/how-to-force-ntpd-to-update-date-time-after-boot sudo apt-get install ntpdate https://raspberrypi.stackexchange.com/questions/47542/raspberry-pi-wont-update-time

sudo /etc/init.d/ntp stop
sudo ntpd -q -g
sudo /etc/init.d/ntp start

or sudo sntp -s time.google.com