Re: I need help and some advice !!!

2011-04-06 Thread Alan DeKok
Phil Mayers wrote:
 We maintain a dedicated radius server, with (outbound) eduroam and all
 our standard configs  monitoring probes for just this purpose.
 
 Which git branch/revision/tag should I pull?

  The v2.1.x branch should be it.

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


Re: I need help and some advice !!!

2011-04-06 Thread Alan Buxey
Hi,

 We should release 2.1.11 some time soon.  Anyone interested in testing
  the beta version?
 
 We maintain a dedicated radius server, with (outbound) eduroam and all 
 our standard configs  monitoring probes for just this purpose.

likewise - we have a server with 2.1.11 GIT  (well, when it compiles and runs - 
otherwise
it'd be running the previous release to before the GIT pull version broke ;-) )

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


Re: I need help and some advice !!!

2011-04-05 Thread striderblue
it still didn't work .
when I seperate command at clients.conf

client localhost {
ipaddr = 127.0.0.1
secret = testing
}

client localhost {
ipv6addr = ::1
secret = testing123
}

result : 
radclient: Failed to find ip address for host ::1: success

so I really confuse now. what i've done wrong and missing some config ?
please. HELP ME


thank you so much..


--
View this message in context: 
http://freeradius.1045715.n5.nabble.com/I-need-help-and-some-advice-tp4167834p4283543.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: I need help and some advice !!!

2011-04-05 Thread Stefan Winter
Hi,

 it still didn't work .
 when I seperate command at clients.conf

 client localhost {
 ipaddr = 127.0.0.1
 secret = testing
 }

 client localhost {
 ipv6addr = ::1
 secret = testing123
 }

 result : 
 radclient: Failed to find ip address for host ::1: success

Give the two clients different names, otherwise, the server may well get
confused. How about:

client localhost-v4 {
ipaddr = 127.0.0.1
secret = testing
}

client localhost-v6 {
ipv6addr = ::1
secret = testing123
}


?

Stefan

 so I really confuse now. what i've done wrong and missing some config ?
 please. HELP ME


 thank you so much..


 --
 View this message in context: 
 http://freeradius.1045715.n5.nabble.com/I-need-help-and-some-advice-tp4167834p4283543.html
 Sent from the FreeRadius - User mailing list archive at Nabble.com.
 -
 List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


-- 
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la 
Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473




signature.asc
Description: OpenPGP digital signature
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: I need help and some advice !!!

2011-04-05 Thread Fajar A. Nugraha
On Tue, Apr 5, 2011 at 3:54 PM, striderblue strider_b...@hotmail.com wrote:
 it still didn't work .
 when I seperate command at clients.conf

 client localhost {
        ipaddr = 127.0.0.1
        secret = testing
 }

 client localhost {
        ipv6addr = ::1
        secret = testing123
 }

 result :
 radclient: Failed to find ip address for host ::1: success

 so I really confuse now. what i've done wrong and missing some config ?
 please. HELP ME

(1) There's an example on client.conf to specify an ipv6 address, use that
(2) radclient can use ipv6 with -6 option (see radclient -h).
AFAIK no such functionality is available for radtest (yet). So you
might need to use radclient directly.

-- 
Fajar

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


Re: I need help and some advice !!!

2011-04-05 Thread John Dennis

On 04/05/2011 07:24 AM, Fajar A. Nugraha wrote:

(1) There's an example on client.conf to specify an ipv6 address, use that
(2) radclient can use ipv6 with -6 option (see radclient -h).
AFAIK no such functionality is available for radtest (yet). So you
might need to use radclient directly.


Attached is a patch we created for radtest to support IPv6 and is in our 
current packages. I'm pretty sure we've already sent this to Alan.


--
John Dennis jden...@redhat.com

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
--- freeradius-server-2.1.10/src/main/radtest.in.orig	2011-02-14 16:19:05.0 -0500
+++ freeradius-server-2.1.10/src/main/radtest.in	2011-02-14 16:24:18.0 -0500
@@ -16,6 +16,8 @@
 	echo -t type   Set authentication method 2
 	echo type can be pap, chap, mschap, or eap-md5 2
 	echo -x  Enable debug output 2
+	echo -4  Use IPv4 address family for the NAS (default) 2
+	echo -6  Use IPv6 address family for the NAS 2
 	exit 1
 }
 
@@ -30,6 +32,7 @@
 
 OPTIONS=
 PASSWORD=User-Password
+family=IPv4
 
 #  We need at LEAST these many options
 if [ $# -lt 5 ]
@@ -41,6 +44,14 @@
 while [ `echo $1 | cut -c 1` = - ]
 do
case $1 in
+	-4) 
+		family=IPv4
+		shift
+		;;
+	-6) 
+		family=IPv6
+		shift
+		;;
 	-d) 
 		OPTIONS=$OPTIONS -d $2
 		shift;shift
@@ -97,10 +108,25 @@
 	nas=`hostname`
 fi
 
+# Set the address family
+case $family in
+	IPv4)
+		OPTIONS=$OPTIONS -4
+		NAS_ADDR_ATTR=NAS-IP-Address
+		;;
+	IPv6)
+		OPTIONS=$OPTIONS -6
+		NAS_ADDR_ATTR=NAS-IPv6-Address
+		;;
+	*)
+		echo ERROR: unknown address family ($family) 2
+		usage
+esac
+
 (
 	echo User-Name = \$1\
 	echo $PASSWORD = \$2\
-	echo NAS-IP-Address = $nas
+	echo $NAS_ADDR_ATTR = $nas
 	echo NAS-Port = $4
 	if [ $radclient = $radeapclient ]
 	then
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: I need help and some advice !!!

2011-04-05 Thread Alan DeKok
John Dennis wrote:
 On 04/05/2011 07:24 AM, Fajar A. Nugraha wrote:
 (1) There's an example on client.conf to specify an ipv6 address, use
 that
 (2) radclient can use ipv6 with -6 option (see radclient -h).
 AFAIK no such functionality is available for radtest (yet). So you
 might need to use radclient directly.
 
 Attached is a patch we created for radtest to support IPv6 and is in our
 current packages. I'm pretty sure we've already sent this to Alan.

  OK.  I've added it with some minor tweaks.

  We should release 2.1.11 some time soon.  Anyone interested in testing
the beta version?

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


Re: I need help and some advice !!!

2011-04-05 Thread Phil Mayers

On 04/05/2011 09:21 PM, Alan DeKok wrote:

John Dennis wrote:

On 04/05/2011 07:24 AM, Fajar A. Nugraha wrote:

(1) There's an example on client.conf to specify an ipv6 address, use
that
(2) radclient can use ipv6 with -6 option (see radclient -h).
AFAIK no such functionality is available for radtest (yet). So you
might need to use radclient directly.


Attached is a patch we created for radtest to support IPv6 and is in our
current packages. I'm pretty sure we've already sent this to Alan.


   OK.  I've added it with some minor tweaks.

   We should release 2.1.11 some time soon.  Anyone interested in testing
the beta version?


We maintain a dedicated radius server, with (outbound) eduroam and all 
our standard configs  monitoring probes for just this purpose.


Which git branch/revision/tag should I pull?
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: I need help and some advice !!!

2011-03-21 Thread Phil Mayers

On 21/03/11 01:47, striderblue wrote:

about IPv6 on freeradius v.2.1.test9 for ubuntu so this version is support
IPv6 right?
but I try to test local with IPv6 ::1
it response like this :

http://freeradius.1045715.n5.nabble.com/file/n4167834/0bcb3b1056e7d9151be5fb8fe6eeb4d3b7f0fc69555e1217fa97d8be993973676g.jpg

radclient: Failed to find ip address for host ::1: success  but radtest ipv4
worked!!!
--
at clients.conf
I config :
client localhost {
 ipaddr = 127.0.0.1
 ipv6addr = ::
 secret = testing
   }


This is wrong; you can have *either* ipaddr *or* ipv6addr, as per the 
comments in the examples:


ipaddr = 127.0.0.1

#  OR, you can use an IPv6 address, but not both
#  at the same time.
#   ipv6addr = ::   # any.  ::1 == localhost

You will need:

client localhost_v4 {
  ipaddr = 127.0.0.1
  ...
}
client localhost_v4 {
  ipv6addr = ::1
  ...
}
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


I need help and some advice !!!

2011-03-20 Thread striderblue
about IPv6 on freeradius v.2.1.test9 for ubuntu so this version is support
IPv6 right? 
but I try to test local with IPv6 ::1 
it response like this : 

http://freeradius.1045715.n5.nabble.com/file/n4167834/0bcb3b1056e7d9151be5fb8fe6eeb4d3b7f0fc69555e1217fa97d8be993973676g.jpg
 

radclient: Failed to find ip address for host ::1: success  but radtest ipv4
worked!!! 
-- 
at clients.conf 
I config : 
client localhost { 
ipaddr = 127.0.0.1 
ipv6addr = :: 
secret = testing 
  } 
client ::1 { 
secret = testing123 
shortname = localhost 
  } 
-- 
at radiusd.conf 
I config : 
listen {   type = auth 
 ipaddr = * 
 ipv6addr = :: 
 port = 0 
 } 

listen  {   ipaddr = * 
 ipv6addr = :: 
 port = 0 
 type = acct 
  } 
-- 

so where I missed and do wrong config ? 
please help 


thank you very much. 
golf 

--
View this message in context: 
http://freeradius.1045715.n5.nabble.com/I-need-help-and-some-advice-tp4167834p4167834.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html