1 (edited by Revolver 2008-01-26 04:55:49)

Topic: Am I right or wrong about this ref: /usr/local/etc/raddb/clients.conf

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

Re: Am I right or wrong about this ref: /usr/local/etc/raddb/clients.conf

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!

Re: Am I right or wrong about this ref: /usr/local/etc/raddb/clients.conf

try this its known to work, but it will accept radius client requests from everywhere - also change the stock secret away from testing123

client 0.0.0.0/0 {
secret = testing123
shortname = r-wifi-01
nastype = other
}

then your swarm box should work wink assuming it is swarm's software you are using,,

Regards

4 (edited by simplywifi 2008-03-23 20:10:18)

Re: Am I right or wrong about this ref: /usr/local/etc/raddb/clients.conf

Revolver, any reply to the help i have given???

OPs. NO not to date.  go find daloRADIUS and install it!

its WOW better then dialup_admin, php based with the correct modules and apps/services its a winner!

wink chillispot just got good.

Re: Am I right or wrong about this ref: /usr/local/etc/raddb/clients.conf

"Someone said that the client IP (***.***.***.***) should be the ip of the AP (ie WRT54GL)"
Yes this is right, You don't call directly the login cgi script but when you are trying to access a web page chilli redirects you to the login cgi script to login
I use freeradius and chillispot that way and it's working flawlessly. Maybe u have another misconfiguration in freeradius??

Re: Am I right or wrong about this ref: /usr/local/etc/raddb/clients.conf

hi, i am newbie

i have  confuse here with http://daloradius.wiki.sourceforge.net/Chillispot+Integration

actually how do i can adept daloradius with DD-WRT?


secondly, how do i generate prepaid account using daloradius application?

Re: Am I right or wrong about this ref: /usr/local/etc/raddb/clients.conf

Hey khy1188,

daloRADIUS is in-dependent of your NAS, you can use it with DD-WRT, OpenWRT, X-WRT, FreeWRT, etc...
it really doesn't matter, as long as you configure FreeRADIUS to work with it.

To generate prepaid cards go to Management -> Users -> Batch Add
there you can create multiple prepaid users with whatever username prefix you choose.

If you have further questions it would probably be wiser to ask these questions
in daloRADIUS forums: http://sourceforge.net/forum/?group_id=193562

We're also available online on freenode IRC network to help you out at #daloradius.


Regards,
Liran Tal.

Re: Am I right or wrong about this ref: /usr/local/etc/raddb/clients.conf

Liri, we must skype soon your SVN versions are getting there!

if i can help with suggestions i will, im sysadmin more than coding so i impliment rather than create. . . if you need demo servers or anything im happy to provide


Regards

Andrew - AKADATA...

Re: Am I right or wrong about this ref: /usr/local/etc/raddb/clients.conf

Andrew - definitely!