Hello! I’m new in the forum and in scripting too.
I’ve made this script for get WLAN1 macAddress (i need send that info to external portal hotspot).
- This is the script i made.. when I run it, I see in terminal that variable have been succesfull set:
########################
:global macWlanLab [/interface get [/interface find default-name=wlan1] mac-address ];
log info “$macWlanLab”;
################################ - I also see that “enviroment” is well set here:
[admin@Gateway] /system script environment> print
NAME VALUE
0 macWlanLab XX:XX:XX:YY:YY:YY
################################
3) In other hand I’ve configure the login.html hotspot, with this redirection params setting:
Any help or diferrent approuch to send this custom param in first redirecction I’ll be really grateful..
Thanks!
Eric
