Create/ASUS install instructions

From Tekkotsu Wiki

Revision as of 11:55, 4 March 2010 by Touretzky (Talk | contribs)
Jump to: navigation, search

1. Install Easy Peasy (a netbook remix of Ubuntu Linux) by following the instructions on the Easy Peasy download page. Note that during boot you must press the Escape key, not the F2 key, in order to boot off the memory stick you created for installation.

2. For Easy Peasy 1.5, fix the broken archive information:

sudo -s
cd /var/lib/apt
apt-get clean
mv lists lists.old
mkdir -p lists/partial
apt-get clean
apt-get update

3. Once Easy Peasy is installed and booted:

  • Find the Preferences tab in the menu at left. Go to Preferences > Sessions (in Easy Peasy 1.5 this is called Preferences > Startup Applications) and uncheck the Maximus box. This keeps the system from maximizing windows, which would interfere with your use of the ControllerGUI.
  • Go to Preferences > Power Management and disable sleep mode for both the power adapter and battery operating modes. You don't want the robot to go to sleep while it's running, just because you haven't touched the keyboard in a while.
  • Go to Accessories > Terminal to get a shell window. Select Edit > Profile Defaults > Colors, and choose white on black; this is the most readable option for Tekkotsu error messages. Also click on the Scrolling tab and select 5000 lines of scrollback.

4. Reboot the machine. Hold down the F2 key during boot to enter the Setup dialog in the BIOS. Move to the Advanced tab, select Onboard Devices Configuration, then select Onboard Camera and set it to Enabled. Press F10 to save and exit.

5. Connect to your wireless network, or plug the ASUS into an Ethernet port and establish network access.

6. Install the packages you'll need for Tekkotsu:

sudo -s
apt-get update
apt-get remove ubiquity
apt-get install libpng12-dev libjpeg-dev libreadline-dev libxml2-dev
apt-get install sox libasound2-dev
apt-get install cvs g++ gdb sun-java6-jdk openssh-server
apt-get clean
apt-get autoremove
perl -MCPAN -e "install Parse::RecDescent"   (Hit Enter repeatedly to accept all offered defaults)

7. Now install and build Tekkotsu:

cd /usr/local
cvs -d checkout -P Tekkotsu
cd /usr/local/Tekkotsu/project
su user
cp -rp /usr/local/Tekkotsu/project /home/user

8. See the section on Editing Code for advice about setting up text editor config files.