I am setting up a hotspot network for my office. Windows clients and Android Users can receive the pop-up login page and can login normally. iOS users (iPhone and mac) does not receive login page (sometimes called Captive Portal Network Assistant).
I am using RB 2011UiAS, Firmware Type: ar9344, Firmware version: 6.49.17
Mix of iOS versions.
Code: Select all
/ip dhcp-server
add address-pool=hs-pool-12 disabled=no interface="bridge1 - (WL APs)" lease-time=1h name=dhcp1
/ip dhcp-server option
add code=114 name=Option_114_Captive_Portal_CNA value=0x0a053201
/ip dhcp-server network
add address=10.5.50.0/24 comment="hotspot network" dns-server=10.5.50.1 gateway=10.5.50.1
Code: Select all
/ip hotspot profile
add dns-name=hq.myCompanyName.com hotspot-address=10.5.50.1 login-by=http-chap,http-pap name=hsprof2
/ip hotspot
add address-pool=hs-pool-12 disabled=no interface="bridge1 - (WL APs)" name=hotspot_1 profile=hsprof2
/ip hotspot user
add name=1 server=hotspot_1
add name=2 server=hotspot_1
add name=3 server=hotspot_1
add name=4 server=hotspot_1
/ip hotspot walled-garden
add action=deny disabled=yes dst-host=*captive.apple* server=hotspot_1
Please help.
Thanks.
Ammar.