Re: accouting

2010-05-17 Thread VU VAN HUNG
Larry Brower wrote: rosect...@yahoo.com wrote: I have installed the following two rpms: freeradius-mysql-2.1.3-1.fc9.i386 and freeradius-postgresql-2.1.3-1.fc9.i386on my Fedora machine. However, when I tried to configure sql server by using mysqladmin ..., system says command not

Diameter roaming

2010-05-14 Thread VU VAN HUNG
Hi all, Do anyones know why Diameter support faster roaming than RADIUS ? I've read some references but I dont understand. Hung, - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Diameter roaming

2010-05-14 Thread VU VAN HUNG
Alan DeKok wrote: VU VAN HUNG wrote: Do anyones know why Diameter support faster roaming than RADIUS ? It doesn't. I means roaming between 2 client with 1 AAA Server in network (ex: wireless mesh network). Is roaming with Diameter faster than with Radius? I've read some

Re: free NAS ?

2010-05-07 Thread VU VAN HUNG
sunhualing wrote: hostapd as a NAS, authenticator wpa-supplicant as a supplicant On Fri, May 7, 2010 at 1:31 AM, Jeff Voskamp javos...@uwaterloo.ca mailto:javos...@uwaterloo.ca wrote: On 05/06/2010 01:27 PM, John McDonnell wrote: On May 6th, 2010 at 1:09 PM, Randal Carpenter

free NAS ?

2010-05-06 Thread VU VAN HUNG
Hi all, I just wonder that are there any open source software that have same functionalities like Network Access Server ? Because I see that there's Asterisk, which 's like a PBX. Best, Hung, - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

problem with reading user data in Freeradius with Mysql

2010-04-29 Thread VU VAN HUNG
Hi all, I got a problem with freeradius and mysql. My freeradius server cannot read data from radcheck table. It notice that No Cleartext-Password's Configured, even if I totally set Attribute field in radcheck table is Cleartext-Password. Could someones help me solve this problem ? Hung, -

accounting packets

2010-04-27 Thread VU VAN HUNG
Hi all, I'm trying to implement radius accounting. I want to ask how I can know whether accounting packets are sent and received ? Hung, - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: accounting packets

2010-04-27 Thread VU VAN HUNG
And I can't see Accouting-Request and Accounting-Respond. How do I configure freeradius to get Accouting-Request and Accounting-Respond packets when I capture them ? I hope someones will give me some advices. Hung - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: accounting packets

2010-04-27 Thread VU VAN HUNG
Alan DeKok wrote: VU VAN HUNG wrote: Hi all, I'm trying to implement radius accounting. I want to ask how I can know whether accounting packets are sent and received ? Run the server in debugging mode, as suggested in the FAQ, README, INSTALL, man page If you don't see

Re: R: R: R: NAS-Identifier and radgroupcheck table

2010-04-27 Thread VU VAN HUNG
Alan DeKok wrote: Ana Gallardo wrote: DEFAULT Auth-Type := Reject Hmm... that will cause all of the users to be rejected. Delete it. I follow this howto http://wiki.freeradius.org/SQL_Huntgroup_HOWTO and, at the button said: *Note: If you want to reject authentication by

problems with queries and user database in mysql and freeradius

2010-04-24 Thread VU VAN HUNG
Hi all, I'm trying to manage the users in freeradius with mysql. Users can log in wireless network successfully but I get 2 problems. 1. Only post-authenticate query's implemented to insert information to radpostauth table in radius database. Accouting queries for accounting table in

Re: rlm_sql error, can't expand User-Password and Chap-Password, help me !

2010-04-23 Thread VU VAN HUNG
szymon roczniak wrote: On Thu, Apr 22, 2010 at 05:38:04PM +0700, VU VAN HUNG wrote: szymon roczniak wrote: On Thu, Apr 22, 2010 at 04:50:50PM +0700, VU VAN HUNG wrote: I know, but in the output, I see the following lines: *sql] expand: %{User-Password} - [sql] expand

Re: Users file or mysql database; radpostauth table

2010-04-23 Thread VU VAN HUNG
Alan DeKok wrote: David Seira wrote: First of all, I want to put a freeradius to manage a net with about 400~500 users. I don't know which method for manage users choose; users file or mysql database? Whatever makes you happy. I think manage users with a file is faster but the

Re: rlm_sql error, can't expand User-Password and Chap-Password, help me !

2010-04-23 Thread VU VAN HUNG
szymon roczniak wrote: In order to have PAP or CHAP working you need your NAS to send either User-Password or CHAP-Password attribute. If you look at your log file again you'll see that both the pap and the chap module return noop, this is because these attributes are not present in the query.

rlm_sql error, can't expand User-Password and Chap-Password, help me !

2010-04-22 Thread VU VAN HUNG
Hi all, This is my first post. I'm trying to make a AAA server based on freeRadius and MySQL. After I configure radius server and run server in debug mode, I get some problem with rlm_sql about User-Password and Chap-Password. It seems that the server can't expand User-Password and

Re: rlm_sql error, can't expand User-Password and Chap-Password, help me !

2010-04-22 Thread VU VAN HUNG
szymon roczniak wrote: On Thu, Apr 22, 2010 at 04:50:50PM +0700, VU VAN HUNG wrote: It looks like you have a problem with this INSERT query: [..] [sql] expand: INSERT INTO radpostauth (username, pass, reply, authdate) VALUES