Need Help: 'Simultaneous-Use' don't work !!! =/ version 1.1.7 !
Hi, I have a problem =/ I create this Querys: INSERT INTO radcheck(UserName, Attribute, op, Value) VALUES('cliente1', 'MD5-Password', ':=', MD5('projecto08')); INSERT INTO radgroupcheck (groupname, attribute, op, value) VALUES ('sessaounica', 'Simultaneous-Use', ':=', 1); INSERT INTO usergroup (username, groupname) VALUES ('cliente1','sessaounica'); But two different clients (PCs) whit the same pair user/password can do success login. =/ What i have done wrong ? I want that only one client have access to the network. And if one client are logged, another user with same pair user/pass don't have access until the user logged do the logoff. Very thanks for your pacience, Best Regards, Diogo Teixeira
Diogo Teixeira wrote:
But two different clients (PCs) whit the same pair user/password can do success login. =/
What i have done wrong ?
read doc/Simultaneous-Use. The requirements for it to work are explained there. You are likely *not* getting accounting packets. Alan DeKok.
My table radacct is empty every time. in radiusd.conf i put option sql everywhere. accounting{ } session{ } authorize{ } authentication{ } post-auth{ } in uncomment the "simul_count_query" in sql.conf and simultaneous-use don't work, because radacct table empty, even after user success logged ! =// please help. =/ Best Regards, Diogo Teixeira 2008/12/12 Alan DeKok <aland@deployingradius.com>
Diogo Teixeira wrote:
But two different clients (PCs) whit the same pair user/password can do success login. =/
What i have done wrong ?
read doc/Simultaneous-Use. The requirements for it to work are explained there.
You are likely *not* getting accounting packets.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Diogo Teixeira wrote:
My table radacct is empty every time.
This is in the FAQ.
and simultaneous-use don't work, because radacct table empty, even after user success logged ! =//
As I already said: You are likely *not* getting accounting packets. If the NAS doesn't send accounting packets, fix it so that it *does* send accounting packets. Alan DeKok.
What FAQ Alan ? 2008/12/12 Alan DeKok <aland@deployingradius.com>
Diogo Teixeira wrote:
My table radacct is empty every time.
This is in the FAQ.
and simultaneous-use don't work, because radacct table empty, even after user success logged ! =//
As I already said:
You are likely *not* getting accounting packets.
If the NAS doesn't send accounting packets, fix it so that it *does* send accounting packets.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
In my case i have SQL as a database to store accounting records. In this case, the script checkrad is also called ? My radacct table is always empty ! =/ My AP is a SMCWBR14T-G and i think the NAS is already well configured. I'm really not understand the problem. =/ I read FAQ (http://wiki.freeradius.org/FAQ) topic: "Simultaneous-Use doesn't work" and i done everything i it still don't work. Sorry for the inconvenience and for my possible role of ignorance. Regards, Diogo Teixeira 2008/12/12 <tnt@kalik.net>
What FAQ Alan ?
Option 1: Go to the freeradius site. Click on Wiki link. Type FAQ in the search box. Press Enter.
Option 2: Type "freeradius faq" in Google. Click on the first link that comes up.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Diogo Teixeira wrote:
My radacct table is always empty ! =/
You've said this a lot. The reason WHY it's empty has been explained to you. If you don't understand the explanations, ask *new* questions. Posting the same complaint over and over again makes it look like you're ignoring our responses. If you're going to ignore our responses, we're going to STOP responding. You also need to do to work yourself. Posting an email asking where the FAQ is shows that you're not interested in doing any work yourself. This is another reason for people to ignore you. If you don't think your problem is serious enough to do any work on it, we wont'do any work on it, either. Alan DeKok.
My AP is a SMCWBR14T-G and i think the NAS is already well configured.
How sure are you? I would be fairly certain that it isn't.
I'm really not understand the problem. =/
That's because you think that there is something wrong with freeradius.
I read FAQ (http://wiki.freeradius.org/FAQ) topic: "Simultaneous-Use doesn't work" and i done everything i it still don't work.
So, tell us how did you do this: "Verify that the NAS is sending accounting packets. Without accounting packets, Simultaneous-Use will NOT work. " Ivan Kalik Kalik Informatika ISP
right ! =/ I think the problem is the mt SMC don't send accounting packets. =/ 2008/12/15 YvesDM <ydmlog@gmail.com>
On Fri, Dec 12, 2008 at 5:33 PM, Diogo Teixeira <diogo.txx@gmail.com>wrote:
and i done everything i it still don't work.
You do have port 1813 open on your radius right?
Kind regards
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Result of UDP Scan Port: root@XXXXXX:~# nmap -sU localhost Starting Nmap 4.53 ( http://insecure.org ) at 2008-12-15 14:48 WET Interesting ports on localhost (127.0.0.1): Not shown: 1483 closed ports PORT STATE SERVICE 67/udp open|filtered dhcps 68/udp open|filtered dhcpc 1812/udp open|filtered radius 1813/udp open|filtered radacct 5353/udp open|filtered zeroconf Regards, Diogo Teixeira 2008/12/15 Diogo Teixeira <diogo.txx@gmail.com>
right ! =/
I think the problem is the mt SMC don't send accounting packets. =/
2008/12/15 YvesDM <ydmlog@gmail.com>
On Fri, Dec 12, 2008 at 5:33 PM, Diogo Teixeira <diogo.txx@gmail.com>wrote:
and i done everything i it still don't work.
You do have port 1813 open on your radius right?
Kind regards
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (4)
-
Alan DeKok -
Diogo Teixeira -
tnt@kalik.net -
YvesDM