Menu

Stuck with ip pools

Help
2015-07-02
2015-07-15
  • Paul Robinson

    Paul Robinson - 2015-07-02

    Im beginning to think my dalo radius is broken at the moment cause
    everything i read says what i've done so far should work, but i dont get
    an ip address - though there is very little in terms of information
    about it.

    I've created an ip pool and added a couple of ip addresses to it (my
    assumption here is that I add one ip address at a time to the pool, I
    know i can add this as sql on the command line, just curious if there
    was a more useful way via the gui - the gui just seems to allow one ip
    address at a time which seems a little pointless really).

    Next i've created a profile and added the user to the profile (what i
    keep reading is this should be "group", but profile appears to be the
    same thing as group?).

    Next, i've added some attributes to the profile (service-type,
    framed-protocol) and then lastly i've added an attribute from the
    "freeradius.internal" dictionary called "Pool-Name". I've tried adding
    this as both a check and reply attribute with both "=" and ":=" and
    nothing much occurs:

    user$ radtest test2@aaa.com password localhost 1 testing123
    Sending Access-Request of id 9 to 127.0.0.1 port 1812
    User-Name = "test2@aaa.com"
    User-Password = "password"
    NAS-IP-Address = 127.0.1.1
    NAS-Port = 1
    rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=9,
    length=42
    Service-Type = Framed-User
    Framed-Protocol = PPP

    Much googling has resulted in very little progres, but the best i've
    managed to achieve is that i get this from the debug output:

    Executing group from file /etc/freeradius/sites-enabled/default

    +- entering group PAP {...}
    [pap] login attempt with password "password"
    [pap] Using clear text password "password"
    [pap] User authenticated successfully
    ++[pap] returns ok

    Executing section post-auth from file

    /etc/freeradius/sites-enabled/default
    +- entering group post-auth {...}
    ++[main_pool] returns noop
    [sql] expand: %{User-Name} -> test2@aaa.com
    [sql] sql_set_user escaped user --> 'test2@aaa.com'
    [sql] expand: %{User-Password} -> password

    This was after enabling "main_pool" in the default site in
    /etc/freeradius on the server, but all it seems to do is "returns noop",
    i assume that the attribute i've set is correct for the pool name as
    before it was saying this:
    [main_pool] Could not find Pool-Name attribute.

    I dont believe thats the right thing to do though as main_pool would
    normally be an actual pool name, any help would be greatly appreciated
    though!

     
  • Kyriacos Hadjisavvas

    i have exactly the same problem, im using the turnkeylinux .ova template version of daloradius.

     
  • Kyriacos Hadjisavvas

    Did you solve your problem? Does anyone have an opinion on this?

     

Log in to post a comment.