Community discussions

MikroTik App
 
pljubas
newbie
Topic Author
Posts: 40
Joined: Tue Sep 22, 2009 12:46 pm

Hotspot with more than one radius/userman

Mon Apr 05, 2010 10:26 pm

Hi to all,

I've setup wi-fi hotspot on rb433 with remote radius (for credit card paying users) and I need 2nd radius for the same hotspot to authenticate via vouchers from Userman (also remote one).

I've added both radius servers into Radius section.

The problem is that if user is not found on first radius, it will not check 2nd one. If I change the order of radius servers then I can have vouchers, but not cc users and vice versa.

Is it possible at all? Or I'm doing something wrong?

Best regards to all.

Petar.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Hotspot with more than one radius/userman

Mon Apr 05, 2010 10:45 pm

If you need both kind of users (voucher and CC) on the same network, you'll either have to use a RADIUS server that can proxy (User Manager cannot), or you'll have to have both datasets on the same RADIUS server.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Hotspot with more than one radius/userman

Tue Apr 06, 2010 4:31 am

No problem. I use a Virtual Access Point (VAP).
/interface wireless
add name=vap1 master-interface=wlan1 ssid=SecondSSID
enable vap1
assign an ip/subnet to vap1 just like a wlan interface,
set up a dhcp server just like wlan interface,
set up a hotspot on vap1 just like a wlan interface.
Now you should have three hotspot profiles (one is default - not used). Look at the last post here for the radius part:
http://forum.mikrotik.com/viewtopic.php?f=2&t=40332

ADD: If you need them on the same hotspot, you can do it with
/ip hotspot profile
set 1 split-user-domain=yes
Then use a username like user@domain2 for the voucher clients, and use the the radius settings from the link above. Set your hotspot profile radius-default-domain=domain1.
 
pljubas
newbie
Topic Author
Posts: 40
Joined: Tue Sep 22, 2009 12:46 pm

Re: Hotspot with more than one radius/userman

Tue Apr 06, 2010 10:55 am

Thanks to all,

I've made it with "split user domain", it works great!

Best regards to all.

Petar.
 
imaljko4
Member Candidate
Member Candidate
Posts: 250
Joined: Fri Apr 25, 2008 6:52 pm

Re: Hotspot with more than one radius/userman

Sat Jun 05, 2010 12:08 am

So if I am adding the VAP interface, do i assign the same Ip adress to it, as to the wlan1 interface?
And also the SSID do i give it the same ssid as on the wlan1 interface?

Thank you
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Hotspot with more than one radius/userman

Sat Jun 05, 2010 12:29 am

The Virtual Access Point should be treated as a separate interface once it is created. It must be assigned its own ssid, ip/netmask, dhcp server and hotspot. Only the radio's frequency and mode are shared.

Who is online

Users browsing this forum: Buckeye, K0NCTANT1N and 103 guests