Freeradius2 installation doesn't work



  • Installation of freeradius2 FAILED!
    
    Beginning package installation for freeradius2...
    Downloading package configuration file... done.
    Saving updated package information... done.
    Downloading freeradius2 and its dependencies... 
    Checking for package installation... 
     Downloading http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/freeradius-2.1.12.tbz ...  could not download from there or http://ftp2.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.1-release/All/freeradius-2.1.12.tbz.
    of freeradius-2.1.12 failed!
    
    Installation aborted.Backing up libraries... 
    Removing package...
    Starting package deletion for freeradius-2.1.12...done.
    Starting package deletion for python27-2.7.2_3...done.
    Starting package deletion for perl-5.12.4_3...done.
    Starting package deletion for libltdl-2.4_1...done.
    Starting package deletion for gdbm-1.9.1...done.
    Removing freeradius2 components...
    Tabs items... done.
    Menu items... done.
    Services... done.
    Loading package instructions...
    Include file freeradius.inc could not be found for inclusion.
    Deinstall commands... 
    Not executing custom deinstall hook because an include is missing.
    Removing package instructions...done.
    Auxiliary files... done.
    Package XML... done.
    Configuration... done.
    Cleaning up... Failed to install package.
    
    Installation halted.
    

    I tried many times and I've got different errors fetching the needed packages.

    In addition, packages for pfSense 2.0.1 should be downloaded from:

    ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/`uname -m`/packages-8.1-release/Latest/
    

    https://redmine.pfsense.org/issues/2075
    https://redmine.pfsense.org/issues/2076

    Regards,

    Josep Pujadas



  • There is a working in progress on this package, maybe today it will be fixed and also include binaries with ldap and database support



  • marcelloc,

    First of all, many thanks!

    I'm interested in quotas. Do you plan to support quotas?

    http://redmine.pfsense.org/issues/1932

    Regards,

    Josep Pujadas



  • Hi bellera,

    Nachtfalke is implementing new features, i'm just helping on binaries compilation.

    Take a look on freeradius2 topic on packages

    http://forum.pfsense.org/index.php/topic,43675.0.html



  • bellera:
    As far as I understand this it is dependent on what the NAS sends and accepts.
    Chillispot is harmonized with the included RADIUS.

    FreeRADIUS2 supports the "rlm_counter" module.
    http://wiki.freeradius.org/Rlm_counter

    Perhaps we can modifiy this to work with some specific NAS.
    I found some pages where people integrate the chillispot-radius-attributes into freeradius.



  • Three days ago I installed freeradius2. Unfortunately I didn't conserve the installation.

    I looked to the web configurator. I saw control by time for the users but not control by amount of traffic (byte).

    When I told quotas I would say traffic consumption (byte).

    I'm sorry if I didn't explain correctly. I don't know very much how it works a hotspot based on freeradius.

    However I read a lot about last days. Some interesting addresses that I found:

    http://www.dmasoftlab.com/cont/radman
    http://easyhotspot.inov.asia/index.php/about
    http://linux.xvx.cz/2010/03/debian-wi-fi-hotspot-using-coovachilli-freeradius-mysql-and-daloradius/

    Note: coovachilli replaces chillispot. There are FreeBSD ports for both.

    Regards,

    Josep Pujadas



  • I looked to the web configurator. I saw control by time for the users but not control by amount of traffic (byte).

    When I told quotas I would say traffic consumption (byte).

    Using it with pfSense Captive Portal…



  • @bellera:

    I looked to the web configurator. I saw control by time for the users but not control by amount of traffic (byte).

    When I told quotas I would say traffic consumption (byte).

    Using it with pfSense Captive Portal…

    bellera:
    Yes, I know what you mean. And doing quota based on time or ammount of traffic will be really usefull.
    And if I know how (I don't at the moment) I will implement this. When freeradius2 package is running nearly stable and the implemented features work as they should then we can start on adding features which need more work and time. I am sure there are people around the forum who can help me with that in the future :o)



  • pfSense Captive Portal is IPFW based.

    And IPFW has "accounting capacities":

    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html

    ipfw -a list
    

    I don't know how pfSense works to make the dialogue between Captive Portal (IPFW) and FreeRadius.

    I found a daemon (http://www.freebsd.org/cgi/url.cgi?ports/net/mpd5/pkg-descr) that makes a similar dialogue:

    http://mpd.sourceforge.net/doc/mpd62.html

    Perhaps it helps you…



  • @bellera:

    pfSense Captive Portal is IPFW based.

    And IPFW has "accounting capacities":

    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html

    ipfw -a list
    

    I don't know how pfSense works to make the dialogue between Captive Portal (IPFW) and FreeRadius.

    I found a daemon (http://www.freebsd.org/cgi/url.cgi?ports/net/mpd5/pkg-descr) that makes a similar dialogue:

    http://mpd.sourceforge.net/doc/mpd62.html

    Perhaps it helps you…

    I will put that on my to-do list and take a look at all the links you posted. This is my last day on vacation today and I do not want to go to bed with something in my head that doesn't let me sleep :D



  • Hi bellera,

    you requested a posibility to limit the amount of bytes used by a user with CP and RADIUS.
    on pkg 1.5.2 I added this feature. I tested this with some small tests and it seems to work.

    Take a look at pfsense docs and freeradius 2.x package for a little how-to.

    And please give a feedback and how it works.

    Thanks
    Nachtfalke



  • Ok, thanks!


Locked