<div>Thanks heaps Kelvin & Frank, worked a treat!</div>
<div> </div>
<div>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'.
</div>
<div> </div>
<div>I didn't do step 3 though (?).</div>
<div> </div>
<div>Now when it starts I get this (which appears normal);</div>
<div> </div>
<div> </div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">daytona:/etc/freeradius# freeradius -x<br>Starting - reading configuration files ...<br>Using deprecated naslist file. Support for this will go away soon.
<br>Module: Loaded PAP<br>Module: Instantiated pap (pap)<br>Module: Loaded CHAP <br>Module: Instantiated chap (chap)<br>Module: Loaded MS-CHAP<br>Module: Instantiated mschap (mschap)<br>Module: Loaded SQL<br>rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
<br>rlm_sql (sql): Attempting to connect to freeradius_user@localhost:/freeradius<br>rlm_sql (sql): starting 0<br>rlm_sql (sql): Attempting to connect rlm_sql_mysql #0<br>rlm_sql_mysql: Starting connect to MySQL server for #0
<br>rlm_sql (sql): Connected new DB handle, #0 <br>rlm_sql (sql): starting 1<br>rlm_sql (sql): Attempting to connect rlm_sql_mysql #1<br>rlm_sql_mysql: Starting connect to MySQL server for #1<br>rlm_sql (sql): Connected new DB handle, #1
<br>rlm_sql (sql): starting 2<br>rlm_sql (sql): Attempting to connect rlm_sql_mysql #2<br>rlm_sql_mysql: Starting connect to MySQL server for #2<br>rlm_sql (sql): Connected new DB handle, #2<br>rlm_sql (sql): starting 3<br>
rlm_sql (sql): Attempting to connect rlm_sql_mysql #3 <br>rlm_sql_mysql: Starting connect to MySQL server for #3<br>rlm_sql (sql): Connected new DB handle, #3<br>rlm_sql (sql): starting 4<br>rlm_sql (sql): Attempting to connect rlm_sql_mysql #4
<br>rlm_sql_mysql: Starting connect to MySQL server for #4 <br>rlm_sql (sql): Connected new DB handle, #4<br>Module: Instantiated sql (sql)<br>Module: Loaded Acct-Unique-Session-Id<br>Module: Instantiated acct_unique (acct_unique)
<br>Initializing the thread pool...<br>Listening on authentication *:1812 <br>Listening on accounting *:1813<br>Ready to process requests.</blockquote>
<div> </div>
<div>I definatley owe you guys a pint!</div>
<div> </div>
<div>Cheers</div>
<div> </div>
<div>Liam</div><br> </div>
<div><span class="gmail_quote">On 15/06/07, <b class="gmail_sendername">Ranner, Frank MR</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Frank.Ranner@defence.gov.au" target="_blank">Frank.Ranner@defence.gov.au
</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">_______________________________<br><br> From:<br>freeradius-users-bounces+frank.ranner=
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:defence.gov.au@lists.freeradius.or" target="_blank">defence.gov.au@lists.freeradius.or</a><br>g<br>[mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:freeradius-users-bounces+frank.ranner=defence.gov.au@lists.freer" target="_blank">
freeradius-users-bounces+frank.ranner=defence.gov.au@lists.freer </a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://adius.org/" target="_blank">adius.org</a>] On Behalf Of Liam Farr<br> Sent: Friday, 15 June 2007 15:11
<br> To: FreeRadius users mailing list<br> Subject: Errors reading dictionary - MikroTik<br><br><br> Hi,<br><br> I get the following error trying to start freeradius;<br><br> daytona:~# freeradius -x
<br> Starting - reading configuration files ...<br> Errors reading dictionary: dict_init: <br>/etc/freeradius/dictionary[177]: invalid ATTRIBUTE line<br> Errors reading radiusd.conf<br> daytona:~#
<br><br> Im using the dictionary file provided by MikroTik at<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.mikrotik.com/Documentation/manual_2.9/dictionary" target="_blank">http://www.mikrotik.com/Documentation/manual_2.9/dictionary
</a><br><<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.mikrotik.com/Documentation/manual_2.9/dictionary" target="_blank">http://www.mikrotik.com/Documentation/manual_2.9/dictionary</a>> whihc I
<br>installed by typing;<br><br><br> cd /etc/freeradius<br> rm dictionary<br> wget<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.mikrotik.com/Documentation/manual_2.9/dictionary" target="_blank">
http://www.mikrotik.com/Documentation/manual_2.9/dictionary </a><br><<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.mikrotik.com/Documentation/manual_2.9/dictionary" target="_blank">http://www.mikrotik.com/Documentation/manual_2.9/dictionary
</a>><br> chmod 640 dictionary<br> chown root.freerad dictionary <br> I'm relatively new to FreeRADIUS and any help would be<br>appreciated.<br><br> Regards<br><br> Liam<br><br>1. put back the dictionary you deleted.
<br>2. in the /etc/freeradius/dictionary file add a line: <br>$INCLUDE /usr/share/freeradius/dictionary.mikrotik<br>3. Replace dictionary.mikrotik in /usr/share/freeradius with lines 196<br>- end of the file in your url
<br><br>Now the server should load correctly.<br><br>Regards,<br>Frank Ranner<br><br>-<br>List info/subscribe/unsubscribe? See <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.freeradius.org/list/users.html" target="_blank">
http://www.freeradius.org/list/users.html</a></blockquote></div>