Directing clients from specific SSID to use set passwords
Alan DeKok
aland at deployingradius.com
Mon Jan 25 13:39:04 CET 2021
On Jan 25, 2021, at 4:07 AM, lingctam <lingctam at hku.hk> wrote:
> I need to set up a guest SSID and auth requests from this SSID need to be directed to the freeradius USERS and PASSWD file for authentication.
>
> Under the running virtual server, I have added the following line:
>
> If (Called-Station-Id =~ /SSID/) {
> Files
> Passwd
> }
>
>
> I am getting the following errors in the debugging log:
>
> (19) elsif (Called-Station-Id =~ /SSID/) {
> (19) ERROR: Failed retrieving values required to evaluate condition
>
> Could you please point me towards what may cause this? Am I missing some attributes that need to be in the files/authorize file?
Read the debug output. There's no Called-Station-Id in the packet.
You can't check the value of something which doesn't exist.
Alan DeKok.
More information about the Freeradius-Users
mailing list