I've followed the guide here: https://socifi-doc.atlassian.net/wiki/d ... k+RouterOS to setup my Mikrotik wAP series as a hotspot to login using facebook.
Everything works as it should but for some reason the script to change the login screen doesn't seem to work. With the default screen and the appropriate username, I can access internet just fine so I am led to believe that all the rest of the settings are correct and this is the final step.
This is the script in question
I am using the latest RC version of RouterOS but still no dice.: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="<html>
<head>
<meta http-equiv=\"refresh\" content=\"0; url=http://connect.socifi.com/?rad=yes&seri ... ogin-only)\" />
<meta http-equiv=\"pragma\" content=\"no-cache\">
<meta http-equiv=\"expires\" content=\"-1\">
</head>
</html>"
Please help as I have another 2 of these machines to setup and I can't find my way through the scripting.
p.s. The script for the WalledGarden worked without a hitch so I know that scripting works. My assumption is that there is a mistake in the syntax of the above script.