Community discussions

MikroTik App
 
walkbyfaith
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 80
Joined: Thu May 05, 2011 7:26 pm

2 different hot spot login pages

Wed Sep 12, 2012 3:13 pm

Hello,
I have a RB433 that has an outdoor ap connected to it via eth3 with DHCP server enabled on eth3 as well. I also have a connection to eth2 with DHCP enabled. Eth2 is for the wired connections and eth3 is for wireless customers. Both these ports need to have hotspot login capabilities and they do and work but I would like the hotspot profiles to have different login pages. So a login page for eth2 connections and a login page for eth3 connection, both entirely different look. Is this possible? Thanks for the help.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: 2 different hot spot login pages

Wed Sep 12, 2012 3:19 pm

Yes. Assign a hotspot to each interface. In "/ip hotspot profile", there is an entry for the html directory. Create another directory in "/file", like hotspot2, and put your different hotspot files in there. Don't forget the img directory.

Then change the hotspot profile html-directory entry for that hotspot.
/ip hotspot profile
set X html-directory=hotspot2
 
walkbyfaith
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 80
Joined: Thu May 05, 2011 7:26 pm

Re: 2 different hot spot login pages

Thu Sep 13, 2012 9:34 am

SurferTim,
Thanks for the reply, that worked.