openwrt, freeradius
Mildok
mildok at mail.ru
Wed Apr 13 07:25:41 CEST 2016
First - sorry for my English.
OpenWrt Chaos Calmer 15.05.1
freeradius 2.2.8-2
Installed:
freeradius2
freeradius2-common
freeradius2-democerts
freeradius2-mod-chap
freeradius2-mod-eap
freeradius2-mod-eap-mschapv2
freeradius2-mod-eap-peap
freeradius2-mod-eap-tls
freeradius2-mod-eap-ttls
freeradius2-mod-exec
freeradius2-mod-files
freeradius2-mod-mschap
freeradius2-mod-pap
freeradius2-mod-radutmp
freeradius2-mod-realm
freeradius2-utils
Problem:
All working, but I want use MAC-address based authentication.
I append "rewrite.calling_station_id" in "authorize {" section in "/etc/freeradius2/sites/default". That i get:
authorize {
rewrite.calling_station_id
eap {
ok = return
}
files
pap
}
authenticate {
Auth-Type PAP {
pap
}
Auth-Type CHAP {
chap
}
Auth-Type MS-CHAP {
mschap
}
eap
}
accounting {
exec
}
session {
radutmp
}
But I get error:
Module: Checking authorize {...} for more modules to load
/etc/freeradius2/sites/default[92]: Failed to find "rewrite.calling_station_id" in the "modules" section.
I solve this error.
In /etc/freeradius2/radiusd.conf, I uncomment:
#$INCLUDE policy.conf
After it I get this errors:
Module: Checking authorize {...} for more modules to load
Module: Loading virtual module rewrite.calling_station_id
/etc/freeradius2/policy.conf[250]: Failed to find "updated" in the "modules" section.
/etc/freeradius2/policy.conf[250]: Failed to parse "updated" entry.
/etc/freeradius2/policy.conf[246]: Failed to parse "if" subsection.
/etc/freeradius2/sites/default[69]: Errors parsing authorize section.
And now I dont know what can I do.
--
ilya Gafarov
More information about the Freeradius-Users
mailing list