FREERADIUS USING IP POOLS

2006-12-14 Thread Tomas Eduardo Lotina Ramos
HOW CAN I USE IP POOLS WITH FREERADIUS, MY NAS is a cisco Linksys WRT54Gnow im working with freeradius 1.1.3 and mysql 5.02 in ubuntu drapper  and is working fine, i have my users stored in the radcheck table, but i want to divide the users in two groups and assing a different range of ip pools to each group of users dynamically so i want to know how can i create two ippools and assing dinamically this ips to the users of the radcheck table depending if they belong to a group A or a group B. help please!
thanks in advance!!!
EDUARDOLlamadas grátis de PC a PC Haz clic aquí  

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

HELP WITH FREERADIUS AND DHCP3

2006-12-11 Thread Tomas Eduardo Lotina Ramos
this is the example of my dhcpd.conf 
im using dhcp3 for ubuntu and freeradius 1.1.3 , here for example I have two ip pools one for users that belong to the group A and another one for the rest of the users, the class name is "A", here im using the MAC address to divide users, all the MACs with start with "00:04" belong to class "A" and they are gonna get ips from 150.151.6.86 - 90 the rest of the users gonna get from 80 -85 
i wanna do something like that but with mysql, for example i have in radcheck table the user "bectizm" this user is gonna belong to group A so i want freeradius to auth the user ( freeradius already do this) and i want dhcp3 to recognize the same user "bectizm" that is stored in mysql and assing him and ip from the range 86-90 
 
ddns-update-style none;
option domain-name-servers 150.6.2.105, 150.6.2.100;
default-lease-time 86400;max-lease-time 604800;
authoritative;
subnet 150.151.0.0 netmask 255.255.0.0 {#range 150.151.6.60  150.151.6.65; option subnet-mask 255.255.0.0;option broadcast-address 150.151.255.255;option routers 150.151.1.250;option netbios-name-servers 150.151.1.132, 142.188.1.47; 
 
class "A" {match if substring (hardware, 1, 2) = 00:04;
#subclass "foo" 00:04;# 00-04-23-54-45-0f;}
pool {deny members of "foo";range 150.151.6.80 150.151.6.85;max-lease-time 300;
}
pool {allow members of "foo";max-lease-time 28800;range 150.151.6.86 150.151.6.90;
}
}
**please if somebody can help me im gonna give him my life! =)
or any idea to do the same with the ip pools in freeradius? or with the tables in radius database of mysql?
regards and thanks in advance
 

 Crea tu Space y compartelo con quién tu quieras Haz clic aquí  Windows Live Spaces en Prodigy/MSN

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

FREERADIUS + MYSQL +DHCP3

2006-12-09 Thread Tomas Eduardo Lotina Ramos
HELP PLEASE
hello i need help, if somebody can help me please do it =)
i have a freeradius server v1.1.3 with mysql 5.0.22 running in ubuntu drapper , both having comunication, i have an access point cisco  which one is working with freeradius server excellent, the authentication is throught the radcheck table in radius database , im using PEAP/MS-CHAV2 and for example i have a laptop with wireless and i enter a username and a password that i already have in the radcheck table and the conexion with freeradius is always sucessful, im running dhcp3 and when radius accept the user, dhcp3  send a ip to the client, everything is fine but i have a problem, i need to create two dynamic ip pools, one for users of a group A and one for users of the group B  the problem is that i dont have any idea how can i use the radcheck table for auth the users and in the same time use dhcp3 to recognize those users and assing the ip from the ip pool A or B depending if the user belongs to the group A or B
how can work mysql and dhcp3 togetherhelp me please
eduardo
 Lo mejor en entretenimiento, visita: Prodigy/MSN Haz clic aquí  

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

HELP

2006-12-09 Thread Tomas Eduardo Lotina Ramos

HELP PLEASE
hello i need help, if somebody can help me please do it =)
i got a freeradius server with mysql, both having comunication, i have an access point cisco  which one is working with freeradius server excellent, the authentication is throught the radcheck table in radius database , im using PEAP/MS-CHAV2 and for example i have a laptop with wireless and i enter a username and a password that i already have in the radcheck table and the conexion with freeradius is always sucessful, im running dhcp3 and when radius accept the user, dhcp3  send a ip to the client, everything is fine but i have a problem, i need to create two dynamic ip pools, one for users of a group A and one for users of the group B  the problem is that i dont have any idea how can i use the radcheck table for auth the users and in the same time use dhcp3 to recognize those users and assing the ip from the ip pool A or B depending if the user belongs to the group A or B
how can i work with mysql and dhcp3???help me please
eduardo

I.S.C Tomas Eduardo Lotina Ramosthe Love is the base of the world, and its only hope..Crea tu Space y compartelo con quién tu quieras Haz clic aquí  Windows Live Spaces en Prodigy/MSN

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

HELP

2006-12-09 Thread Tomas Eduardo Lotina Ramos
HELP PLEASE
hello i need help, if somebody can help me please do it =)
i got a freeradius server with mysql, both having comunication, i have an access point cisco  which one is working with freeradius server excellent, the authentication is throught the radcheck table in radius database , im using PEAP/MS-CHAV2 and for example i have a laptop with wireless and i enter a username and a password that i already have in the radcheck table and the conexion with freeradius is always sucessful, im running dhcp3 and when radius accept the user, dhcp3  send a ip to the client, everything is fine but i have a problem, i need to create two dynamic ip pools, one for users of a group A and one for users of the group B  the problem is that i dont have any idea how can i use the radcheck table for auth the users and in the same time use dhcp3 to recognize those users and assing the ip from the ip pool A or B depending if the user belongs to the group A or B
how can i work with mysql and dhcp3???help me please
eduardo

I.S.C Tomas Eduardo Lotina Ramosthe Love is the base of the world, and its only hope..Ya tienes la ultima versión de Messenger: Windows Live Messenger en Prodigy/MSN (V.8) Haz clic aquí  

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