brctl addbr br0
brctl stp br0 off
brctl addif br0 eth0
brctl addif br0 eth1
ifconfig eth0 down
ifconfig eth1 down
ifconfig eth0 0.0.0.0 up
ifconfig eth1 0.0.0.0 up
ifup br0=eth2 (dhcp)
Install xubuntu standard.
vim /etc/default/acpi-support: LOCK_SCREEN=false
Copy .xinitrc
/etc/acpi/events/powerbtn: action=/etc/acpi/hibernatebtn.sh
/etc/modules: vt1211 for sensors
cat /proc/bus/input for TS input node
apt-get install ssh subversion vim-gtk
svn co https://svn.neongoat.com/svn/wingman/frontend/trunk/ frontend
chown -R wingman.wingman frontend .xinitrc
copied sync script
.xinitrc change quodlibet-0.19 to frontend/quodlibet-*
apt-get install gpsd gpsd-clients
/etc/udev/whatever replaced iftab, set wired if
.quodlibet/config add /home/media/music/albums to scan path
suspend/hibernate: still issues
update-rc.d -f gdm remove
dpkg-reconfigure uswsusp
apt-get install rcconf
apt-get install splashy splashy-themes
rcconf get rid of avahi-daemon gdm laptop-mode
http://blog.paulbetts.org/index.php/2007/02/11/fixing-software-suspend-hibernate-with-uswsusp-in-ubuntu-feisty-and-edgy/
http://ubuntuforums.org/showthread.php?t=471855
dpkg-reconfigure x11-common : allowed_users=anybody nice_value=-10 /etc/X11/Xwrapper.config
apt-get install xserver-xorg-input-evtouch
copy xorg.conf
#/etc/X11/default-display-manager: /usr/sbin/gdm to /bin/su wingman startx > ~wingman/logs/startx.out 2> ~wingman/logs/startx.err
/etc/event.d/wingman:
start on runlevel 2
stop on runlevel [!2]
respawn
exec /bin/su wingman startx > ~wingman/logs/startx.out 2> ~wingman/logs/startx.err
mkdir ~wingman/logs && chown wingman:wingman ~wingman/logs
bitmap command: create blank cursor.
/etc/sudoers add: wingman ALL=NOPASSWD: ALL
#/etc/sudoers: uncomment sudo group no password
#adduser wingman sudo
apt-get install mplayer
##root@shoshi:/etc/udev/rules.d# vim 65-persistent-input.rules, add hacks to remove mouse handler from evdev input device
/etc/acpi/events/powerbtn: action=hibernate
grub timeout 1
/etc/network/interfaces: auto wireless, iface wireless inet manual
/etc/udev/rules.d/70-persistent-net.rules: ath0 to wireless
/etc/init.d/wifi-radar: log_end_msg $?
/etc/wpa_supplicant/wpa_supplicant.conf and set up wifiradar profiles.
/boot/grub/menu.lst: vga=0x311, update-grub
tune2fs -c0 -i0 /dev/hdc1
apt-get install gok mplayer-fonts festival espeak festvox-kallpc16k gmessage
/etc/modprobe.d/usbtouchscreen: options usbtouchscreen swap_xy (for lilliput only, not xenarc)
update-modules
installed fluxbox for testing
added to xinitrc: dbus and hal launchers, nm-applet
did offline networkmanager setup for wireless
took wired/wireless out of /etc/network/interfaces
turned off wifi-radar, killed wpasupplicant, commented lines in /etc/wpa/wpa_supplicant.conf
/etc/udev/rules.d/45-powermate.rules: (or add to 45-wingman.rules)
KERNEL=="event[0-9]*", SYSFS{name}=="Griffin PowerMate", OWNER="wingman", GROUP="wingman", SYMLINK="input/powermate"
ln -s /usr/share/wingman/frontend/xinitrc ~/.xinitrc
apt-get install wingman-frontend
###apt-get install xserver-xorg-video-openchrome libviaxvmc1 libviaxvmcpro1
###apt-get install xserver-xorg-video-via xserver-xorg-video-all
apt-get install libgl1-mesa-dri
apt-get install gnome-volume-manager
gconftool-2 --type bool --set /desktop/gnome/volume_manager/autobrowse false
gconftool-2 --type bool --set /desktop/gnome/volume_manager/autoipod false
2008-01-27:
/etc/modprobe.d/blacklist: blacklist ehci_hcd
update-initramfs -u
Tried AllowMouseOpenFail on TS, evtouch driver ignores it (probably). Still need logs.
before feisty upgrade: /etc/hibernate/common.conf had this:
UnloadModules usbtouchscreen (??)
2008-03-09:
dist-upgrade to hardy alpha 6
/etc/gdm/gdm-cdd.conf: autologin, kill sound
AutomaticLoginEnable=true
AutomaticLogin=wingman
SoundOnLogin=false
/home/wingman/.xsession symlink from wingman-frontend's xinitrc
nuke event.d/wingman
rcconf gdm enabled on bootup
2008-04-06:
upgrade to hardy beta
manually removed /etc/rc*.d/S19cupsys links
messed with VbeState settings in /etc/default/acpi-support and /etc/hibernate/common.conf for post-resume text console on Xenarc, nothing worked, think i reverted everything
fixed wireless, had to nuke references in gconf-editor and seahorse gnome-keyring
suspend issue when touchscreen turns off, added test hack to sleep10 before hibernate. seems to work.
root@shoshi:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdc5 1.8G 1.7G 47M 98% /
tmpfs 221M 0 221M 0% /lib/init/rw
udev 10M 32K 10M 1% /dev
tmpfs 221M 4.0K 221M 1% /dev/shm
/dev/hdc6 168G 30G 129G 19% /home
root@shoshi:~# fdisk -l /dev/hdc
Disk /dev/hdc: 185.2 GB, 185283624960 bytes
255 heads, 63 sectors/track, 22526 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 122 979933+ 82 Linux swap / Solaris
/dev/hdc2 123 22526 179960130 5 Extended
/dev/hdc5 * 123 366 1959898+ 83 Linux
/dev/hdc6 367 22526 178000168+ 83 Linux
root@shoshi:/boot# uname -a
Linux shoshi 2.6.18.1 #2 Sun Oct 15 23:11:39 PDT 2006 i686 GNU/Linux
image of bootsector and hdc5
files: root etc config-2.6.18.1 usr/local lsmod lspci lib/modules
differences between dev and production:
lcd screen (xfree timings, usb id number, calibration)
gps device
input devices (lcd and usb mini kbd, no PS/2 kbd/mouse)
wireless not wired
other devices: cardreader, ...
BIOS boot to USB-ZIP for USB Memory Stick.
Ubuntu netboot.img.gz: zcat netboot.img.gz > /dev/sdb && sync