On 20/09/12 15:34, Tarık Kabak wrote:
rad_recv: Access-Request packet from host 10.0.0.2 port 2048, id=28, length=141 User-Name = "test" NAS-IP-Address = 10.0.0.2 NAS-Port = 0 Called-Station-Id = "00-1E-E5-21-25-58" Calling-Station-Id = "00-16-44-F9-E6-02" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 11Mbps 802.11b" EAP-Message = 0x020100090174657374 Message-Authenticator = 0xc695aa1d11f4a5f93876c6f74e240f67
This is an EAP request. What you want to do is impossible. See here: http://deployingradius.com/documents/protocols/oracles.html You should consider a PHP script equivalent to "PAM". That is, a script that checks username/password can only work with PAP requests.