LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   NanoPi M3 Automatic Update Times (https://www.linuxquestions.org/questions/linux-software-2/nanopi-m3-automatic-update-times-4175586646/)

jiatang 08-09-2016 06:33 AM

NanoPi M3 Automatic Update Times
 
1、First modify the following files:
#vim /etc/cron.daily/timeupdate
ntpdate ntp.ubuntu.com

#chmod 755 /etc/cron.daily/timeupdate
#sync
#date ( Type 'date' to check the time )

2、Then booting the board to test:
a).In the case if the board has no cable that will stop at the boot such as:
eth0: device MAC address fa:44:18:40:0c:01

Since the board has no cable ,file system is waiting for assigning IP address,if the board connects the network cable ,the problem will not exit.

b).Assigns MAC Address:
#cat /etc/network/interfaces.d/eth0
auto eht0
allow-hotplug eth0
iface eth0 inet dhcp
hwaddress ether fa:44:18:40:0c:01

Habitual 08-10-2016 03:04 PM

dupe reported.


All times are GMT -5. The time now is 06:40 PM.