my radius server is working but will only work if I enter the actual web server IP as the client!

If i have only the AP ip as the client, radius server would reject my request!

Equipment:
Linksys WRT54GL installed with DD-WRT/Chillispot
Radius server = freeradius
Web Server (on the same machine as the radius server)


Ok this is refering to /usr/local/etc/raddb/clients.conf
inside this file you will find something like this

client ***.***.***.*** {
secret = testing123
shortname = r-wifi-01
nastype = other
}

Someone said that the client IP (***.***.***.***) should be the ip of the AP (ie WRT54GL)
but shouldn't the client IP be the ip of web server instead? since it is this web server that is hosting the hotspotlogin.cgi file and it is this web server that is making the request to log the user in!

it makes sense if the client IP is the AP IP only if the AP is hosting the login page "hotspotlogin.cgi"

Please let me know if i am right or wrong!!!

I looked at http://www.chillispot.info/chilliforum/viewtopic.php?id=7

My configuration might be posted there it might be wrong, but i got the thing installed but its not working!

what did you guys do to get radius to work with chillispot!

Slight modification


Install/Configure Ubuntu 7.04 with freeradius 1.1.6
-----------------------------------------------------
This how will guide you how to install and configure FreeRadius to work with Linksys WRT54G on which Chillispot runs.
I assume LAMP is installed.
Go to www.freeradius.org and download Free Radius 1.1.6

Before Installing Radius
------------------------
Before you compile version 1.1.6 of Free Radius, ensure the following packages are installed.
They ensure that Free Radius can use the Perl and MySQL modules.

sudo apt-get install build-essential libmysqlclient15-dev libperl-dev


Installing Radius
-----------------
#tar -xzvf freeradius-1.1.6.tar.gz
#cd freeradius-1.1.6
#./configure
#make
#sudo make install

Testing Radius
--------------
#sudo /usr/local/sbin/radiusd -X

press ctrl+c to exit

Configuring Radius clients.conf
-------------------------------
Ok our radius is compiled and installed.
The configuration files can be found under /usr/local/etc/raddb/
#sudo nano /usr/local/etc/raddb/clients.conf

First thing we are going to edit clients.conf file.
In this file we will add every Linksys WRT54G to clients list.
Remember to add public IP address or address which are assigned to INTERNET port on our WRT54G.

For example I have only one WRT54G so I will add entry like that:

client ***.***.***.*** {
secret = testing123
shortname = r-wifi-01
nastype = other
}

The *** should be IP address of your WRT.
Secret - you should have the same entry here and in WRT54G

cant download Chillispot 1.0 Released 2005-09-23

please reupload source code and fix the link

thanks

6

(2 replies, posted in from Source)

how much?