Hi All,
I have setup a radius server using freeradius. I have setup a test client username and password on the radius server and the Mikrotik router connects fine to the radius server. See Below:
Radius echo
rad_recv: Access-Request packet from host 192.168.2.10:1068, id=43, length=200
NAS-Port-Type = Wireless-802.11
Calling-Station-Id = “00:13:02:D6:6C:DF”
Called-Station-Id = “hotspot1”
NAS-Port-Id = “wlan-AP1”
User-Name = “rudytest”
NAS-Port = 2148532246
Acct-Session-Id = “80100016”
Framed-IP-Address = 10.5.50.249
Mikrotik-Host-IP = 10.5.50.249
CHAP-Challenge = “b\277m.\256~\257\202\322\241+\250~\3516\371”
CHAP-Password = “\003\260\335\235\356\350\237\272;\003ef\256\204\230\334\346”
Service-Type = 1
WISPr-Logoff-URL = “http://10.5.50.1/logout”
NAS-Identifier = “Lobo916N1”
NAS-IP-Address = 192.168.2.10
rlm_chap: Setting ‘Auth-Type := CHAP’
rlm_sql (sql): Reserving sql socket id: 4
rlm_sql (sql): Released sql socket id: 4
rlm_chap: login attempt by “rudytest” with CHAP password
rlm_chap: Using clear text password test for user rudytest authentication.
rlm_chap: chap user rudytest authenticated succesfully
rlm_sql (sql): Processing sql_postauth
rlm_sql (sql): Reserving sql socket id: 3
rlm_sql (sql): Released sql socket id: 3
Sending Access-Accept of id 43 to 192.168.2.10 port 1068
The user is prompted to login via the mikrotik hotspot page which sends the details to the radius server which authenticates OK but then we gat the error “cannot assign ip address - no more free addresses from pool”
Please mikrotik log below:
12:32:44 dhcp,info,debug dhcp1 assigned 10.5.50.249 to 00:13:02:D6:6C:DF
12:32:58 hotspot,info,debug rudytest (10.5.50.249): trying to log in by http-
chap
12:33:00 hotspot,info,debug rudytest (10.5.50.249): login failed: no address
from ip pool
Please can someone tell me where I am going wrong here. I cannot seem to workout if its the radius our mikrotik
Thanks Mark