Freeradius as DHCP server (static IP + some options)

2013-01-21 Thread Leo Combes
Hello. I successfully run ISC-DHCP server for provisioning modems in an ISP's network, but what I wanted to try is something more modern and with database support. I want to try using Freeradius as DHCP server, but first I want to know if it is possible with these requirements: - Need to deliver f

Re: Freeradius as DHCP server (static IP + some options)

2013-01-22 Thread Leo Combes
Thanks Alan. I hope to make it work. As I have little experience with Freeradius, I want to start doing a little test with the "mac2ip" module. I made a file called mac2ip in /etc/freeradius with the following contents: 00:13:96:00:f9:84,10.1.100.1 The /etc/freeradius/sites-enabled/dhcp as foll

Re: Freeradius as DHCP server (static IP + some options)

2013-01-22 Thread Leo Combes
Thanks again Alan. > > At last I tried to run freeradius: > > Please use "radiusd -X", not "radiusd -Xx" OK. > > Info: server dhcp { > > Debug: Trying sub-section dhcp DHCP-Discover {...} > > Info: +- entering group DHCP-Discover {...} > > Info: ++[reply] returns noop > > Info: ++[reply] retu

Re: Freeradius as DHCP server (static IP + some options)

2013-01-23 Thread Leo Combes
Thanks for your reply. Fortunately it seems that the segfault is a false alarm. As it semt strange to me that Freeradius stop working by segfault, I installed FR in another PC and I copy the same configuration. Now it seems to be working, except that it stays in loop on DHCP Discover (no Offer, no

Re: Freeradius as DHCP server (static IP + some options)

2013-01-28 Thread Leo Combes
2013/1/23 : > hi, > > those ID values look a little 'wierd' - vary large and negative I don't understand where this values came from? which would be the normal values? > does the DHCP response leave the server? do you have anything > like dHCP snooping on the network that might be blocking the

Re: output attributes in free-radius

2013-01-30 Thread Leo Combes
2013/1/29 Lakshmi Narayana Baliah : > Hi All, > > How can i define output attributes in free-radius? > Any help would be appreciated. > I'm no expert on this, but maybe adding a custom dictionary? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius as DHCP server (static IP + some options)

2013-02-27 Thread Leo Combes
I apollogize for the late response, I have been very busy and I couldn't keep working on this. I found the problem! (at least it works now) I installed Freeradius from PPA. https://launchpad.net/~freeradius/+archive/stable DHCP functionality not work when installed from PPA, or at least the pack

Re: Freeradius as DHCP server (static IP + some options)

2013-03-01 Thread Leo Combes
> what configuration options are in the PPA version? something is not right > there Once installed, the configuration files in /etc/freeradius or /etc/raddb are the same, or at least the most relevant ones to its functionality. I will compare one by one to see if I find any difference. > ...and

Re: Freeradius as DHCP server (static IP + some options)

2013-03-01 Thread Leo Combes
> That might be an Ubuntu security setting. It seems to work fine on my > systems. So it's hard to track down what's happening on other systems. > > Alan DeKok. As additional information, I tried with PPA version in Debian and do not work (same problem). Maybe is a problem in my server. - L

Update reply to DHCP-Ack

2013-03-25 Thread Leo Combes
I have a small problem that I do not know how to solve. Freeradius works correctly as DHCP server delivering static IPs, but I need to write a log in the PostAuth database if the transaction finalizes with a DHCP-Ack. Currently when transaction ends with a DHCP-Ack, this configuration log a "DHCP-

Re: Update reply to DHCP-Ack

2013-03-27 Thread Leo Combes
Works fine with this: if(ok){ update request { DHCP-Message-Type := DHCP-Ack } deselabs_dhcp_cpes.post-auth } See that I use "update request" instead of "update reply". I don't know if is correct this way, but works. - List info/subscribe/unsubscribe? See h

Problem with login in FR wiki

2013-04-05 Thread Leo Combes
I'm trying to post on FR WIKI with an openID account, as I try to log in with my ID I get an "Authentication failed - Insufficient data from authentication provider, name not provided or empty" error. The same happens to me when I try to log in with my GitHub account. Somebody has an idea? - List

Re: Problem with login in FR wiki

2013-04-05 Thread Leo Combes
Many thanks! 2013/4/5 Arran Cudbard-Bell : > > On 5 Apr 2013, at 12:18, Leo Combes wrote: > >> I'm trying to post on FR WIKI with an openID account, as I try to log >> in with my ID I get an "Authentication failed - Insufficient data from >> authentication

Re: Freeradius as DHCP server (static IP + some options)

2013-04-05 Thread Leo Combes
New article on wiki: http://wiki.freeradius.org/dhcp-for-static-ip-allocation Please let me know your thoughts. 2013/3/3 Alan DeKok : > Leo Combes wrote: >> As additional information, I tried with PPA version in Debian and do >> not work (same problem). >> Maybe is a

Re: question about freeradius

2013-04-28 Thread Leo Combes
El abr 28, 2013 10:13 p.m., "Tim Reichhart" escribió: > > Hey Guys > > I am just wondering if I can use freeradius for hotspot and dial up accounts on same box or does it have to be separate box for hotspot and dial up accounts? > > > > Tim > > > - > List info/subscribe/unsubscribe? See http://www