Re: DHCP in FR

2009-11-18 Thread Alan DeKok
Kassai Istvan wrote: I can see in the log, the assigned client ip (rad.log), but somehow the client doesn't use it. I think I done wrong something, but what? I don't know. Try using tcpdump on the client server to see where the packets are going. But it is only the first step. The next

Re: DHCP in FR

2009-11-16 Thread Alan Buxey
Hi, Module: Checking dhcp DHCP-Request {...} for more modules to load Module: Linked to module rlm_passwd Module: Instantiating mac2ip passwd mac2ip { filename = /usr/local/etc/raddb/mac2ip format = *DHCP-Client-Hardware-Address:=DHCP-Your-IP-Address delimiter = ,

Re: DHCP in FR

2009-11-16 Thread kako
Hi, Module: Checking dhcp DHCP-Request {...} for more modules to load Module: Linked to module rlm_passwd Module: Instantiating mac2ip passwd mac2ip { filename = /usr/local/etc/raddb/mac2ip format = *DHCP-Client-Hardware-Address:=DHCP-Your-IP-Address delimiter = ,

Re: DHCP in FR

2009-11-15 Thread Kassai Istvan
hello, I was recompiled the freeradius (2.1.7) with dhcp support. Enabled the dhcp support and is listening on proper port and interface * listen { type = dhcp ipaddr = * port = 67 } Listening on authentication address * port 1812 Listening

Re: DHCP in FR

2009-11-15 Thread Alan DeKok
Kassai Istvan wrote: When I set up an ip address in the sites-enabled/dhcp DHCP-Request section, I can see it in the debug log (rad.log), as DHCP-Your-IP-Address, but the client isn't gets it. The debug log shows that the mac2ip module isn't finding the MAC: ... ++[mac2ip] returns notfound

Re: DHCP in FR

2009-11-15 Thread Kassai Istvan
2009. 11. 15, vasárnap keltezéssel 16.58-kor Alan DeKok ezt írta: Kassai Istvan wrote: When I set up an ip address in the sites-enabled/dhcp DHCP-Request section, I can see it in the debug log (rad.log), as DHCP-Your-IP-Address, but the client isn't gets it. The debug log shows that

Re: DHCP in FR

2009-11-15 Thread Alan DeKok
Kassai Istvan wrote: As I wrote: There is a mac2ip text file in the usr/local/etc/raddb dir, with this content: 08:00:27:27:8F:E1,192.168.5.55 I'm not sure what's going wrong, then. It works for me... I suggest simply editing the sites-available/dhcp file directly. Hard-code the

Re: DHCP in FR

2009-11-15 Thread Kassai Istvan
2009. 11. 15, vasárnap keltezéssel 21.03-kor Alan DeKok ezt írta: Kassai Istvan wrote: As I wrote: There is a mac2ip text file in the usr/local/etc/raddb dir, with this content: 08:00:27:27:8F:E1,192.168.5.55 I'm not sure what's going wrong, then. It works for me... I

Re: DHCP in FR

2009-11-14 Thread Alan DeKok
Kassai Istvan wrote: I just enabled the dhcp file from sites-available directory, without modifications. I haven't found any info about how can I make it work, and was just trying. What does that mean? Did you run the server in debugging mode, as suggested EVERYWHERE? Alan DeKok. -

Re: DHCP in FR

2009-11-14 Thread Kassai Istvan
2009. 11. 14, szombat keltezéssel 10.28-kor Alan DeKok ezt írta: Kassai Istvan wrote: I just enabled the dhcp file from sites-available directory, without modifications. I haven't found any info about how can I make it work, and was just trying. What does that mean? Did you run

Re: DHCP in FR

2009-11-14 Thread Alan DeKok
Kassai Istvan wrote: Did you run the server in debugging mode, as suggested EVERYWHERE? what does what mean? I use the radius for accounting purposes, and would like to enable dhcp. Put a symlink into sites-enabled directory to the dhcp, and was running the radiusd with -X, and was waiting

Re: DHCP in FR

2009-11-13 Thread Kassai Istvan
2009. 11. 12, csütörtök keltezéssel 12.00-kor Alan DeKok ezt írta: radiusd: Loading Virtual Servers server dhcp { modules { } # modules You CANNOT put the modules section into a server section. Nothing in the documentation or examples says that it is possible. I just

DHCP in FR

2009-11-12 Thread kako
Hi, I started the radiusd with -X. Is this part of the output means or not there is DHCP support? radiusd: Loading Virtual Servers server dhcp { modules { } # modules } # server WARNING: Server dhcp is empty, and will do nothing! - List info/subscribe/unsubscribe? See

Re: DHCP in FR

2009-11-12 Thread Alan DeKok
k...@zhnet.hu wrote: I started the radiusd with -X. Is this part of the output means or not there is DHCP support? It means you didn't read the sample configuration file in raddb/sites-available/dhcp radiusd: Loading Virtual Servers server dhcp { modules { } # modules You