Thanks heaps Kelvin & Frank, worked a treat!

I re downloaded the Debian free radius package, extracted and replaced the
original /etc/freeradius/dictionary file, chomod & chown'd it and added the
line '$INCLUDE        /usr/share/freeradius/dictionary.mikrotik'.

I didn't do step 3 though (?).

Now when it starts I get this (which appears normal);



daytona:/etc/freeradius# freeradius -x
Starting - reading configuration files ...
Using deprecated naslist file.  Support for this will go away soon.
Module: Loaded PAP
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
Module: Instantiated mschap (mschap)
Module: Loaded SQL
rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and
linked
rlm_sql (sql): Attempting to connect to [EMAIL PROTECTED]
:/freeradius
rlm_sql (sql): starting 0
rlm_sql (sql): Attempting to connect rlm_sql_mysql #0
rlm_sql_mysql: Starting connect to MySQL server for #0
rlm_sql (sql): Connected new DB handle, #0
rlm_sql (sql): starting 1
rlm_sql (sql): Attempting to connect rlm_sql_mysql #1
rlm_sql_mysql: Starting connect to MySQL server for #1
rlm_sql (sql): Connected new DB handle, #1
rlm_sql (sql): starting 2
rlm_sql (sql): Attempting to connect rlm_sql_mysql #2
rlm_sql_mysql: Starting connect to MySQL server for #2
rlm_sql (sql): Connected new DB handle, #2
rlm_sql (sql): starting 3
rlm_sql (sql): Attempting to connect rlm_sql_mysql #3
rlm_sql_mysql: Starting connect to MySQL server for #3
rlm_sql (sql): Connected new DB handle, #3
rlm_sql (sql): starting 4
rlm_sql (sql): Attempting to connect rlm_sql_mysql #4
rlm_sql_mysql: Starting connect to MySQL server for #4
rlm_sql (sql): Connected new DB handle, #4
Module: Instantiated sql (sql)
Module: Loaded Acct-Unique-Session-Id
Module: Instantiated acct_unique (acct_unique)
Initializing the thread pool...
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.


I definatley owe you guys a pint!

Cheers

Liam


On 15/06/07, Ranner, Frank MR <[EMAIL PROTECTED] > wrote:

_______________________________

        From:
freeradius-users-bounces+frank.ranner= [EMAIL PROTECTED]
g
[mailto:[EMAIL PROTECTED]
adius.org] On Behalf Of Liam Farr
        Sent: Friday, 15 June 2007 15:11
        To: FreeRadius users mailing list
        Subject: Errors reading dictionary - MikroTik


        Hi,

        I get the following error trying to start freeradius;

        daytona:~# freeradius -x
        Starting - reading configuration files ...
        Errors reading dictionary: dict_init:
/etc/freeradius/dictionary[177]: invalid ATTRIBUTE line
        Errors reading radiusd.conf
        daytona:~#

        Im using the dictionary file provided by MikroTik at
http://www.mikrotik.com/Documentation/manual_2.9/dictionary
<http://www.mikrotik.com/Documentation/manual_2.9/dictionary> whihc  I
installed by typing;


        cd /etc/freeradius
        rm dictionary
        wget
        http://www.mikrotik.com/Documentation/manual_2.9/dictionary
<http://www.mikrotik.com/Documentation/manual_2.9/dictionary>
        chmod 640 dictionary
        chown root.freerad dictionary
        I'm relatively new to FreeRADIUS and any help would be
appreciated.

        Regards

        Liam

1. put back the dictionary you deleted.
2. in the /etc/freeradius/dictionary file add a line:
$INCLUDE        /usr/share/freeradius/dictionary.mikrotik
3.  Replace dictionary.mikrotik in /usr/share/freeradius with lines 196
- end of the file in your url

Now the server should load correctly.

Regards,
Frank Ranner

-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to