From 446e167baf0a5b79f7368ac6c1ed679774501cf6 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawk6GJyBxFZR3knrIbs4-CshB2KtVifnjAw" Date: Mon, 6 May 2013 17:16:42 -0400 Subject: [PATCH] --- trustrouterinfo.mdwn | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/trustrouterinfo.mdwn b/trustrouterinfo.mdwn index fc621d0..b924a15 100644 --- a/trustrouterinfo.mdwn +++ b/trustrouterinfo.mdwn @@ -37,25 +37,20 @@ On one node, you will run the IDP AAA Server and the TIDS. The TIDS must run on Before running the IDP AAA Server, you will need to configure freeradius to use the SQL key database that will be shared with the TIDS. This can be done by adding a file called 'psk' to the /etc/freeradius/mods-enabled directory with the following contents: -sql psksql { - -driver = "rlm_sql_sqlite" - -filename = "/var/tmp/keys" - +sql psksql {
+driver = "rlm_sql_sqlite"
+filename = "/var/tmp/keys"
} You will also need to add 'psksql' to the existing 'instantiate' section in etc/freeradius/radiusd.conf. Before running TIDS for the first time, create the SQL database using the following commands: -sqlite3 /var/tmp/keys - -sqlite3> create table psk_keys (keyid text primary key, key blob); - +sqlite3 /var/tmp/keys
+sqlite3> create table psk_keys (keyid text primary key, key blob);
^D -Start the freeradius server (on Node-2, as root): +Start the freeradius server (on Node-2, as root):> root@debian:/opt/moonshot/sbin# ./radiusd -fxx -l stdout -- 2.1.4