Needed Freeradius 2.x + MySQL + Dynamic DHCP.. its possible?

2011-03-17 Thread Rogelio Sevilla Fernandez

Hi.. Im working with Freeradius 2.1.8 + Mysql Support.

The Auth system works well. The only thing to do its add DHCP support.

This is the Scenario:

Client Connects to AP1.
AP1 do the request/replies from/to FreeRadius Server..
Client get Authenticated and asking IP from DHCP..

I dont want use the DHCP Server like ISC because i dont want send IPs  
to my Wired LAN, only for Wireless.


So, If the clients auths from AP1, i need freeradius send DHCP data to  
my client using one dinamic IP Pool like 192.168.1.0/24 with  
DefaultGateway, NetworkMask and DNS server.


If the same client auths from AP2, send DHCP data to the client using  
another dinamic IP pool like 192.168.2.0/24 with DefaultGW, Netmask  
and DNS server.


Is it possible to that?

Im working with DaloRadius...



--
Ing. Rogelio C. Sevilla Fernandez
Direccion de Desarrollo Telematico / Secretaria de Administracion
Gobierno del Estado de Colima
Tel (312)3162062 / (312)3162000 ext 2360

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


Re: Needed Freeradius 2.x + MySQL + Dynamic DHCP.. its possible?

2011-03-22 Thread Rogelio Sevilla Fernandez

Or maybe, exist the form to only auth via MySQL and do the Pool via files?


Alan DeKok  escribió:


Rogelio Sevilla Fernandez wrote:

So, If the clients auths from AP1, i need freeradius send DHCP data to
my client using one dinamic IP Pool like 192.168.1.0/24 with
DefaultGateway, NetworkMask and DNS server.


  It's possible... but not really easy to do right now.  Peter Nixon
apparently has some updates to the sql ippool module which makes this work.

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


--
Este mensaje ha sido analizado por MailScanner del
Gobierno del Estado de Colima en busca de virus y otros
contenidos peligrosos, y se considera que está limpio.






--
Ing. Rogelio C. Sevilla Fernandez
Direccion de Desarrollo Telematico / Secretaria de Administracion
Gobierno del Estado de Colima
Tel (312)3162062 / (312)3162000 ext 2360

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


Getting no Pool-Name defined.

2011-03-24 Thread Rogelio Sevilla Fernandez

I trying to push a IP from a IP-Pool using Sqlippool.

Doing the Auth via LAP+Wireless i got:

[sqlippool] No Pool-Name defined.
[sqlippool] expand: No Pool-Name defined   (did  
%{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user  
%{User-Name}) -> No Pool-Name defined   (did  
00-02-6F-78-02-A3:AP-8021x cli 00-1F-3A-28-1C-64 port 0 user  
rogelio.sevilla)
No Pool-Name defined   (did 00-02-6F-78-02-A3:AP-8021x cli  
00-1F-3A-28-1C-64 port 0 user rogelio.sevilla)

++[sqlippool] returns noop

but if i do the test using radtest:
radtest rogelio.sevilla test localhost  1812 testAP
Sending Access-Request of id 72 to localhost port 1812
User-Name = "rogelio.sevilla"
User-Password = "test"
NAS-IP-Address = 127.0.0.1
NAS-Port = 1812
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=72, length=26
Framed-IP-Address = 10.10.7.121

I got a Framed-IP-Address reply from my sqlippool..

Whats wrong?

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