Problem : RadClient : no response from server for ID 77

2005-12-17 Thread yao guoxian
 I have installed FreeRadius 1.0.5 on the machine which has the Redhat 9 os. I entered Radtest test test localhost 0 testing123 to check if i had installed FreeRdius correctly and just find the following message: 

 Sending Access-Request of id 77 to 127.0.0.1:1812 User-Name = test User-Password = test
 NAS-IP-Address = redhat NAS-Port = 0 Re-sending Access-Request of id 77 to 127.0.0.1:1812
 User-Name = test User-Password = \002*\362\230y\233\002\221?\250\027x\027\370\3608  NAS-IP-Address = redhat NAS-Port = 0...Re-sending Access-Request of id 77 to 
127.0.0.1:1812 User-Name = test User-Password = \002*\362\230y\233\002\221?\250\027x\027\370\3608 
 NAS-IP-Address = redhat NAS-Port = 0radclient: no response from server for ID 77

 I don't know what is wrong with it , is it because I need to configer the switch and router? For the machines in my room are conected to the Cisco switch 2900 series and connected through it to the internet.

 I apprieate your any help!
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: No Reply Proxy for Accounting Requests

2005-12-17 Thread Nicolas Baradakis
David Bickle wrote:

 In some versions of RADIUS it is possible using the proxy feature
 to forward accounting requests to a home radius server or some other
 3rd party server without having to wait for a response packet.

I'm not sure at 100%, but I don't think it's possible with FreeRADIUS.

I'd suggest to log accounting in a file with module rlm_detail, and
write a little program to send the accounting data (without waiting)
to the 3rd party application.

You may look at src/main/radrelay.c and doc/radrelay. radrelay can
replicate accounting data but wait for an answer, though.

Nicolas Baradakis

-- 
A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting annoying in email?
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: Freeradius RPM for SUSE 10.0 or 9.3

2005-12-17 Thread Seferovic Edvin
Hi,

I would suggest you to compile freeradius from the scratch, because with the
RPM package you would also have dependandcy errors ( which will give you
headache believe me ). 

If you have troubles compiling your do some googling, and you'll find a
solution. If not - send an email to this list, and I am sure someone will be
able to pinpoint your mistake ( or missing component ). 

Regards,

Edvin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of LeRoy
DeVries
Sent: Samstag, 17. Dezember 2005 16:11
To: FreeRadius users mailing list
Subject: Freeradius RPM for SUSE 10.0 or 9.3

Does anyone here on the list have the RPM for freeradius /w experimental 
modeles to share with me. I would be very greatfull.

I would compile it however, SUSE won't let me compile the program because of

interdependancy errors and it's like chasing my tail so I gave up.

 
LeRoy




- 
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: Freeradius RPM for SUSE 10.0 or 9.3

2005-12-17 Thread Norbert Wegener

You can find them at http://www.wegener-net.de/fr/suse93 .
Norbert

LeRoy DeVries wrote:

Does anyone here on the list have the RPM for freeradius /w experimental 
modeles to share with me. I would be very greatfull.


I would compile it however, SUSE won't let me compile the program because of 
interdependancy errors and it's like chasing my tail so I gave up.


 
LeRoy





- 
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: Problem : RadClient : no response from server for ID 77

2005-12-17 Thread LeRoy DeVries
On Saturday 17 December 2005 05:46, yao guoxian wrote:
 Radtest test test localhost 0 testing123

It looks like the server is not running.

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


Re: Freeradius RPM for SUSE 10.0 or 9.3

2005-12-17 Thread LeRoy DeVries
On Saturday 17 December 2005 08:59, Norbert Wegener wrote:
 You can find them at http://www.wegener-net.de/fr/suse93 .
 Norbert


Thanks Norbert...

After further googling I found a RPM package for Freeradius v1.0.4 however 
after installing that package I found it does not have the sql_counter module 
which I need. How would one go about adding that module.


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


Re: Freeradius RPM for SUSE 10.0 or 9.3

2005-12-17 Thread Norbert Wegener

LeRoy DeVries wrote:


On Saturday 17 December 2005 08:59, Norbert Wegener wrote:
 


You can find them at http://www.wegener-net.de/fr/suse93 .
Norbert

   



Thanks Norbert...

After further googling I found a RPM package for Freeradius v1.0.4 however 
after installing that package I found it does not have the sql_counter module 
which I need. How would one go about adding that module.
 


I don't know, whether this module is experimetnal in 1.0.4.
For the version I've compiled, I modified the corresponding spec file  
by  adding  --with-experimental-modules to the configure options

and build the rpms.
Norbert




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



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


Auth All but only for those in my clients.conf

2005-12-17 Thread Mojo Jojo

Hello, been reading the list for months, first time posting.

I am trying to setup a FreeRadius server which will basically authenticate 
all request which it receives from any IP in the clients.conf which has the 
correct secret.


It seems that setting:
DEFAULT Auth-Type := Accept

in the users file accomplishes the AuthAll part but it is doing an auth all 
for any IP not just the ones in my clients.conf, also it doesn't seem to 
matter what the secret is set to on the client end, it still sends and 
accept.


If I turn off the DEFAULT Auth-Type := Accept, my clients.conf including the 
secret is honored.


Is there any way to accomplish what I am trying to do?

Thanks in advance. 



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


Re: Auth All but only for those in my clients.conf

2005-12-17 Thread Mojo Jojo

Forgot to mention my version: 1.0.5

Running on Fedora 4

Thanks..


- Original Message - 
From: Mojo Jojo [EMAIL PROTECTED]

To: FreeRadius users mailing list freeradius-users@lists.freeradius.org
Sent: Saturday, December 17, 2005 3:44 PM
Subject: Auth All but only for those in my clients.conf



Hello, been reading the list for months, first time posting.

I am trying to setup a FreeRadius server which will basically authenticate 
all request which it receives from any IP in the clients.conf which has 
the correct secret.


It seems that setting:
DEFAULT Auth-Type := Accept

in the users file accomplishes the AuthAll part but it is doing an auth 
all for any IP not just the ones in my clients.conf, also it doesn't seem 
to matter what the secret is set to on the client end, it still sends and 
accept.


If I turn off the DEFAULT Auth-Type := Accept, my clients.conf including 
the secret is honored.


Is there any way to accomplish what I am trying to do?

Thanks in advance.

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





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


phpMyPrepaid: Carl's radiusd.conf lost?

2005-12-17 Thread Ariel Molina R

Hi,

Does any of you have a copy of radiusd.conf?
Carl's site is down.

http://cpete.com/prepaidAdmin/
http://jabali.net/~carl


I've succesfully got phpMyPrepaid up and running (downloaded it from 
SF), also, i have installed Freeradius and chilli, the only thing I need 
is the radiusd.conf file that i cant get from anywhere.


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


Re: Auth All but only for those in my clients.conf

2005-12-17 Thread Alan DeKok
Mojo Jojo [EMAIL PROTECTED] wrote:
 I am trying to setup a FreeRadius server which will basically authenticate 
 all request which it receives from any IP in the clients.conf which has the 
 correct secret.

  read raddb/clients.conf

 It seems that setting:
 DEFAULT Auth-Type := Accept

  Doesn't help.

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


Re: Freeradius RPM for SUSE 10.0 or 9.3

2005-12-17 Thread LeRoy DeVries
On Saturday 17 December 2005 14:44, Norbert Wegener wrote:
 I don't know, whether this module is experimetnal in 1.0.4.
 For the version I've compiled, I modified the corresponding spec file
 by  adding  --with-experimental-modules to the configure options
  and build the rpms.
 Norbert

Thanks again Norbert. I d/l your compile and again I was sent off chasing my 
tail because of dependency issues. After package 5 I gave up.  

I'm wondering if someone could send my the rlm_sql_counter module for v 1.0.4 
I could just plug it into my lib directory and then make the required changes  
in the etc/radius.conf it would work.

Anyone have any knowledge about that. 


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


Re: Auth All but only for those in my clients.conf

2005-12-17 Thread Mojo Jojo

Mojo Jojo [EMAIL PROTECTED] wrote:
I am trying to setup a FreeRadius server which will basically 
authenticate
all request which it receives from any IP in the clients.conf which has 
the

correct secret.


 read raddb/clients.conf


I read the entire file before posting as well as many other files and docs, 
I have not dound the answer which is why I posted here.





It seems that setting:
DEFAULT Auth-Type := Accept


 Doesn't help.


I am not sure I understand your response.. It does help because it allows me 
to AuthAll request that come in regardless of the username or password which 
is what I want.


The problem is that I only want a request to be authed if it came from a 
client which is configured in my clients.conf file and only if the secret 
matches.


At this time, the request are authed regardless of the username or password 
but they are authed regardless of the client or secret.


Sorry if I did not explain this correctly the first time.






Alan DeKok.
-
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: Auth All but only for those in my clients.conf

2005-12-17 Thread Joe Maimon



Mojo Jojo wrote:




At this time, the request are authed regardless of the username or 
password but they are authed regardless of the client or secret.


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


Re: Auth All but only for those in my clients.conf

2005-12-17 Thread Mojo Jojo
At this time, the request are authed regardless of the username or 
password but they are authed regardless of the client or secret.


Not possible.


You are correct..

Let me re-phrase after doing a little more testing...

At this time I have an AuthAll setup working and it only works for request 
that come from IPs with belong to clients defined in the clients.conf file.


But...

I have confirmed 100% that the secret on defined in those clients is totally 
ignored in this situation.


So, I can attempt to login from a defined client using any secret and they 
all work as long as the request is coming from an IP belonging to a client 
defined in the clients.conf file.


I don't care if the secret is ignored personally, just thought some of you 
folks might want to know. As long as the request are only honored from 
authorized IPs this is good enough for the application I am using it for.



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


Re: Auth All but only for those in my clients.conf

2005-12-17 Thread Mojo Jojo
Only thing I am stuck on here is that my CHAP request are failing with this 
message:



Sat Dec 17 22:31:06 2005 : Auth: Login incorrect (rlm_chap: Clear text 
password not available)




I see this section in the FAQ:

##
So, if you're using CHAP, for each user entry you must use:

Auth-Type = Local, Password = stealme

If you're using only PAP, you can get away with:

Auth-Type = System

or anything else that tickles your fancy.
###




But I am using:


DEFAULT Auth-Type = Accept


This is so I can do the AuthAll, it works for PAP but not the CHAP request.

Since I am not requiring a password for the request, how can I supply it in 
clear text?


So, the question is, how do I make the AuthAll work for CHAP request as 
well?


Thanks..



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