Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Chillispot with FreeRadius and MySQL
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
LordArthas
Guru
Guru


Joined: 01 Nov 2004
Posts: 493
Location: Maniago, Friûl, Italia

PostPosted: Fri Nov 11, 2005 12:25 pm    Post subject: HOWTO: Chillispot with FreeRadius and MySQL Reply with quote

Hi!

I wrote an HOWTO which explains the setup of Chillispot with FreeRadius and MySQL (and Apache). It's on the Gentoo Wiki:

http://gentoo-wiki.com/HOWTO_Chillispot_with_FreeRadius_and_MySQL

I hope it'll be helpful to some Gentoo users!

Michele.
_________________
Michele Beltrame
Italian Perl Workshop 2011
http://www.perl.it/workshop/
Back to top
View user's profile Send private message
Dizzutch
Guru
Guru


Joined: 09 Nov 2004
Posts: 463
Location: Worcester, MA

PostPosted: Fri Nov 11, 2005 1:45 pm    Post subject: Reply with quote

Hey that's cool, i was thinking of setting that up, since I notice all the college students who live near me using (probably unknowlingly) my WiFi connection. I was thinking a week of access in return for a microbrewed six pack?
Thanx
-Dizz
Back to top
View user's profile Send private message
LordArthas
Guru
Guru


Joined: 01 Nov 2004
Posts: 493
Location: Maniago, Friûl, Italia

PostPosted: Fri Nov 11, 2005 4:42 pm    Post subject: Reply with quote

Hi Dizzutch!

I just added a section on accounting to the HOWTO, so you can charge them on a per-Megabyte basis and have a beer every n MB. ;-)

Michele.
_________________
Michele Beltrame
Italian Perl Workshop 2011
http://www.perl.it/workshop/
Back to top
View user's profile Send private message
anjames
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 111
Location: San Diego, CA

PostPosted: Sun Sep 17, 2006 8:43 pm    Post subject: Reply with quote

How does the tun driver know which devices to tunnel packets for? Is this all automatic or does it require extra configuration?

Also, in your howto
http://gentoo-wiki.com/HOWTO_Chillispot_with_FreeRadius_and_MySQL#Network_and_Firewall_configuration
you suggest bringing up the master card but not configuring it. Does chillispot do this for you? How does one set the SSID of their hotspot without configuring their interface? I used
Code:
# ChilliSpot config
#config_wlan0="0.0.0.0"
config_wlan0="192.168.0.1"
mode_wlan0="master"
essid_wlan0="pirateNet"
channel_wlan0="9"

to name, assign an ip to, and bring up my card. Is this correct or would chillispot do this anyway? Probably I should have used the 192.168.182 chillispot default subnet, but everything seems to be working except the DNS server, which I've now configured.

(sorry about the simul-PM but I thought this should go in the forums too)
_________________
Alex James

"Physics is like sex: sure there are applications but that's not why we do it." --Richard Feynman
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Mon Sep 18, 2006 1:29 am    Post subject: Reply with quote

how would this work if I wanted to use two wired nics and a wifi AP (such as my wireless router)?
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
anjames
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 111
Location: San Diego, CA

PostPosted: Mon Sep 18, 2006 5:19 am    Post subject: Reply with quote

So I guess the configuration would be for one card connected to the internet, one to a LAN, and the wifi card for a hotspot then? I don't think that the config would change at all. In fact, I believe that the card connected to the internet isn't mentioned in the HOWTO except where you are required to bring up the interface to provide an internet connection. I think that's all.
_________________
Alex James

"Physics is like sex: sure there are applications but that's not why we do it." --Richard Feynman
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Mon Sep 18, 2006 4:04 pm    Post subject: Reply with quote

how about something like this:
http://neucode.org/gallery/v/admin/home.jpg.html
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
anjames
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 111
Location: San Diego, CA

PostPosted: Mon Sep 18, 2006 5:51 pm    Post subject: Reply with quote

I believe you would need to install chillispot on the wireless router, and probably configure it to use radius, sql, and apache on the 'server/radius/router'. I believe that in principle you could alternatively install it on the 'server/radius/router' to capture traffic from the LAN also if you wanted to authenticate LAN systems as well. You could issue different subnets for wireless and LAN clients to handle them separately. Not that I've done this, but it's what seems to make sense to me.
_________________
Alex James

"Physics is like sex: sure there are applications but that's not why we do it." --Richard Feynman
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Mon Sep 18, 2006 6:17 pm    Post subject: Reply with quote

Hmm, thats what I though as well.

I just want some kind of authentication system for wireless users. I am looking for something to implement into a production environment. We often have people from overseas visiting us, and it would be nice to have security on our wifi. Allowing them access to the internet but without actually allowing them access to our network.

I suppose in that sense, I could just use iptables and static routes.


hmm....

/me runs off to think about this one....

If anyone has any ideas or links that may help me, I welcome the advise.
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum