Adding second AP to Freeradius-mysql

Discussion in 'HOWTO-Related Questions' started by Camomille, Aug 19, 2014.

  1. Camomille

    Camomille New Member HowtoForge Supporter

    Hello,
    I have installed Freeradius-mysql on Centos following the great howto found here.
    It's running fine for years with one AP.
    There is now a second AP connected and configurated. There is no error reported but login always fail through this AP.

    Sure the 2nd AP configuration is not complete. I have added a new line in table "nas" and created a second and "hotspotlogin.cgi".

    Here is what I found when launching radiusd -X and attempting to login from new AP:

    Code:
    Found Auth-Type = CHAP
    # Executing group from file /etc/raddb/sites-enabled/default
    +- entering group CHAP {...}
    [chap] login attempt by "user" with CHAP password
    [chap] Using clear text password "test" for user user authentication.
    [chap] Password check failed
    ++[chap] returns reject
    Failed to authenticate the user.
    Using Post-Auth-Type Reject
    This does not appear when login through first AP !!

    I already spent 2 days on this problem and I hope someone will show what I'm doing wrong (or not doing at all !! )

    Great thanks in advance :)

    Greetings to all.

    Camomille
     
  2. Camomille

    Camomille New Member HowtoForge Supporter

    Good night,

    I'm still working on my problem and just found a "piece of solution" in radiusd logs.

    This might help us to find my errors:

    Code:
    Mon Aug 18 19:59:45 2014 : Info: Loaded virtual server <default>
    Mon Aug 18 19:59:45 2014 : Info: Ready to process requests.
    Tue Aug 19 00:24:18 2014 : Error: Ignoring request to authentication address * port 1812 from unknown client 192.168.100.13 port 54859
    .....
    Tue Aug 19 00:28:26 2014 : Error: Ignoring request to authentication address * port 1812 from unknown client 192.168.100.13 port 42717
    Tue Aug 19 00:28:28 2014 : Info: Exiting normally.
    Great thanks for your precious help :)

    Greetings to all.

    Camomille
     

Share This Page