freeradius 3 + mysql configure

Fajar A. Nugraha list at fajar.net
Fri Feb 26 11:26:03 CET 2016


On Fri, Feb 26, 2016 at 5:11 PM, Kiefer, Jonas <jonas.kiefer at classen.de> wrote:
> Hello freeradius users,
>
> i install a freeradius 3 with mysql and daloradius on ubuntu 14.04 lts.
> Now i trie to get the radius authentification working with a hp procurve 2530 switch.
> But the Radius Server does not send any Access-Accept Message.
> Only Access-Challanges will send tot he switch:
>
> Logfile:
> Fri Feb 26 09:09:12 2016 : Debug: Server was built with:

(1) Please use "freeradius -X". Or better yet, start by reading
http://wiki.freeradius.org/guide/Troubleshooting . There's a link at
the bottom that might help you read the resulting log

(2) You have weird errors:
Fri Feb 26 09:09:12 2016 : Debug: Loading library using absolute path
"/usr/lib/freeradius/proto_auth.so"
Fri Feb 26 09:09:12 2016 : Debug: Failed with error:
/usr/lib/freeradius/proto_auth.so: cannot open shared object file: No
such file or directory

Which config did you use as template? Note that you can NOT simply
copy-paste FR2's config (even if you adjust the path). Start from
scratch, edit the config files by hand

(3) As suggested on (1), Make small, discrete changes to the
configuration files. So for example:
- fresh install, test with 'radtest' using an entry in users file
- enable db, test with radtest again (it should use pap by default,
which is easier to debug)
- if THAT works, try radtest again, but this time with "-t mschap"
- if THAT also work, try again with your actual switch

-- 
Fajar


More information about the Freeradius-Users mailing list