Max-All-Session counter module problem[SOLVED]

2009-08-30 Thread Bishal Pun
Hello all, Problem is solved. Actually it was due to radgroupcheck table. There I have inserted Max-All-Session as 9. I deleted it and now the user can log in. Thank you Bishal Hi, I am posting the debug of another user who has same problem: rad_recv: Access-Request packet from hos

Max-All-Session counter module problem

2009-08-29 Thread Bishal Pun
Hi, I am posting the debug of another user who has same problem: rad_recv: Access-Request packet from host 202.79.xx.XX port 65050, id=12, length=189 NAS-Identifier = "pppoe-bhw." Acct-Session-Id = "1633129-mpd-pppoe-70" NAS-Port = 70 NAS-Port-Type = Ethernet S

Re: Using counter module

2008-11-03 Thread tnt
>I would like to use the counter module (not the sql_counter module) of >FreeRadius 2.0.5 and I have questions about it : > >1 - If it's possible, how can I display the value of a counter into the >reply message ? > Counter value is held in the attribute defined by counte

Using counter module

2008-11-03 Thread Romain Mercier
Hi ! I would like to use the counter module (not the sql_counter module) of FreeRadius 2.0.5 and I have questions about it : 1 - If it's possible, how can I display the value of a counter into the reply message ? 2 - I have created a counter based on the Acct-Output-Octets, so when a

Re: Where to find sql counter module ?

2007-02-25 Thread YvesDM
On 2/25/07, Tas Dionisakos <[EMAIL PROTECTED]> wrote: Just "vim /etc/freeradius/dictionary" and include the following line "$INCLUDE/usr/share/freeradius/dictionary.chillispot" Oh, and move the chillispot.dictionary file into the /usr/share/freeradius directory just to keep things nea

Re: Where to find sql counter module ?

2007-02-25 Thread Tas Dionisakos
Just "vim /etc/freeradius/dictionary" and include the following line "$INCLUDE/usr/share/freeradius/dictionary.chillispot" Oh, and move the chillispot.dictionary file into the /usr/share/freeradius directory just to keep things neat! Goodluck! Tas. YvesDM wrote: > > > On 2/24/07, *

Re: Where to find sql counter module ?

2007-02-24 Thread YvesDM
On 2/24/07, Graham Beneke <[EMAIL PROTECTED]> wrote: Looks like a dictionary problem to me - Chillispot's dictionary is not yet part of FR you have to add it manually. Maybe someone with a little spare time can throw together the Chillispot dictionary as a patch ;-) Graham Beneke Yeah, tha

Re: Where to find sql counter module ?

2007-02-24 Thread YvesDM
On 2/24/07, Graham Beneke <[EMAIL PROTECTED]> wrote: YvesDM wrote: > rlm_sqlcounter: No such attribute ChilliSpot-Max-Total-Octets > obelix:/etc/freeradius# > > > > Strange... > But I'm not in a rush, I'll find out what's wrong :-) > Looks like a dictionary problem to me - Chillispot's dictiona

Re: Where to find sql counter module ?

2007-02-24 Thread Graham Beneke
YvesDM wrote: > rlm_sqlcounter: No such attribute ChilliSpot-Max-Total-Octets > obelix:/etc/freeradius# > > > > Strange... > But I'm not in a rush, I'll find out what's wrong :-) > Looks like a dictionary problem to me - Chillispot's dictionary is not yet part of FR you have to add it manual

Re: Where to find sql counter module ?

2007-02-24 Thread Abel Monzón
- Original Message - From: YvesDM To: FreeRadius users mailing list Sent: Saturday, February 24, 2007 9:03 AM Subject: Re: Where to find sql counter module ? On 2/24/07, PD <[EMAIL PROTECTED]> wrote: Simple questions... how and where to get sql counter

Re: Where to find sql counter module ?

2007-02-24 Thread YvesDM
On 2/24/07, Graham Beneke <[EMAIL PROTECTED]> wrote: In the current version of FR (1.1.4) the sqlcounter module is no longer experimental - comes as in the default collection of modules. There is also a wiki article on using sqlcounter: http://wiki.freeradius.org/Rlm_sqlcounter Its not comple

Re: Where to find sql counter module ?

2007-02-24 Thread Graham Beneke
YvesDM wrote: > On 2/24/07, *PD* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > > Simple questions... > how and where to get sql counter module ? > I try to googling for hours but still can not find it. > > TIA > >

Re: Where to find sql counter module ?

2007-02-24 Thread YvesDM
On 2/24/07, PD <[EMAIL PROTECTED]> wrote: Simple questions... how and where to get sql counter module ? I try to googling for hours but still can not find it. TIA PD You should compile FR with experimental modules You have to create the module yourself Read rlm_sqlcounter in t

Where to find sql counter module ?

2007-02-23 Thread PD
On 2/23/2007, "Cory Robson" <[EMAIL PROTECTED]> wrote: >> > I have a user group that is only allowed 3hr session times (easily >> > resolved with sql counter module) with a 15 minute wait period between >> > sessions. Simple questions... how and where to

counter module usage question

2007-02-06 Thread tzieleniewski
Hi!! I am trying to utilize the counter module. I tried to do everything as it is written in the comments from the radiusd.conf file. unfortunately I still have some problem to make it work and fully understand. I ask for your assistance and small explanation. As I understood the counter

Re: Two sql queries in counter module

2006-11-02 Thread Alan DeKok
Bishal <[EMAIL PROTECTED]> wrote: > Is it possible to make two queries in sql counter module? like No. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freer

Two sql queries in counter module

2006-11-02 Thread Bishal
Hello all Is it possible to make two queries in sql counter module? like sqlcounter noresetcounter { driver = "rlm_sqlcounter" counter-name = Max-All-Session-Time check-name = Max-A

Problem in accounting with sql counter module max-all-session

2006-09-05 Thread Bisal
(rlm_sqlcounter: Maximum never usage time reached): [test01] (from client pppoe-bhw port 4448 cli 0:7:95:10:73:9e) What could be the problem with sql counter module? In my radiusd.conf settings I have setup max-all-session counter as follows; sqlcounter noresetcounter

Re: How to use the counter module

2005-11-14 Thread Radoslav Kolev
On Sun, 2005-11-13 at 12:20 +, [EMAIL PROTECTED] wrote: > Could I use the Counter module to count the number of times a user gets > their password wrong? AFAIK the counter module was not designed to count this type of things. The idea is to count let's say the total amount of

Re: How to use the counter module

2005-11-13 Thread Martin Potgieter
[EMAIL PROTECTED] wrote: OK, I had no luck with my previous email so let's try a different approach. Could I use the Counter module to count the number of times a user gets their password wrong? I guess I need to call Counter on Access-Reject, or just before the Reply packet is sent as

How to use the counter module

2005-11-13 Thread Martin . Ward
OK, I had no luck with my previous email so let's try a different approach. Could I use the Counter module to count the number of times a user gets their password wrong? I guess I need to call Counter on Access-Reject, or just before the Reply packet is sent as I can check the attributes

Execute script to enable rlm counter module

2005-10-27 Thread freeradius
Hello, I want to execute a script in the authentication process that simulates accounting with radclient so that the counter module starts measuring time. But I do not know what data freeradius expects to start counting. The whole story with debug info: Currently I write a diploma involving

Re: Problems with counter module

2004-10-12 Thread Kostas Kalevras
On Tue, 12 Oct 2004 [EMAIL PROTECTED] wrote: > Hi all, > > > rlm_counter: Could not find Service-Type attribute in the request. > > Returning NOOP. > > So fix that. See allowed-servicetype configuration directive ( i thought > it > would be rather obvious). > > In radiusd.conf: > > count

Re: Problems with counter module

2004-10-12 Thread macleod
Hi all, > rlm_counter: Could not find Service-Type attribute in the request. > Returning NOOP. So fix that. See allowed-servicetype configuration directive ( i thought it would be rather obvious). In radiusd.conf: counter daily { filename = ${raddbdir}/db.daily

Re: Problems with counter module

2004-10-11 Thread Kostas Kalevras
On Mon, 11 Oct 2004 [EMAIL PROTECTED] wrote: > Hi all, > maybe I found the reason... but I don't know how to fix it. Thanks in advance > > > rlm_counter: Could not find Service-Type attribute in the request. > Returning NOOP. So fix that. See allowed-servicetype configuration directive

Re: Problems with counter module

2004-10-11 Thread macleod
Hi all, something more: if i put in users file time limits on login-time, that works! but if i use a time quota of 1 hour every day, after that hour i can connect again for 1 hour and again... Example (with login time limits, it works!): Pablo Auth-Type := Local, User-Password == "Pablo", Logi

Re: Problems with counter module

2004-10-11 Thread macleod
Hi all, maybe I found the reason... but I don't know how to fix it. Thanks in advance rlm_counter: Could not find Service-Type attribute in the request. Returning NOOP. modcall[accounting]: module "daily" returns noop for request 2 modcall[accounting]: module "unix" returns o

Re: Re: Problems with counter module

2004-10-11 Thread Kostas Kalevras
On Sun, 10 Oct 2004 [EMAIL PROTECTED] wrote: > Thanks a lot for your answers. > > You said: > "So check if the user sessions are recorded. Maybe the accounting stop do > not contain a session-time attribute. Post an accounting-stop debug output > for the user." > > I understand what you mean, but

Problems with counter module

2004-10-08 Thread EROS
Hi, What type of do you use ? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de [EMAIL PROTECTED] Envoyé : vendredi 8 octobre 2004 15:57 À : [EMAIL PROTECTED] Objet : Problems with counter module Hi all, I need help with counter module. I'

Problems with counter module

2004-10-08 Thread macleod
Hi all, I need help with counter module. I'd like to allow internet connection for 1 hour. users file: Pablo Auth-Type := Local, Max-Daily-Session := 3600, User-Password == "Pablo", NAS-IP-Address = "192.168.0.135" Service-Type = Framed-User,

Re: Counter module

2004-09-30 Thread Edgars
for me Max-Daily-Session and Max-Monthly-Session acts as simple Session-Timeout (someone has got them to work as they are made for?), but Max-All-Session works as it should. Edgars Alan DeKok wrote: [EMAIL PROTECTED] wrote: Processing the autenticate section of radiusd.conf modcall: entering

Re: Counter module

2004-09-29 Thread Alan DeKok
[EMAIL PROTECTED] wrote: > Processing the autenticate section of radiusd.conf > modcall: entering group Auth-Type for request 0 > rlm_chap: login attempt by "Max" with CHAP password > rlm_chap: Could not find clear text password for user Max So... tell the server what the user's correct passwo

Counter Module

2004-09-29 Thread macleod
hi all, that's my configuration. Sorry for the mistakes. users file: Max Max-Daily-Session := 3600, Password = "Max", NAS-IP-Address = "192.168.1.4", Simultaneous-Use = 1 Service-Type = Framed-User, Framed-Protocol = PPP, Framed-IP-Address = 255.255.255.254,

Counter module

2004-09-29 Thread macleod
hi all, that's my configuration. users file: Max Max-Daily-Session := 3600, Password = "Max", NAS-IP-Address = "192.168.1.4", Simultaneous-Use = 1 Service-Type = Framed-User, Framed-Protocol = PPP, Framed-MTU = 1500, Idle-Timeout = 3600, Port-Limit

Counter module

2004-09-29 Thread macleod
hi all, that's my configuration. users file: Max Max-Daily-Session := 3600, Password = "Max", NAS-IP-Address = "192.168.1.4", Simultaneous-Use = 1 Service-Type = Framed-User, Framed-Protocol = PPP, Framed-IP-Address = 255.255.255.254, Framed-MTU = 1500,

Re: Help with Counter module

2004-06-01 Thread Jean-Marie GUILLEMOT
> > rlm_counter: Packet Unique ID = '0d62303b8e51c196' > > rlm_counter: Could not find Service-Type attribute in the > request. Returning > > NOOP. > > But rlm_counter cannot find it, since it's not included in > the accounting stop > packet. So try commenting out the allowed-servicetype direct

Re: Help with Counter module

2004-05-28 Thread Kostas Kalevras
On Thu, 27 May 2004, Jean-Marie GUILLEMOT wrote: > Hello everybody, > > I'm using Freeradius 0.9.3 on a RedHat 7.3. > > I'm trying to make a kind of "hot spot" thanks to the counter module of > freeradius. > > I want people to authenticate one time fo

Help with Counter module

2004-05-27 Thread Jean-Marie GUILLEMOT
Hello everybody, I'm using Freeradius 0.9.3 on a RedHat 7.3. I'm trying to make a kind of "hot spot" thanks to the counter module of freeradius. I want people to authenticate one time for a defined amount of seconds (120 in my example). Once their credit time has expired,

RE: counter module (again)

2004-04-01 Thread Tariq Rashid
te if the above is confusing. t -Original Message- From: Tim Bots [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 10:05 To: [EMAIL PROTECTED] Subject: RE: counter module (again) Due to a wrong install (my fault :-( ) the man command doesn't work for freeradius settings. Can you

RE: counter module (again)

2004-04-01 Thread Tim Bots
lto:[EMAIL PROTECTED] Verzonden: Thursday, April 01, 2004 10:20 Aan: [EMAIL PROTECTED] Onderwerp: Re: counter module (again) On Thu, 1 Apr 2004, Tim Bots wrote: > Hi everyone, > > Can anyone tell me how I can use the counter module. I can't find the > "db.daily" file in

Re: counter module (again)

2004-04-01 Thread Kostas Kalevras
On Thu, 1 Apr 2004, Tim Bots wrote: > Hi everyone, > > Can anyone tell me how I can use the counter module. I can't find the > "db.daily" file in the ${raddbdir} directory. Do I must create this file or > will it be generated automatically. If I have to create thi

counter module (again)

2004-03-31 Thread Tim Bots
Hi everyone, Can anyone tell me how I can use the counter module. I can't find the "db.daily" file in the ${raddbdir} directory. Do I must create this file or will it be generated automatically. If I have to create this file can anyone give me an example of this file. Or do I

Re: how does the counter module work?

2004-03-25 Thread Alan DeKok
"Tim Bots" <[EMAIL PROTECTED]> wrote: > I guess the counter module can help me with accounting but I can't find = > the full "manual" for this module. There is none. Read the comments in the "radiusd.conf" file. Alan DeKok. - List info/subsc

how does the counter module work?

2004-03-25 Thread Tim Bots
Hi everyone, I guess the counter module can help me with accounting but I can't find the full "manual" for this module. I hope someone can help me, Tim Bots - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html