This type of server is to be used with rdate as you’ll see below.
Edit/ etc/xinetd.d/time and set disable = no.
Make sure the lines below are present and uncommented in /etc/services
time 37/tcp timserver
time 37/udp timserver
restart xinetd: /etc/rc.d/init.d/xinetd restart
The time server will be started automatically each time the PC boots up.
To test the time server, in your device use rdate (part of busybox):
To set the date: rdate -s IP_ADRESS_OF_TIME_SERVER
To print the date in the console: rdate -p IP_ADRESS_OF_TIME_SERVER
Check the date by typing date
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
|Support CNX Software - Donate via PayPal or become a Patron on Patreon|