I have a Hotspot Config like this:
RB532
ether2 - PPPOE client (internet)
wlan1 - Hotspot interface
Everything is working fine but when I unplug the Internet cable from ether2 the hotspot login page dissapear, and the clients IE said no connections? Why? I can't create a hotspot like this:
eth1 - LAN connection to WEB, File server (192.168.0.1/24)
WEB server: 192.168.0.10/24
eth2 - HOTSPOT, DHCP interface, local users (192.168.1.1/24 - for unauthenticated users, 192.168.0.2 for autheticated users)
authenticated user get address (from DHCP static pool - 192.168.0.X) and use the file and web server normally. It's ok It's working.
I like when somebody connect to the LAN "illegal" or not autheticated user get an IP from hotspot (other than the auth users) and I want to redirect all his browsing to a page (Please call ...).
I created a hotspot. On the hotspot profile menu change the HTML directory to disabled. Put to the RB532 a disabled directory with a copy of hotspot directory and changed it.
A user connect to the hotspot, get IP address 192.168.0.250 GW 192.168.0.1 (can't ping the default gateway) but when he open a IE there is no login page...
Hmm, probably I misunderstand something, which is the public and local interaces ?
You can create HotSpot in the following way:
setup HotSpot to the local interace, all clients will be connected trough HotSpot:
enable MAC-authentication, add MAC-addresses as usernames to ‘ip hotspot user’. Clients with known MAC-addresses will be redirected to the Internet without showing authorization page, clients with unknown MACs will be directed to the login page.
modify login page and place required information to it.
ether1 + switch users connected (there is two DHCP server) One for the authenticated users with static addresses, and one for unauth users who get different IP addresses (IP pool). I like the unauth users to redirect a page like something: You are not authenticated, please call webmaster. there is no Internet connection only LAN, and local resources.
Use MAC-authentication method for static clients (add mac-addresses as username to users list,
Unauthorized will be redirected to the login page (where you can place information ‘please call etc.)’, because there is no information about their MAC-addresses.
ofcourse, as far as i know DHCP-server and DHCP-Hotspot, i think is difference
but, it is much better when you are running as DHCP-Hotspot for authe....or unaunthe....users, than customize your 'login.html' for more information
login page is appear when user need your internet gateway