Super User is a question and answer site for computer enthusiasts and power users. 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

Ideally, in my environment, the radius server would run on the router, so that we can save power.

Now, I've heard of people using freeRadius, which I've heard is great, but is kind of a pain to set up. But as long as there are instructions, I can't complain.

So, does anyone know how, or have any links for setting up RADIUS on the DD-WRT router?

for reference: my router is Netgear WNR3500v2, so it has 64MB of space, most of it free. So there shouldn't be a problem getting freeRadius on there, if that is the chosen RADIUS server.

Following a tutorial: I telnetted into my router, did ipkg update, got a bunch of erros "failed to retrieve"

this is what I get when I type df:

root@OverMind:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 2048      2048         0 100% /
/dev/mtdblock/4           4160       260      3900   6% /jffs
/dev/mtdblock/4           4160       260      3900   6% /opt

so maybe I don't have enough free space?

share|improve this question
i had problems installing radius authenticator on the authenticating device, but it could have been an implementation problem on my part. freeradius has quite a few dependencies for a full build, so the first thing to look into is compile options with the minimum supported feature set – RobotHumans Dec 13 '10 at 6:31
here's a decent discussion of cross compiling for ddwrt: – RobotHumans Dec 13 '10 at 6:33
Yes, your root filesystem is full. You need to either reflash with a larger root fs or arrange for some files to be in the read-write filesystem in /dev/mtdblock/4. – Gilles Dec 13 '10 at 20:17
up vote 4 down vote accepted

Let's give this one a shot: A How To for DD-WRT, FreeRadius, and ChilliSpot. The FreeRadius packages exist in OptWare (package 242/3) OptWare packages as apparently stable so you may not be in for too much of a hassle on this one...

share|improve this answer
See, I'm trying to get freeRadius on the actual router. =\ – NullVoxPopuli Dec 13 '10 at 13:33
That is what I answered, isn't it? FreeRadius exists in the OptWare repo so just ssh into the router, follow the extensive instructions provided here:… and then "ipkg install freeradius". The Chilli link was for and FR config questions that might arise... – 英律功 Dec 13 '10 at 13:55
oh, lol, i'll give it a go – NullVoxPopuli Dec 13 '10 at 16:35
I ran into a problem, wondering if you know of a solution. Adding to question. – NullVoxPopuli Dec 13 '10 at 16:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .