Hi shivathapa,
You can customized Mikrotik HotSpot login page. After setup Hotspot Server, go to /file and in there you’ll see a folder with name Hotspot that contains some files. copy the folder to your system and edit.
For more info http://wiki.mikrotik.com/wiki/Manual:Customizing_Hotspot
HotSpot Redirect To External Login Page
From MikroTik Wiki
Jump to: navigation, search
When login page is hosted on the another server, and HotSpot users should be redirected to external login page.
Create rlogin.html page, which redirects to external server login page.
Make the copy of the rlogin.html page to the following pages,
rlogin.html(How to and what should be included)
falogin.html (How to and what should be included)
fstatus.html (How to and what should be included)
flogout.html (How to and what should be included)
fadvert.html (How to and what should be included)
HTML knowledge is required to make correct rlogin.html and other pages, but it is not covered in the topic.
Now its working from login.php hosted in external server.
but need to following the steps as following (I have name called ttdcwifi:
have to manually type ttdc.wifi/login (redirects to ttdcwifi.mos.com.np/login.php(this is hosted in one of our server).
have to manually logout. What happens logout successfull but returns http error 404.
Status page is not showing as we used to have earlier after sucessful login.
What I have done is , I have login.php along with others files that we have in default mikrotik hotspot folder (error.html,logout.html,status.html,alogin.html,redirect.html to external server.
Is there nything to left so that i can have the same as we used to have while in router.
The status page is depend have you user blocked the pop on page or not.
and regarding the logout page, it actually inside the pop out page when user successfully login.
Actually I dont understand , Shoud I have to place the status and logout page in the router or
It has to be with the login.php hosted in external server ?..
I am going to deploy an External Web Server and Radius Server. I want to clearly know about below sthings:
Is variables defined and put somewhere in Mikrotik Gateway ?? And can we know where? Can we edit them ?
If we are using External web server, so user will be redirected to External Web Server, after that External Web Server will handle these variables, e.g username and password. So how External Web Server contact with Radius Server for authentication? If these password and username wrong, so how External Web Server return result to Mikrotik gateway ??
Please can anyone tell me how this can be useful? Rather, I am thinking about integrating Mikrotik for billing automation. If anyone have links to useful resources please kindly provide it.
Hi, in this method is the client authenticated to the local mikrotik’s captive portal or remote external server’s captive portal?
when i tried this method, it worked, client could go out to the internet, but client logon to the local mikrotik’s captive portal,
i need to make the client log on to the externel server’s captive portal, i did this via editing the php files, now client logs on to the external server pfsense’s captive portal, but client can not go to the internet, i think i must give some permissions on the mikrotik too. do you know this method, how can i achieve this situation?