Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a radius server set up on a server running Ubuntu 11.04. I have configured my switch to use the authentication server's IP ( for RADIUS / 802.1x authentication, and I created a connection to test connecting from my Mac OSX client.

Here is my radius configuration for the client:

client {
  secret = testing123

I can successfully authenticate using both (localhost) and (ip of eth1), so I know radius is getting those requests.

I set up a connection to test from my macbook, and my requests are timing out.

Is there a better way to test the radius connection from my macbook? Thanks!

UPDATE: I was able to successfully test on Mac OSX client using RadPerf. This is available as a cross-platform command line tool.

share|improve this question
I realise this question was closed a long time ago. But I don't suppose you still have a copy of radperf available? The website gives an error when you try to register for a download:/ – smoothwall.cjf Oct 27 '13 at 19:30
This question was never closed, and nobody has yet provided an answer. – Michael Hampton Oct 27 '13 at 22:39

FreeRadius provides a tool called radtest that sends a RADIUS packet to a server, asking it to authorize a request with a username and password provided on the command line:

radtest username password radius-server[:port] nas-port-number secret

To install radtest on OS X, install Homebrew:

$ ruby -e "$(curl -fsSL

The installer will probably prompt you to do a few things, such as install Xcode, run brew doctor, or run brew update. Finish the install and then run:

$ brew install freeradius-server

Once Homebrew finishes installing FreeRadius, radtest should be available for your use:

$ radtest username password 10 secret

A few notes.

  1. The 10 is the request's NAS-Port attribute. In most cases, it doesn't matter what you set for the NAS-Port, so long as its a reasonable port number.
  2. The commands above will install FreeRadius 2.0.6 on your computer, but if you're interested in version 3.0.7, run brew install --devel freeradius-server. (This may change in the future as FreeRadius progresses to a v3.1, v3.0, and v2.0 versioning system.)
  3. radtest is a front end for radclient, which should also be available after you install FreeRadius. If you want more sophisticated testing abilities, check out the radclient man page for more details.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.