FreeRadius Dictionary File issues

I was following the howto in the wiki (http://wiki.mikrotik.com/wiki/RouterOs_MySql_Freeradius) and I get this error trying to start up radiusd:

[root@ns3 ~]# radiusd -x
Starting - reading configuration files ...
Errors reading dictionary: dict_init: /usr/local/etc/raddb/dictionary[177]: invalid ATTRIBUTE line
Errors reading radiusd.conf

So then I comment the lines out to see if I can just get it to go, and then get this:

[root@ns3 ~]# radiusd -x
Starting - reading configuration files ...
Errors reading dictionary: dict_init: No ATTRIBUTE "Wireless-Enc-Algo" defined for VALUE "104-bit-WEP"
Errors reading radiusd.conf

This is with the MikroTik dictionary file referenced in the wiki article. The box is FreeBSD 6.1 stable.

Try to download original tar.gz file from Freeradius site, extract it and put the dictionary file from this package instead of the one you have. I use Freeradius on Linux and I haven’t modified any dictionary files at all and still everything works for me.

Thanks you fixed me! :slight_smile: