[Main Page]

Running JRadius Server

JRadius works in conjuntion with FreeRADIUS, so you should already have your FreeRADIUS installation setup for JRadius.

Out of the box, JRadius doesn't really do that much. It is designed such that you can easily write your own handlers to perform your RADIUS logic. To get started, download and get the sample JRadius server running:

 wget http://jradius.net/dist/jradius-current.zip
 unzip jradius-current.zip
 cd jradius
 sh jradius.sh

From Source

A good way to up and running with handler development is to download and build using the current svn version. It can be used with Eclipse, ant, and maven.

Download Source

svn co http://dev.coova.org/svn/cjradius/

Building Library and Dictionary

To build the JRadius library, you can use Maven2 (see below) or ant. The use of Maven2 is new to JRadius and it will be used more. However, it is more typical to build JRadius with ant to build the jradius.jar and jradius-dictionary.jar files.

ant dist

You need Maven2 installed since even using ant, the dependencies are managed using maven.

Using with Maven2

To build using Maven2:

mvn clean install

This will produce the jradius-core.jar, jradius-dictionary.jar, jradius-extended.jar, and jradius-example.jar files in the target directory. The extended jar file contains the JRadius classes that require the dictionary.

Running Example Server

To run the example JRadius server based on the default jradius-config.xml:

ant run-example
Search >>

This page has been accessed 2,743 times. This page was last modified 18:14, 24 September 2007.