Community discussions

MikroTik App
 
simogere
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Fri May 24, 2013 11:54 am

2 hotspots and 1 user manager

Mon Oct 17, 2016 3:44 pm

Hi, I'm trying to find a solution to this problem:
on my rb1100 I have 2 hotspots with their hotspot profile (with "use radius" flag option).
/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"
There's a radius server and a working usermanager
/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
On my usermanager I have 2 profiles: "Ospiti" and "Visitatori".
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
I was looking for something like "NAS ID" or a setting the hotspot profile in order to differentiate the login session, but I cannot find nothing. Any tips?

Thanks in advance, Simone.
 
User avatar
czolo
Member
Member
Posts: 423
Joined: Fri Mar 04, 2005 9:49 am
Location: Poland (Warsaw)
Contact:

Re: 2 hotspots and 1 user manager

Mon Oct 17, 2016 9:00 pm

You can use domain in hotspot and radius configuration
 
simogere
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Fri May 24, 2013 11:54 am

Re: 2 hotspots and 1 user manager

Tue Oct 18, 2016 1:32 pm

You can use domain in hotspot and radius configuration
Ok, but how? Hotspot profiles are 2. Radius server is only one!
 
jpmonzon
just joined
Posts: 2
Joined: Fri Jul 15, 2016 5:41 pm
Location: Guatemala

Re: 2 hotspots and 1 user manager

Tue Jul 17, 2018 9:57 pm

I have the same problem, I have 2 Hotspots and I need the usermanager to assign users for each Hotspot indepenently with the Radius server in my Mikrotik router... anyone has done this before?
 
bateekh
just joined
Posts: 5
Joined: Tue May 07, 2024 3:21 pm

Re: 2 hotspots and 1 user manager

Wed May 08, 2024 4:13 pm

I have the same problem, I have 2 Hotspots and I need the usermanager to assign users for each Hotspot indepenently with the Radius server in my Mikrotik router... anyone has done this before?
did you find a solution? i have v7

Who is online

Users browsing this forum: No registered users and 5 guests