====== Linux on a JayBook 9901 ======
* [[http://projectgus.com/files/abrasive_mirror/wm8505_linux/ | Abrasive Mirror]]
* [[http://www.cheap-hack.com/home/computer-science/wm8505/debian-installation.html | Manual on cheap-hack.com]]
English keyboard has ''/'' on the ''-'' key, ''-'' on ''ß'', and ''|'' on shift-''ä''. Also, ''y'' and ''z'' are switched.
date MMDDhhmmYYYY
mount /dev/mmcblk0p1 /mnt/sd
mount /dev/mtdblock9 /mnt/mtd
tar xzf /mnt/sd/extpart.tgz -C /mnt/mtd
rm /mnt/mtd/etc/rcS.d/S60installdebian.sh
halt
# REMOVE CARD!
passwd
# Replace current date and time in the next line
date MMDDhhmmYYYY
/sbin/wmt-rtc --sys2hw
# Wrong permissions
chmod +x / # "Cannot cd to home directory"
chmod og+w /tmp
chown -R man /var/cache/man
# USB
mknod /dev/sda b 8 0
mknod /dev/sda1 b 8 1
mknod /dev/sda2 b 8 2
mknod /dev/sda3 b 8 3
# Wireless
cat >> /etc/network/interfaces << EOF
auto lo
iface lo inet loopback
iface ra0 inet dhcp
pre-up modprobe rt3070sta
pre-up wpa_supplicant -B -Dwext -ira0 -c /etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant
post-down rmmod rt3070sta
EOF
echo -e "127.0.0.1 localhost\n127.0.0.1 munin" > /etc/hosts
echo "munin" > /etc/hostname
In ''/etc/wpa_supplicant.conf'':
network={
ssid="SOLARSYSTEM"
scan_ssid=1
key_mgmt=WPA-PSK
psk="keyphrase"
}
In ''jaykeys-de.kmap.part'':
keycode 12 = ssharp question backslash
keycode 13 = udiaeresis Udiaeresis
keycode 26 = acute grave
keycode 27 = plus asterisk tilde
keycode 39 = odiaeresis Odiaeresis
keycode 40 = numbersign apostrophe
keycode 43 = adiaeresis Adiaeresis
keycode 127 = AltGr
apt-get update # ignore GPG error about signatures that could not be verified.
apt-get dist-upgrade # confirm installation from unverifyable sources, deny update to dependency-driven boot
# Minimize swap usage
echo "vm.swappiness = 1" >> /etc/sysctl.conf
apt-get install console-tools console-setup console-data console-common unicode-data
apt-get install xserver-xorg-video-fbdev libgl1-mesa-dri xfonts-base xinit xfce4 slim
apt-get install psmisc info ssh less openssh-blacklist-extra subversion elinks gcc g++ make patch gdb gcc-doc binutils-doc manpages-dev autoconf-doc bison-doc gdb-doc libtool-doc make-doc perl-doc doc-base gcc-doc-base python2.6-doc libstdc++6-4.4-doc rsync rcs
dpkg-reconfigure -a
gpg --allow-non-selfsigned-uid --recv-keys aed4b06f473041fa
gpg --armor --export 4730141fa | apt-key add -