tongue_of_colicab
Veteran
Hey,
I'm working on a project where I have a bunch of remote hotspots authenticating against a radius server with a mysql database. As I have pretty much zero experience with both I'm a bit stuck.
I've got the freeradius server and mysql working. I can also authenticate users and send attributes to them to limit data usage etc. So far so good.
The problem I'm running into is regarding authenticating users based on the NAS/hotspot. I can't get freeradius to base authentication on source.
E.g. If there is authenticating from NAS_location_A I first want freeradius to check if that location is in the location table, if not it must reject the request. If the location is in the table I want it to check to corresponding user group to match the username/password. The only caveat here is I don't know the NAS IP so I want to use NAS-ID or whatever instead.
I've been googling for the past couple of days but haven't found anything helpful. The freeradius documentation is sparse to say the least and the only documentation they have on their wiki regarding this is incorrect according to mailing list posts I've been able to find. No forum either so for any help I'm stuck with a mailing list...
Anybody here got any experience with mysql and freeradius or knows a good forum to ask for help?
I'm working on a project where I have a bunch of remote hotspots authenticating against a radius server with a mysql database. As I have pretty much zero experience with both I'm a bit stuck.
I've got the freeradius server and mysql working. I can also authenticate users and send attributes to them to limit data usage etc. So far so good.
The problem I'm running into is regarding authenticating users based on the NAS/hotspot. I can't get freeradius to base authentication on source.
E.g. If there is authenticating from NAS_location_A I first want freeradius to check if that location is in the location table, if not it must reject the request. If the location is in the table I want it to check to corresponding user group to match the username/password. The only caveat here is I don't know the NAS IP so I want to use NAS-ID or whatever instead.
I've been googling for the past couple of days but haven't found anything helpful. The freeradius documentation is sparse to say the least and the only documentation they have on their wiki regarding this is incorrect according to mailing list posts I've been able to find. No forum either so for any help I'm stuck with a mailing list...
Anybody here got any experience with mysql and freeradius or knows a good forum to ask for help?