Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Freeradius2 installation doesn't work

    Scheduled Pinned Locked Moved pfSense Packages
    12 Posts 3 Posters 5.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • belleraB
      bellera
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

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

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • belleraB
          bellera
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            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

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • N
              Nachtfalke
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • belleraB
                bellera
                last edited by

                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

                1 Reply Last reply Reply Quote 0
                • belleraB
                  bellera
                  last edited by

                  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…

                  1 Reply Last reply Reply Quote 0
                  • N
                    Nachtfalke
                    last edited by

                    @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)

                    1 Reply Last reply Reply Quote 0
                    • belleraB
                      bellera
                      last edited by

                      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…

                      1 Reply Last reply Reply Quote 0
                      • N
                        Nachtfalke
                        last edited by

                        @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

                        1 Reply Last reply Reply Quote 0
                        • N
                          Nachtfalke
                          last edited by

                          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

                          1 Reply Last reply Reply Quote 0
                          • belleraB
                            bellera
                            last edited by

                            Ok, thanks!

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.