I’m trying to setup a wAP with socifi and I have a problem with the following script
:local mac [system routerboard get serial-number];
:if ( [system routerboard get routerboard] = yes ) do {:set mac [system routerboard get serial-number]} else { :set mac [interface ethernet get ether1 mac-address]};/file set “hotspot/login.html” contents="
[http://connect.socifi.com/?rad=yes&serial=$mac&client_mac=\$(mac)&client_ip=\$(ip)&userurl=\$(link-orig)&login_url=\$(link-login-only)](http://connect.socifi.com/?rad=yes&serial=$mac&client_mac=%5C$%28mac%29&client_ip=%5C$%28ip%29&userurl=%5C$%28link-orig%29&login_url=%5C$%28link-login-only%29)> \" /> "
It doesn’t seem to work and it’s the final step to complete my installation.
Thanks