Hi
Is there a script that can change the ip address of a Router added in a Usermanager server.
The routers ip changes everyday and use dns script to update it daily. Problem is i need the usermanager server to know the ip change as-well for radius authentications.
I tried to add these 2 scripts and schedule a few seconds apart but for some reason Script 1 don’t work. works fine if i add it into the terminal though.
Script 1
/tool user-manager router remove 1
Script 2
/tool user-manager router add subscriber=admin name=mikrotik shared-secret=My_Secret ip-address=[:resolve xxx.changeip.net]
Any ideas
Thanks