on my rb1100 I have 2 hotspots with their hotspot profile (with "use radius" flag option).
Code: Select all
/ip hotspot profile
add hotspot-address=10.0.0.1 html-directory="HS1 -Ospiti" name=\
"hsprof1 - Ospiti" use-radius=yes
add hotspot-address=10.10.0.1 html-directory="HS2 -Visitatori" name=\
"hsprof2 - Visitatori" use-radius=yes
/ip pool
add name=hs-pool-14 ranges=10.0.0.20-10.0.3.254
add name=hs-pool-3 ranges=10.10.0.20-10.10.3.254
/ip dhcp-server
add address-pool=hs-pool-14 disabled=no interface="ether2 - HS1" lease-time=\
1h name=dhcp1
add address-pool=hs-pool-3 disabled=no interface="ether3 - HS2" lease-time=1h \
name=dhcp2
/ip hotspot
add address-pool=hs-pool-14 disabled=no interface="ether2 - HS1" name=\
"HS1 - Ospiti" profile="hsprof1 - Ospiti"
add address-pool=hs-pool-3 disabled=no interface="ether3 - HS2" name=\
"HS2 - Visitatori" profile="hsprof2 - Visitatori"
Code: Select all
/radius
add address=127.0.0.1 secret=fbc2016 service=hotspot
/tool user-manager router
add coa-port=1700 customer=admin disabled=no ip-address=127.0.0.1 log=\
auth-fail name=local shared-secret=fbc2016 use-coa=no
My wish is to use the same usermanager for both hotspot but and:
- only "Ospiti" users can log in in HS1
- only "Visitatori" users can log in in HS2
Thanks in advance, Simone.