test succeeds but can't connect?

Alan DeKok aland at deployingradius.com
Mon Mar 2 17:55:58 CET 2015

On Mar 2, 2015, at 9:28 AM, Brian <bstringfellow at bobcad.com> wrote:
> I am using  FreeRADIUS Version 2.1.12 on CentOS 6.

  You should really be using 2.2.6.  It’s not hard to download and install it.

> I set up Freeradius and MSCHAPV2 according to these guides.
> http://safesrv.net/install-and-setup-freeradius-on-centos-5/

  That’s not too bad.

> http://www.tldp.org/HOWTO/8021X-HOWTO/freeradius.html

  That’s old.  Very, very, old.

> The tests succeed.
> Sending Access-Request of id 148 to port 1812
>        User-Name = "test"
>        User-Password = "test"
>        NAS-IP-Address =
>        NAS-Port = 0
>        Message-Authenticator = 0x00000000000000000000000000000000
> rad_recv: Access-Accept packet from host port 1812, id=148, length=20

  Which is nice, but not enough.  See my guide here:


  Follow the steps.  It *will* work.

> However when I tried to implement it in WPA2 enterprise on my DD-WRT router, I can't connect. It just keeps trying to authenticate on my device but never succeeds. I did make sure to select peap/mschapv2. I also made sure port 1812 was open on the server and it is, both incoming and outgoing.
> I can't find any log file that would show any useful info.

  Uh… no.  The debug output is available.  It’s documented *everywhere*.

  Run the server in debugging mode.  My guide above goes into excruciating detail.

  Alan DeKok.

More information about the Freeradius-Users mailing list