> Hello list,
> 
> I'm new to Radius in general, so please excuse me for this question 
> which I'm sure is probably quite simple. I've spent ages looking through 
> the archives and have been unable to find an answer to my question.
> 
> I'm trying to set up a Wi-Fi hotspot that will use prepaid tickets 
> (scratch-cards) using NoCatAuth 0.82 + RADIUS patch and FreeRadius 
> 1.0.0-1 on Debian Linux i386. I have the hotspot part working fine, I am 
> able to connect and can use a username and password combo in the 
> /etc/freeradius/users file to authenticate and connect.
> 
> The problem I'm having is with timeouts. I understand that 
> Session-Timeout can be sent to the NAS (in this case NoCat) on 
> acceptance, and the NAS is supposed to handle chucking the user off 
> after the appropriate number of seconds. I also understand that the 
> counter module is supposed to keep track of some predefined limit and 
> send the appropriate Session-Timeout, decrementing the time remaining as 
> time is used up. I have enabled the counter module, put it in 
> instantiate, authorize and accounting (making sure it is after "files" 
> in the authorize section), and set a Max-Daily-Session value in the 
> users file.
> 
> However, when I connect, the rlm_counter module just says "We only run 
> on Accounting-Stop packets", but as the user is never going to log out 
> (he is meant to time out) this means the counter never gets run, and he 
> can stay logged in indefinitely. Do I need a patch to rlm_counter, or do 
> I need to modify the NAS (NoCat)?
> 
> Could someone please help me with this? I know that I must just be 
> missing some basic information on how Radius and NASes work, but I don't 
> know what it is as I'm new to it all. Please excuse my ignorance!
> 
> Thank you very much.
> 

There is a better solution that NoCat.
Use FreeRadius + ChilliSpot  ( www.chillispot.org ) 

Bartosz

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to