8

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?

Hennes
  • 64,768
  • 7
  • 111
  • 168
NullVoxPopuli
  • 601
  • 1
  • 12
  • 23
  • 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 06:31
  • here's a decent discussion of cross compiling for ddwrt: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=3668 – RobotHumans Dec 13 '10 at 06: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 'SO- stop being evil' Dec 13 '10 at 20:17

1 Answers1

5

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...

英律功
  • 441
  • 2
  • 4
  • See, I'm trying to get freeRadius on the actual router. =\ – NullVoxPopuli Dec 13 '10 at 13:33
  • 1
    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: http://www.dd-wrt.com/wiki/index.php/Optware#Example_scenario_of_installing_some_packages_on_WRT54GS_.28v1.0_.._v3.0.29 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
  • Update. OptWare is outdated for now, https://github.com/Entware-ng/Entware-ng/wiki/Install-on-DD-WRT is way to go – Tõnu Samuel Nov 13 '17 at 06:03