[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:hardware:arm:automatically_setting_system_time_on_arm_devices [2021/03/15 00:21 (UTC)] – [Notes] typo exaga | howtos:hardware:arm:automatically_setting_system_time_on_arm_devices [2021/03/22 09:26 (UTC)] (current) – [Automatically setting the system time with an Internet connection] typo script filename extension exaga | ||
---|---|---|---|
Line 37: | Line 37: | ||
The quickest and laziest method is with the Bash script code below, which is a representation of an '/ | The quickest and laziest method is with the Bash script code below, which is a representation of an '/ | ||
- | <file sh rc.local.sh> | + | <file sh rc.local> |
#!/bin/sh | #!/bin/sh | ||
# | # | ||
Line 72: | Line 72: | ||
I've got this code in the '/ | I've got this code in the '/ | ||
+ | ===== Setting the system time with a local NTP server ===== | ||
+ | |||
+ | The SlackDocs [[howtos: | ||
+ | |||
+ | Once you have a NTP server running on your local network, you are able to set any other computer system or device that uses a time protocol from it; Linux systems, Windows computers, Android devices, tablets, smart phones, etc. Therefore, it's possible to have everything set with an accurate date and time that's capable of communicating with the NTP server. | ||
+ | |||
+ | Setting the date and time on other Slackware [Linux] systems using a local network NTP server is achieved by typing one simple command: | ||
+ | |||
+ | < | ||
+ | ~# sntp -Ss 192.168.1.17 | ||
+ | </ | ||
+ | |||
+ | On Slackware ARM 14.2 this can be achieved using the following command: | ||
+ | |||
+ | < | ||
+ | ~# ntpdate 192.168.1.17 | ||
+ | </ | ||
+ | |||
+ | In the example above, the IP address is our local network NTP server machine. Obviously you would enter the IP address of the machine running the NTP server daemon on your own local network. | ||
====== Help ====== | ====== Help ====== | ||
Any requests for help/ | Any requests for help/ | ||
- | Thank you for being interested in automatically setting the system date and time on a Slackware ARM installed device, and in this SlackDoc | + | Thank you for being interested in automatically setting the system date and time on a Slackware ARM installed device, and in this SlackDocs |
====== Sources ====== | ====== Sources ====== | ||
# Documentation which assisted in this SlackDoc project: | # Documentation which assisted in this SlackDoc project: | ||
- | TODO | + | https:// |
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> |