Sorry, you don't set the Sessiun-Timeout, you set the Mas-All-Session,
the server calculates the session-timeout.

Do this:

> INSERT into radcheck VALUES
('','test0001','Max-All-Session','54000',':=');

Where 'test0001' is the username and '54000' is the number of seconds
of total online time.


--- Bartosz Jozwiak <[EMAIL PROTECTED]> wrote:
> 
> 
> 
> > Did you set 'Session-Timeout := ???' for the account?
> 
> I have tryed it just now with Session-Timeout and I have tryed
> without.
> Still the same problem.
> 
> >
> > And did you follow the instructions in doc/rlm_sqlcounter?
> 
> Yes I have followed instructions from doc/rlm_sqlcounter.
> I have searched archives and a lot of peoples has problem with the
> same
> error
> but there is no solution.
> Can somebody help ? Please...
> 
> Bartosz
> 
> >
> > --- Bartosz Jozwiak <[EMAIL PROTECTED]> wrote:
> > > Ok I have managed to configure rlm_sqlcounter but I get
> > > fallowing error while login:
> > >
> > > rlm_sqlcounter: Entering module authorize code
> > > rlm_sqlcounter: Could not find Check item value pair
> > >   modcall[authorize]: module "noresetcounter" returns noop for
> > > request 0
> > >
> > > How I can fix it ?
> > > I have seen it in archives of mailing list but I could not solve
> the
> > > problem.
> > >
> > > Bartosz
> > >
> > > > > I would like to set up following configuration:
> > > > >
> > > > > I am trying to set up prepaid solution for dialup customers.
> > > > > Some accounts in radius should be allowed to login (total
> time on
> > > line)
> > > > > for
> > > > > 60 minutes.
> > > > > Some accounts in should be configured to login (total time on
> > > line) 30
> > > > > minutes.
> > > > > This "time on-line" should never be cleard or renew (no dail,
> no
> > > monthly
> > > > > etc...).
> > > > > But when customer whats to by more "time on-line" I can
> change it
> > > in
> > > > > database (recharge his account)
> > > > >
> > > > > Is such a configuration possible with rlm_sqlcounter ?
> > > > yes it is possible. my advise for you to read more of
> > > rlm_sqlcounter and
> > > > other
> > > > freeradius attributes.more help are existing with the mailling
> > > list, just
> > > > dig more of it.
> > > > //milver
> > > >
> > > >
> > > >
> > > > -
> > > > List info/subscribe/unsubscribe? See
> > > http://www.freeradius.org/list/users.html
> > > >
> > >
> > >
> > > -
> > > List info/subscribe/unsubscribe? See
> > > http://www.freeradius.org/list/users.html
> > >
> >
> >
> > =====
> > Julius Igugu
> > SouthWork Co. Ltd.
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - 50x more storage than other providers!
> > http://promotions.yahoo.com/new_mail
> >
> > -
> > List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> >
> 
> 
> - 
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> 


=====
Julius Igugu
SouthWork Co. Ltd.


                
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

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

Reply via email to