I’ve been reading about Dynamic DNS scripts on the forum, so I wanted to test it. But when I try to past a script into Winbox or ssh terminal, it does not seem to work:
[admin@MikroTik] > /system scriptadd name=ddns policy=\
syntax error (line 1 column 35)
[admin@MikroTik] > <pre>ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api \
expected command name (line 1 column 1)
[admin@MikroTik] > source="# HomingBeacon Main Dynamic DNS Update Script\r\
syntax error (line 1 column 7)
[admin@MikroTik] > \n# Written by Sam Norris, ChangeIP.com\r\
expected command name (line 1 column 1)
[admin@MikroTik] > \n# 20100728 Tested on RouterOS 4.9\r\
expected command name (line 1 column 1)
....
What I am doing wrong, or has this functionality changed?
Thanks! I added the space. Then I got some new errors, so I edited the policy line, to reflect the options my RB has. And after that adjusted some of the quote chars. Now the script shows up in Winbox - System - Scripts. And when I run it, I even see some new entries in the logs.
Onwards ho! Now I have to get Dynamic DNS working, next step: port mapping for remote ssh access to my little server