(no commit message)
authorhttps://www.google.com/accounts/o8/id?id=AItOawm_gIgjzml0PLxoLQf9mEu2JK0rzUNAO4s <Daniel@web>
Wed, 21 Dec 2011 13:43:03 +0000 (08:43 -0500)
committerwww-data <www-data@project-moonshot.org>
Wed, 21 Dec 2011 13:43:03 +0000 (08:43 -0500)
configuringdebian.mdwn [new file with mode: 0644]

diff --git a/configuringdebian.mdwn b/configuringdebian.mdwn
new file mode 100644 (file)
index 0000000..1712504
--- /dev/null
@@ -0,0 +1,57 @@
+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
+
+    wget -O - http://repository.project-moonshot.org/key.gpg | apt-key add -
+
+    cat >/etc/apt/preferences <<EOF
+    Package: libstdc++6
+    Pin: version 4.6*
+    Pin-Priority: 900
+
+    Package: *
+    Pin: release o=moonshot
+    Pin-Priority: 750
+
+    Package: *
+    Pin: release n=squeeze
+    Pin-Priority: 700
+
+    Package: *
+    Pin: release a=testing
+    Pin-Priority: 650
+    EOF
+
+
+    apt-get install -t testing libkrb5-3 krb5-user krb5-gss-samples
+    apt-get install moonshot-gss-eap freeradius-common
+
+    ktutil
+        addent -password -p host/localhost@EXAMPLE.ORG -k 1 -e aes256-cts
+        wkt /etc/krb5.keytab
+        quit
+
+
+    cat >/etc/radsec.conf <<EOF
+    dictionary = "/etc/freeradius/dictionary"
+
+    realm gss-eap {
+        type = "UDP"
+        timeout = 5
+        retries = 3
+        server {
+            hostname = "147.251.54.62"
+            service = "1812"
+            secret = "PASS"
+        }
+    }
+    EOF
+    chmod 600 /etc/radsec.conf
+
+
+    mkdir -p /usr/etc/gss/
+    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
+    EOF