+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