Hi guys,
Wondering if anybody has seen this as well?
6.18 and 6.19 seem to break my nightly checkin script:
/log info "CheckIn Starting"
:global a [/system identity get name]
/log info "CheckIn got $a"
:global b [/interface ethernet get 0 mac-address]
/log info "CheckIn got $b"
/log info "CheckIn Finished"
This works on 6.17
Thanks,
Shanon
I think it’s never been the intention for numbers to work from scripts. Instead, they work just from an interactive terminal.
So, try replacing “0” with the name of the interface.
But what if the name of the interface gets changed?
I just checked and it works on the release candidate for 6.19.
So does that mean that 6.20 will have it back working?
Works:
http://www.mikrotik.com/download/share/routeros-mipsbe-6latest.npk
Broken:
http://download2.mikrotik.com/routeros/6.19/routeros-mipsbe-6.19.npk
Thanks again,
Shanon
Your script works fine for me, only it is maybe returning the wrong MAC address.
I posted about somewhat the same here:
http://forum.mikrotik.com/t/backward-compatibility-get-first-mac-address/81492/1