I have been using a script to configure the NTP client in my Groove routers. Under 6.48.6, this worked fine:
/system clock set time-zone-name=America/MyCity
/system ntp client set primary-ntp 10.200.7.34
/system ntp client set enabled=yes
I upgraded RouterOS to 7.8 and the middle line no longer works ie. the previous command for setting the primary ntp server fails.
Did something change with the syntax? I’ve been through the documentation and there are some scripting examples for RouterOS 6.x but none for 7 that I could see.
After upgrading from 6.48.6 to 7.8, the admin account that I created using a configuration script no longer works properly.
I’ve been using the same config script for hundreds of 6.48.6 devices and never had a problem. I changed the syntax for the NTP setup as per your info, but didn’t change anything else. The script completes successfully, but the admin account doesn’t work afterwards, effectively locking me out of the device.
Did something change in 7.x in relation to creating/managing user accounts? These are the commands we use in the script. The admin account works fine, but I can’t login with the sysop account. The admin account is read-only so I can’t use it to reset the password on the sysop account.
/user add group=full name=sysop
/user set sysop password=”xxx@jkde123”
/user set admin password=”xx@@V#xxx#275”
/user set admin group=read