1 Clean installation of Debian 6.
3 echo "deb http://repository.project-moonshot.org/debian-moonshot sid main" > /etc/apt/sources.list.d/moonshot.list
4 echo "deb http://ftp.cz.debian.org/debian testing main contrib non-free" > /etc/apt/sources.list.d/testing
6 wget -O - http://repository.project-moonshot.org/key.gpg | apt-key add -
8 cat >/etc/apt/preferences <<EOF
14 Pin: release o=moonshot
18 Pin: release n=squeeze
22 Pin: release a=testing
27 apt-get install -t testing libkrb5-3 krb5-user krb5-gss-samples
28 apt-get install moonshot-gss-eap freeradius-common
31 addent -password -p host/localhost@EXAMPLE.ORG -k 1 -e aes256-cts
36 cat >/etc/radsec.conf <<EOF
37 dictionary = "/etc/freeradius/dictionary"
44 hostname = "147.251.54.62"
50 chmod 600 /etc/radsec.conf
53 mkdir -p /usr/etc/gss/
54 cat >/usr/etc/gss/mech <<EOF
55 eap-aes128 1.3.6.1.4.1.5322.22.1.17 mech_eap.so
56 eap-aes256 1.3.6.1.4.1.5322.22.1.18 mech_eap.so