Настраиваю связку Mikrotik DHCP + Freeradius DHCP
Столкнулся с такой проблемой, поиск не чего не находит
Что показывает Freeradius
Код: Выделить всё
rad_recv: Access-Request packet from host 172.23.1.254 port 48986, id=6, length=109
NAS-Port-Type = Ethernet
NAS-Port = 2206203959
Calling-Station-Id = "1:1c:75:8:5:80:b2"
Called-Station-Id = "dhcp"
User-Name = "1C:75:08:05:80:B2"
User-Password = ""
NAS-Identifier = "test254"
NAS-IP-Address = 172.23.1.254
# Executing section authorize from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group authorize {
++[preprocess] = ok
++[mschap] = noop
[files] users: Matched entry DEFAULT at line 38
++[files] = ok
Auth-Type := Accept
Use of uninitialized value in concatenation (.) or string at /usr/abills/libexec/../Abills/mysql/main.pm line 154.
Use of uninitialized value in concatenation (.) or string at /usr/abills/libexec/../Abills/mysql/main.pm line 154.
rlm_perl: Added pair NAS-Port-Type = Ethernet
rlm_perl: Added pair User-Name = 1C:75:08:05:80:B2
rlm_perl: Added pair Calling-Station-Id = 1:1c:75:8:5:80:b2
rlm_perl: Added pair NAS-IP-Address = 172.23.1.254
rlm_perl: Added pair User-Password =
rlm_perl: Added pair Called-Station-Id = dhcp
rlm_perl: Added pair NAS-Identifier = test254
rlm_perl: Added pair NAS-Port = 2206203959
rlm_perl: Added pair Reply-Message = Bill account Not Exist
rlm_perl: Added pair Auth-Type = Reject
++[perl] = reject
+} # group authorize = reject
Using Post-Auth-Type Reject
# Executing group from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
+group REJECT {
rlm_perl: Added pair NAS-Port-Type = Ethernet
rlm_perl: Added pair User-Name = 1C:75:08:05:80:B2
rlm_perl: Added pair Calling-Station-Id = 1:1c:75:8:5:80:b2
rlm_perl: Added pair NAS-IP-Address = 172.23.1.254
rlm_perl: Added pair Called-Station-Id = dhcp
rlm_perl: Added pair User-Password =
rlm_perl: Added pair NAS-Identifier = test254
rlm_perl: Added pair NAS-Port = 2206203959
rlm_perl: Added pair Reply-Message = Bill account Not Exist
rlm_perl: Added pair Post-Auth-Type = Reject
rlm_perl: Added pair Auth-Type = Reject
++[perl] = ok
+} # group REJECT = ok
Delaying reject of request 3 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Request packet from host 172.23.1.254 port 48986, id=6, length=109
Waiting to send Access-Reject to client 172.23.1.254 port 48986 - ID: 6
Waking up in 0.4 seconds.
Sending delayed reject for request 3
Sending Access-Reject of id 6 to 172.23.1.254 port 48986
Reply-Message = "Bill account Not Exist"
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 172.23.1.254 port 48986, id=6, length=109
Sending duplicate reply to client 172.23.1.254 port 48986 - ID: 6
Sending Access-Reject of id 6 to 172.23.1.254 port 48986
Reply-Message = "Bill account Not Exist"
Waking up in 4.9 seconds.
Cleaning up request 3 ID 6 with timestamp +51
Ready to process requests.
Код: Выделить всё
dhcp,error dhcp: radius authentication failed for 1C:75:08:05:80:B2: Bill account Not Exist
Bill account Not Exist