I need to connect to a public free wireless network, using a mikrotik device.
The problem is, when i connect the mikrotik router, to the public network, there is no internet connection. Because, to use the free wifi, you first need to open the browser, and then it redirects you to the login page, and then you need to click accept.
Is there a script, that i can use so that the mikrotik router can do the same?
(go to the login page, and then click accept, in order to be able to use the internet)
Create a bridge and add the wlan + all ethernet ports to the bridge that way the PC’s will be able to go through the hotspot process and click accept.
2)alternatively if the hotspot provider is using mikrotik AND allow PAP login you can connect MT to the wifi open terminal and telnet to the hotspots IP type
GET HTTP/1.0
It should be easy enough to find the address, just go to the page in your browser and view the source, find out where the button is and that should be wrapped in a form. find the “action” (that is the address) and find the username and password predifined in the HTML.
Thanks for your help, i cannot use the 1st option, becuse the clients connected to mikrotik router are devices that cannot open browser (and click accept), thats why i need the mikrotik router to do the job for them.
The 2nd option would be good, but i think it is not a mikrotik device that they (the public wifi) are using.
I will check tomorrow, but is there any other solution in case the public wifi is not a mikrotik AP ?
Only in this scenario the client devices would still be redirected to the login page, where they would need to click on the “Accept” button in order to use internet.
I am trying to find a solution, where the mikrotik router could do that job, so that the client devices can go directly to the internet , without being forwarded to the Public WIFI login page.
I tried to launch the “get” command from terminal, but i get an error (bad command name “get”).
Can you explain from where do i write the command, do i need first go to /tool or /system?
And do i first need to write “telnet” router ip and then “get…”?