[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: captive portal + count the minutes



This one time, at band camp, Luis Enrique Salas C. said:
> > 
> On Mon, 2007-06-04 at 10:53 -0500, Luis Enrique Salas C. wrote:
> 
> > I think someone already said the answer, radius. Something like
> > freeradius will allow you to set session-timeout values to logout
> > a user after a specified time.
> 
> I think that this answer is not correct for my scenario, 
> ----------------------------------------------------------------------------
> -
> My scenario : a user "X"  that can use internet for 300 minutes on 15
> day....
> User "X" before yesterday used 60 minutes
> User "X" yesterday used 40 minutes
> User "X" today used 115 minutes
> User "X" tomorrow will use 15 minutes
> User "X" after tomorrow will use 70 minutes ..... here the total of the
> minutes assigned for the user "X" finished and the user can't to use
> internet
> 
> =====> user "X" used 300 minutes in five days and each day used distinct
> amount of minutes
> =====> if I set to radius session-timeout to 40 minutes for example this
> permit that the user always is connected 40 minutes for session
> ====> ; and it doesn't control the sum of the total minutes for example 300
> minutes
> --------------------------------------------------------------------------- 

You probably want to read the documentation for the counter module,
then.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature


Reply to: