All devices fail to connect via WIFI to my Radius server.

Alan DeKok aland at deployingradius.com
Fri Jan 3 22:15:22 CET 2014


Cesar SANCHO PRADEL wrote:
> I am new to Radius so sorry in advance if my question has a simple
> obvious answer.

  Sometimes it does. Sometimes it doesn't.

> I have a FreeRADIUS Server running on a linux box, with mySQL holding
> the list of users/passwords.
> 
> radtest seems to work fine, but when I try to connect a laptop
> (Windows 7) or an iPad (iOS) via WIFI it does not work (they cannot
> connect).

  Read http://deployingradius.com/

  It has detailed instructions for configuring FreeRADIUS, for WiFi
access.  If you follow the instructions, it will work.

> If I run freeradiusd -X, I can see all the steps taken during radtest,

  That is good, but it isn't enough to make WiFi work.

> however when I try to connect with my laptop or iPad, there is no
> output from freeradius -X.

  Then your Access Point hasn't been configured to do RADIUS.  Or, the
firewall rules on your RADIUS server are blocking RADIUS packets.

> Any other device that tries to connect fails silently (i.e. no debug
> info displaied), as if the radius server did not receive any request
> at all.

  Then the RADIUS server didn't receive any request at all.

> My questions are:
> 1) Do I need a particular client application in the client machine or
> should I be able to connect directly from any device/OS?

  You don't need anything special on the client.  Certificates help, but
see the http://deployingradius.com/ guide for details.

> 2) Are the modifications to clients.conf correct based on my network?

  They seem OK.

> 3) The shared key I set in MY_WIFI_ROUTER (i.e. 9F6A5757EF) should
> match the "secret" set in the clientś.info, right?

  Yes.

> 4) Any ideas/help to be able to connect a device (e.g. my iPad or
> Laptop) via freeradius server would be appreciated.

  Find out why the RADIUS server isn't seeing packets.  Do network-level
/ firewall debugging.

  Alan DeKok.


More information about the Freeradius-Users mailing list