(no commit message)
[devwiki.git] / configuringdebian.mdwn
index 6cd15c3..601ac4d 100644 (file)
@@ -1,7 +1,7 @@
 Clean installation of Debian 6.
 
     echo "deb http://repository.project-moonshot.org/debian-moonshot sid main" > /etc/apt/sources.list.d/moonshot.list
-    echo "deb http://ftp.cz.debian.org/debian testing main contrib non-free" > /etc/apt/sources.list.d/testing
+    echo "deb http://ftp.cz.debian.org/debian testing main contrib non-free" > /etc/apt/sources.list.d/testing.list
 
     wget -O - http://repository.project-moonshot.org/key.gpg | apt-key add -
 
@@ -23,16 +23,13 @@ Clean installation of Debian 6.
     Pin-Priority: 650
     EOF
 
-
+    apt-get update
     apt-get install -t testing libkrb5-3 krb5-user krb5-gss-samples
     apt-get install moonshot-gss-eap freeradius-common
     apt-get install libapache2-mod-shib2
 
-    # install a kernel that supports better encryption
-    apt-get install linux-image-amd64/testing
-
     cat >/etc/radsec.conf <<EOF
-    dictionary = "/etc/freeradius/dictionary"
+
 
     realm gss-eap {
         type = "UDP"
@@ -52,7 +49,8 @@ Clean installation of Debian 6.
     cat >/usr/etc/gss/mech <<EOF
     eap-aes128      1.3.6.1.4.1.5322.22.1.17    mech_eap.so
     eap-aes256      1.3.6.1.4.1.5322.22.1.18    mech_eap.so
+eap-aes128             1.3.6.1.5.5.15.1.1.17           mech_eap.so
+eap-aes256             1.3.6.1.5.5.15.1.1.18           mech_eap.so
     EOF
 
-    gss-server host@localhost &
-    gss-client -mech "{1 3 6 1 4 1 5322 22 1 17}" localhost host@localhost HELLO
+[[!inline pages=testing-/gss-sample.mdwn]]