RE: Set environnement variable

2006-03-26 Thread Alexandre DELAY
 I am not sure but I have seen solutions using radattr.so module
 with PPP and
 then you can access the attributes ( which would be sent by freeradius )
 from /var/run/radattr.$interface ;)

Thanks for the answer. I forgot to say that I'm using a BSD and not a Linux.
radattr only exists under Linux.
Thanks to your answer, I found that ppp has an interresting functionnality:

___
ppp(8)
...
 ppp uses the following attributes from the RADIUS reply:
...
RAD_FILTER_ID
 If this attribute is supplied, ppp will attempt to use
it
 as an additional label to load from the ppp.linkup and
 ppp.linkdown files.  The load will be attempted before
 (and in addition to) the normal label search.  If the
 label doesn't exist, no action is taken and ppp
proceeds
 to the normal load using the current label.
...
___

The thing is that this attribute (and others in this man page) is not
present in any radius dictionnary.
Thus Freeradius doesn't want to process it:

__log___
Sun Mar 26 11:20:06 2006 : Error: rlm_sql: unknown attribute RAD_FILTER_ID
Sun Mar 26 11:20:06 2006 : Error: rlm_sql (sql): Error getting data from
database
___

What am I supposed to do? I'm not going to change dictionary entries!??
Should I?
If so, I'm not sure to know the structure of dictionaries. Is there any doc
about that?

Cheers

Alex

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


User Disconnect

2006-03-26 Thread Mohammad Flaifel
Dears, 

I know I asked this questions before, but I got lost what shall I do.
Can I disconnect a user when he/she reaches a download limit?
We have Radius server and connected to an oracle server.
What do you think?
Regards,

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


RE: User Disconnect

2006-03-26 Thread Seferovic Edvin
Hi,

are you using PPP ???

Regards,

Edvin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
g] On Behalf Of Mohammad Flaifel
Sent: Sonntag, 26. März 2006 11:45
To: freeradius-users@lists.freeradius.org
Subject: User Disconnect

Dears, 

I know I asked this questions before, but I got lost what shall I do.
Can I disconnect a user when he/she reaches a download limit?
We have Radius server and connected to an oracle server.
What do you think?
Regards,

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


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


Re: User Disconnect

2006-03-26 Thread mohammad flaifel
<[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]><[EMAIL PROTECTED]>Its for ADSL Customers mainly now and then will be for Dial-up on time basisregards,Flaifel Message: 6 Date: Sun, 26 Mar 2006 11:58:37 +0200 From: "Seferovic Edvin" <[EMAIL PROTECTED]> Subject: RE: User Disconnect To: "'FreeRadius users mailing list'" 	 Message-ID: [EMAIL PROTECTED] Content-Type: text/plain;	charset="iso-8859-2"  Hi,  are you using PPP ???  Regards,  Edvin
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Help !!!!

2006-03-26 Thread fjlagos
Hello:

I have problem with freeradius. I am a new user of freeradius and radius.


I have a Extreme Networks switch, i know how set Radius in the switch. I
was login to the switch  through freeradius, but i don't know how configure
it.

Please Help...

Saludos y Gracias

Francisco


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


How Getting accounting informations ?

2006-03-26 Thread Vincent MARGUERIE

Hi guys,

I would like to kkow, how I can get accounting informations from my 
client ?


I use a dlink DWL-2000ap+ as NAS (is it compatible ?) and my client is 
connecting from a windows XP computer.


Could you confirm that only the NAS can send accounting informations and 
not the client...am I right ? If it is, do you know if this dlink is 
compatible with accounting request ?  Do you know another Acces point 
that sure make this task or is there a software that can be behind my 
acces point to do this right (a sort of NAS in fact) ?


Thanks for your help,
Vincent


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


RE: How Getting accounting informations ?

2006-03-26 Thread Alex M
If im not mistaken DWLs should send accounting info. I have to check though.


-Original Message-
From:
[EMAIL PROTECTED]
.org
[mailto:[EMAIL PROTECTED]
eeradius.org] On Behalf Of Vincent MARGUERIE
Sent: Sunday, March 26, 2006 7:10 PM
To: freeradius
Subject: How Getting accounting informations ?

Hi guys,

I would like to kkow, how I can get accounting informations from my 
client ?

I use a dlink DWL-2000ap+ as NAS (is it compatible ?) and my client is 
connecting from a windows XP computer.

Could you confirm that only the NAS can send accounting informations and 
not the client...am I right ? If it is, do you know if this dlink is 
compatible with accounting request ?  Do you know another Acces point 
that sure make this task or is there a software that can be behind my 
acces point to do this right (a sort of NAS in fact) ?

Thanks for your help,
Vincent


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

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


Re: Still having issue with radtest

2006-03-26 Thread Alan DeKok
Atkins, Dwane P [EMAIL PROTECTED] wrote:
 I apologize for not using proper terms since this is new to me, I tend
 to associate to something I do know.

  Which can help sometimes.  Not always.

 1.) Since I attempting to use the sql database for authentication
 purpose, would it be best if I made sure that [EMAIL PROTECTED] (my
 username I chose) be in the users file and also be granted privileges on
 the sql database (I chose to call it radius as well)

  I'm not sure what that means.  You're not being very specific about
what's what.

 2.)  When doing the radtest, would the proper syntax be radtest radius
 radiustest localhost 1645 baseball (with baseball being the shared
 secret also entered into the clients.conf file) or should there be
 quotes around the shared secret.

  It's just another comman-line option.  It doesn't need quotes.  This
is Unix 101.

 3.)  I have read documentation.  I have bought the O'Reilly Book and
 read it.  I have reinstalled my server and all to no avail.  I
 appreciate the help you all give, but I am stuck.  I am sure I 
 overlooked the issue, but at this point, I cannot see it.

  I think you're trying to start by making complex configurations,
without really understanding what the terminology is, what it means,
or how the server works.  Start off with the simplest configuration
and test it.  Then, work towards a more complex configuration.

  Alan DeKok.



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


Re: v1.1.1 rlm_eap compile problem (no prob in v1.1.0)

2006-03-26 Thread Alan DeKok
Aaron Paetznick [EMAIL PROTECTED] wrote:
 I'll save people a lot of time and just paste the bomb out below. 
 Help???  Otherwise, can I simple choose to not compile rlm_eap (I don't 
 use it).  I've tried --disable-eap and similar arguements.  Thanks.

  It looks like you don't have OpenSSL installed, but it's still
trying to build modules that depend on OpenSSL.  That isn't good.

  Just delete the rlm_eap directory, and the rest of the server should
build.

  Alan DeKok.

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


proxy installation

2006-03-26 Thread vivek mangai
hi guys,

i am new to freeradius .i want to install a proxy.

i tried with three system A-client ,B-proxy,C-client

i have configured the proxy.conf file in B with my realm but when i try to send packet 
from the radius client from port 1812 it is not send to proxy ...

if any one can give me a detail installation procedure ..it would so helpfull

thanking u
vivekA Unique Email Address EVERYONE Will Remember!Visit www.HowAmazing.com and register for a free online email address.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Multiple Accounting in Radacct

2006-03-26 Thread zack musa
Hi all.  My radius server records to mysql database for every single user session for 3 times in three rows. similar records for 1 single user but the different is in mil.sec. What configuration in freeradius might done this?  Is this because the NAS or th radius server? Thanks for any help. 
		Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: Multiple Accounting in Radacct

2006-03-26 Thread Gunther



Hi, I posted the same problem just a few days ago  
21-Mar-2006 .. (Subject: Duplicate Accounting Start Packets)
I added my solution, but did not get any feedback if this 
would be ok.


  
  
  From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] 
  On Behalf Of zack musaSent: Monday, March 27, 2006 12:50 
  AMTo: freeradius-users@lists.freeradius.orgSubject: 
  Multiple Accounting in Radacct 
  Hi all. My radius server records to mysql database for every 
  single user session for 3 times in three rows. similar records for 1 single 
  user but the different is in mil.sec. What configuration in freeradius might 
  done this? Is this because the NAS or th radius server?Thanks for any 
  help. 
  
  
  Blab-away for as little as 1¢/min. Make PC-to-Phone 
  Calls using Yahoo! Messenger with Voice.
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Version 1.1.1 stops responding

2006-03-26 Thread Stefan Winter
 Mine seg faulted as well..
 Here's the last few lines of the freeradius -X -A

 modcall: entering group authenticate for request 1002
   rlm_eap: Request found, released from the list
   rlm_eap: EAP/peap
   rlm_eap: processing type peap
   rlm_eap_peap: Authenticate
   rlm_eap_tls: processing TLS
 rlm_eap_tls:  Length Included
   eaptls_verify returned 11

Interesting. This morning I encountered again that radiusd was claiming to be 
still listening on its ports, but didn't process anything any more. As other 
logs showed, someone logged into an Access Point via TTLS at 8:22 and at 8:25 
the Nagios Monitoring system marked the RADIUS Server as critical. Scan 
interval for Nagios is every three minutes. So it could very well be that 
FreeRADIUS stopped processing packets when it tried to do TTLS. Sounds 
similar to your case, just that it didn't segfault. Note that we usually use 
TTLS it several times a day, and FreeRADIUS shows this behaviour only 
sporadically.
I now reverted to 1.1.0 in the hope that it's better there. The way it is now 
is... disturbing.

Greetings,

Stefan Winter

-- 
Stefan WINTER

Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de 
la Recherche
Ingenieur Forschung  Entwicklung

6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
E-Mail: [EMAIL PROTECTED]     Tel.:     +352 424409-1
http://www.restena.lu                Fax:      +352 422473

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