RUTX11- Is it possible to "Enable NTP Server" from command line?

Ticking the box in the webUI works great, but I have a bunch of these to do and was wondering if it could be done from SSH?

Found some advice online, for OpenWRT- which doesn’t seem to do the trick

uci set system.ntp.enabled='1'
uci set system.ntp.enable_server='1'
uci commit system
/etc/init.d/sysntpd restart  ### This file doesn't exist for me, and using 'ntpserver' in it's place also doesn't work

Thanks guys

Greetings,

Apologies for the delayed response and thank you for contacting us!

Yes, you can enable the NTP server directly from the command line on RutOS. To do that, run the following commands:

uci set ntpserver.general.enabled='1'

uci commit ntpserver

/etc/init.d/ntpserver restart

To verify that the NTP server process is active, check the system logs with a command:

logread | grep "Starting NTP server"

Please give this a try and let us know if it works for you. If you have any further questions, feel free to reach out!

Best regards,
Martyna