Using 1 SSID only but multiple username

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
Ti-Rick
DD-WRT Novice


Joined: 03 Mar 2024
Posts: 3

PostPosted: Sun Mar 03, 2024 20:49    Post subject: Using 1 SSID only but multiple username Reply with quote
Hi guys,

I'm new here so please be gentle with me. Very Happy

Here's what I'm looking for...

I want to be able to use only 1 SSID but having multiple username to access it. Each user would then be assign to a certain VLAN. For example...

SSID = Router01 --- USERNAME = Student01 --- VLAN = 10.106.161.xxx
SSID = Router01 --- USERNAME = Student02 --- VLAN = 10.106.162.xxx
SSID = Router01 --- USERNAME = Student03 --- VLAN = 10.106.163.xxx
...
SSID = Router01 --- USERNAME = Student20 --- VLAN = 10.106.180.xxx


I know it's possible using CISCO products but I'm wondering if I could do it using more basic products and/or DD-WRT built.

Can you help me out on this one ?

Thanks
Sponsor
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1858
Location: Hung Hom, Hong Kong

PostPosted: Mon Mar 04, 2024 12:00    Post subject: Re: Using 1 SSID only but multiple username Reply with quote
Ti-Rick wrote:
I want to be able to use only 1 SSID but having multiple username to access it. Each user would then be assign to a certain VLAN. For example...
....

1. Multiple user names: Enable FreeRadius
2. Instead of using different VLAN, use diffent virtual wirelsss interface (VAP) aka Guest Wifi

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
Ti-Rick
DD-WRT Novice


Joined: 03 Mar 2024
Posts: 3

PostPosted: Mon Mar 04, 2024 14:31    Post subject: Reply with quote
Alright, so assuming I'll go with a router that can manage a few virtual wireless interface (VAP)

Here's what I need...

- a router that manage 20 differents VAP. If that's not possible, at least 10 so I can use only 2 routers

- Can I configure each VAP with a certain DHCP range ? For example...
- VAP01 = IP ADDRESS AVAILABLE FROM DHCP BETWEEN 10.106.161.100 to .150
- VAP02 = IP ADDRESS AVAILABLE FROM DHCP BETWEEN 10.106.162.100 to .150
- VAP03 = IP ADDRESS AVAILABLE FROM DHCP BETWEEN 10.106.163.100 to .150
...
- VAP20 = IP ADDRESS AVAILABLE FROM DHCP BETWEEN 10.106.180.100 to .150

Any suggestion on which router can do that ?
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1858
Location: Hung Hom, Hong Kong

PostPosted: Mon Mar 04, 2024 17:18    Post subject: Reply with quote
Ti-Rick wrote:
- Can I configure each VAP with a certain DHCP range ? For example...
- VAP01 = IP ADDRESS AVAILABLE FROM DHCP BETWEEN 10.106.161.100 to .150
- VAP02 = IP ADDRESS AVAILABLE FROM DHCP BETWEEN 10.106.162.100 to .150
- VAP03 = IP ADDRESS AVAILABLE FROM DHCP BETWEEN 10.106.163.100 to .150
...
- VAP20 = IP ADDRESS AVAILABLE FROM DHCP BETWEEN 10.106.180.100 to .150

You can unbridge each VAP, then setup a DHCP server for each of them!! Start with one VAP to test this method! You might need help.

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
Ti-Rick
DD-WRT Novice


Joined: 03 Mar 2024
Posts: 3

PostPosted: Tue Mar 05, 2024 15:02    Post subject: Reply with quote
First, I did enable the JFFS2 Support "Internal Flash Storage" located in ADMINISTRATION / MANAGEMENT, then I turn to ENABLE FreeRadius located in SERVICES but it won't generate the certificate.

Can the router act as the FreeRadius Server or we need an computer or USB key plug on the router? If the router can actually be used as a server, does the router needs internet access in order to generate the certificate? I'm currently working on it without any internet access.

I've looked everywhere on the site but I can't find any tutorial about "FreeRadius". Do you know where I can't find some ?

The only ones I've founded was some hyperlinks that no longer works and they were pointing to differents websites.

NOTE : I'm using a router Asus RT-N66U H/W ver.B1

Thanks
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1858
Location: Hung Hom, Hong Kong

PostPosted: Wed Mar 06, 2024 4:23    Post subject: Reply with quote
Ti-Rick wrote:
First, I did enable the JFFS2 Support "Internal Flash Storage" located in ADMINISTRATION / MANAGEMENT, then I turn to ENABLE FreeRadius located in SERVICES but it won't generate the certificate.

Can the router act as the FreeRadius Server or we need an computer or USB key plug on the router? If the router can actually be used as a server, does the router needs internet access in order to generate the certificate? I'm currently working on it without any internet access.

I've looked everywhere on the site but I can't find any tutorial about "FreeRadius". Do you know where I can't find some ?

I have never used FreeRadius in DD-WRT. The only DD-WRT-related guide I found via Google:

How to configure DD-WRT, Chillispot, Apache2, FreeRadius, freeradius-dialupadmin, and MySQL on Debian 4.0 - DD-WRT Wiki
https://wiki.dd-wrt.com/wiki/index.php/How_to_configure_DD-WRT,_Chillispot,_Apache2,_FreeRadius,_freeradius-dialupadmin,_and_MySQL_on_Debian_4.0

[OpenWrt Wiki] FreeRADIUS
https://openwrt.org/docs/guide-user/network/wifi/freeradius

Getting Started
https://wiki.freeradius.org/guide/Getting-Started

freeradius howto - Google Search
https://www.google.com/search?q=freeradius+howto

The SSL certificate thing is another possibly difficult topic. I also dunno Freeradius need one. I think DD-WRT got a stock certificates "/etc/ssl/ca-bundle.crt" ! Smile

BTW, if you can set up multiple VAPs with different WPA2 passkeys, maybe you don't need FreeRadius' multiple username support. The differnent passkeys can already identify users.

Update:

Oh well, DD-WRT does NOT have the radtest command.
Code:
# which radtest
# radtest
-sh: radtest: not found

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum