Installing Ubuntu 10.10 on Darwin OP



Similar documents
Create a virtual machine at your assigned virtual server. Use the following specs

SETTING UP A LAMP SERVER REMOTELY

Installing Virtual Coordinator (VC) in Linux Systems that use RPM (Red Hat, Fedora, CentOS) Document # 15807A1-103 Date: Aug 06, 2012

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

How to Use? SKALICLOUD DEMO

Cassandra Installation over Ubuntu 1. Installing VMware player:

How to Install Multicraft on a VPS or Dedicated Server (Ubuntu bit)

Adafruit's Raspberry Pi Lesson 6. Using SSH

Comodo MyDLP Software Version 2.0. Installation Guide Guide Version Comodo Security Solutions 1255 Broad Street Clifton, NJ 07013

Red Hat Linux 7.2 Installation Guide

Field Installation Guide

integration tools setup guide SIM 3 Remote Guide to controlling a SIM 3 Audio Analyzer remotely over a network connection from a laptop

Adafruit's Raspberry Pi Lesson 7. Remote Control with VNC

Virtual machine W4M- Galaxy: Installation guide

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

Cloud Homework instructions for AWS default instance (Red Hat based)

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

[HOW TO RECOVER AN INFINITI/EVOLUTION MODEM IDX ] 1

Using VirtualBox ACHOTL1 Virtual Machines

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

Linux Development Environment Description Based on VirtualBox Structure

ISERink Installation Guide

Comodo MyDLP Software Version 2.0. Endpoint Installation Guide Guide Version Comodo Security Solutions 1255 Broad Street Clifton, NJ 07013

USB HSPA Modem. User Manual

NetPoint Configuration Guide. for thin clients

Vess A2000 Series. NVR Storage Appliance. Windows Recovery Instructions. Version PROMISE Technology, Inc. All Rights Reserved.

Setting Up VNC, SSH Tunnels, and RDP

How Do I Recover infiniti Remotes and Line Cards?

Ocster Backup - Rescue System

HP SDN VM and Ubuntu Setup

Building a Penetration Testing Virtual Computer Laboratory

Moxa Device Manager 2.0 User s Guide

Introduction. Created by Richard Bell 10/29/2014

SETTING UP RASPBERRY PI FOR TOPPY FTP ACCESS. (Draft 5)

Creating a DUO MFA Service in AWS

2. Boot using the Debian Net Install cd and when prompted to continue type "linux26", this will load the 2.6 kernel

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

Using TU Eindhoven's VPN with Ubuntu 14.04

Procedure to Create and Duplicate Master LiveUSB Stick

Installing the Operating System or Hypervisor

Service & Support. How do you create a communication of VNC with an Industrial Thin Client SIMATIC ITC? Thin Client.

Moxa Device Manager 2.3 User s Manual

Linux Overview. Local facilities. Linux commands. The vi (gvim) editor

Image Backup and Recovery Procedures

Setting up VNC, SAMBA and SSH on Ubuntu Linux PCs Getting More Benefit out of Your Local Area Network

Using TViX Network. NFS mode : You must install the TViX NetShare utility in to your PC, but you can play the TP or DVD jukebox without stutter.

«Disaster Recovery» A DOM Restore Guide for Thecus NAS

Linux Terminal Server Project

First Time On-Campus VLab Setup Windows XP Edition

Changing Your Cameleon Server IP

Updates Click to check for a newer version of the CD Press next and confirm the disc burner selection before pressing finish.

Joining an XP workstation to a domain Version 1.00

HOW TO BUILD A VMWARE APPLIANCE: A CASE STUDY

Using Virtual Machines

Author A.Kishore/Sachin VNC Background

Extending Remote Desktop for Large Installations. Distributed Package Installs

Dell Proximity Printing Solution. Installation Guide

Adafruit's Raspberry Pi Lesson 3. Network Setup

Secure Browser Installation Manual

6.0. Getting Started Guide

DraganFly Guardian: API Instillation Instructions

INASP: Effective Network Management Workshops

Installing an IBM Workplace/Portal Server on Linux

INSTALL ZENTYAL SERVER

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable. Created by Simon Monk

NOC PS manual. Copyright Maxnet All rights reserved. Page 1/45 NOC-PS Manuel EN version 1.3

Pendragon Forms Industrial

AzMERIT Secure Browser Installation Manual For Technology Coordinators

QOS 8 High-Speed RAID System Guide

Check current version of Remote Desktop Connection for Mac.. Page 2. Remove Old Version Remote Desktop Connection..Page 8

TM Online Storage: StorageSync

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Instructions for installing Microsoft Windows Small Business Server 2003 R2 on HP ProLiant servers

Local Caching Servers (LCS): User Manual

APPLICATION NOTE. How to build pylon applications for ARM

How to use SURA in three simple steps:

How To Connect A Raspberry Pi To The Internet On A Microsoft Moonstone 2 (Microsoft) Microsoft Powerbook 2 (Powerbook 2) (Powerboard 2) And Powerbook 3 (Powerstation 2)

Please ring the Service Desk on or if you require assistance or encounter problems.

Desktop : Ubuntu Desktop, Ubuntu Desktop Server : RedHat EL 5, RedHat EL 6, Ubuntu Server, Ubuntu Server, CentOS 5, CentOS 6

Apple Server Diagnostics User Guide. For Version 3X106

Raspberry Pi Android Projects. Raspberry Pi Android Projects. Gökhan Kurt. Create exciting projects by connecting Raspberry Pi to your Android phone

How to Restore a Linux Server Using Bare Metal Restore

PRV-LX1 Importing Menu Backgrounds Importing Edit Decision Lists Importing Using a Network

How to connect to the University of Exeter VPN service

Apple Mac VPN Service Setting up Remote Desktop

Installing and configuring Ubuntu Linux 9.04

INUVIKA TECHNICAL GUIDE

CycleServer Grid Engine Support Install Guide. version 1.25

Image Backup and Recovery Procedures

The 2013 Experimental Warning Program (EWP) Virtual Weather Event Simulator (WES) Windows & Linux Installation Documentation

Installing Proview on an Windows XP machine

How to Configure Windows 8.1 to run ereports on IE11

Deploying IBM Lotus Domino on Red Hat Enterprise Linux 5. Version 1.0

Addonics T E C H N O L O G I E S. NAS Adapter. Model: NASU Key Features

How to Make a USB Bootable

SSL VPN. Virtual Appliance Installation Guide. Virtual Private Networks

IT Quick Reference Guides Using Windows 7

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

AdvLinux for i486sx User Manual V1.02

Operating System Installation Guidelines

Transcription:

Installing Ubuntu 10.10 on Darwin OP 1. Go to http://www.ubuntu.com/download/ubuntu/download and download Ubuntu version 10.10. 2. Create a USB stick out of the downloaded.iso file--follow the directions provided on the website. 3. Connect keyboard, mouse, and monitor to darwin OP. 4. Put USB boot stick into the darwin OP. 5. Turn on robot. 6. While booting, press F2 to enter BIOS menu, then select the boot menu, and move USB key to the top of the menu. 7. Restart robot. 8. Install Ubuntu 10.10 following on-screen prompts. Make the username and password something easy to remember, if you are working in a large group. We suggest darwin as a username for each robot. Be sure you name each robot s computer something different though, if you plan to network them together. 9. Restart robot. 10. While booting, press F2 to enter BIOS menu, then select the boot menu, and move USB HDD to the top of the menu. You may now remove the USB key with the Ubuntu distribution from the robot. 11. Boot into robot. If asked, select the top option to load main Ubuntu partition. 12. To save some space on the robot s hard drive, go to Applications-->Ubuntu Software Center-->Installed Software and remove each instance of an openoffice application. To accomplish this faster, run sudo apt-get remove openoffice.org-common in a terminal. 13. Now we must make sure the robot can log in automatically. Go to System-- >Administration-->Users and Groups. Click change next to the Password option and check the Don t ask for password on login box. Go to System-->Administration- ->Login Screen. Click unlock. Uncheck Play Login Sound and select the log in as <username> option. Click close. 14. To disable the startup sound, go to System-->Preferences-->Startup Applications. Uncheck GNOME Login Sound. Changing Darwin s IP and setting up Secure Shell 1. Go to System-->Preferences-->Network Connections. 2. Edit Auto eth0. 3. Rename Auto eth0 to eth0 dhcp and uncheck the connect automatically box. 4. Add a new wired connection called auto darwinop. 5. Check the Connect Automatically check box if it is not selected already. 6. Move to the IPv4 settings tab and add a new address. Use Manual as the connection method. 7. Use 192.168.123.1 as your address, 255.255.255.0 as the netmask and 0.0.0.0 as the gateway (or your own settings, if you prefer). 8. Enable internet access on your Darwin OP. This can be done by connecting to the internet wirelessly or through an ethernet cable. We recommend wireless if possible. 9. Open up a terminal and type sudo apt-get install openssh-server. Agree to install the package.

10. After everything has been downloaded and installed, you have completed the setup of IP and Secure shell. Connecting to the robot via SSH using Ubuntu on Main Machine 1. Run an ethernet cable from the robot to your main machine. 2. Boot into Ubuntu on your main machine. 3. After boot, launch a terminal. If you are using a version of Ubuntu which is 10.04 or later, do this using the key combination ctrl+alt+t. 4. Set your IP to be consistent with the IP you set for the robot. If you used the IP suggested here, set it to 192.168.123.10. sudo ifconfig eth0 192.168.123.10 5. To ssh into the robot, use an ssh command from your terminal. If you used the IP suggested above, connect to darwin@192.168.123.1 ssh darwin@192.168.123.1 6. Congratulations; you are in the robot! Connecting to the robot via VNC using Ubuntu on Main Machine 1. Open the System->Preferences->Remote Desktop 2. Set the following Allow other users to view your desktop Allow other users to control your desktop Require the user to enter this password: + password Configure network automatically to accept connections 3. Unset the others 4. Now, to ensure that the keyring message never pops up again, do the following: In a terminal, type rm ~/.gnome2/keyrings/login.keyring Reboot Enter the System->Preferences->Remote Desktop dialog Start entering the password again In the pop up window for the keyring password set, use a blank password, and accept the resulting unsafe storage message contune typing your pasword, and close the Remote Desktop dialog. Reboot Starting the Robot Without a Monitor Attached 1. Open a terminal and navigate to /etc/default/. cd /etc/default 2. Edit grub. Make sure you give yourself root permissions to do so. sudo nano grub 3. Change GRUB_CMDLINE_LINUX_DEFAULT= quiet splash to GRUB_CMDLINE_LINUX_DEFAULT= quiet splash nomodeset. Save and exit the

editor.

ctrl-o then enter ctrl-x 4. Run update-grub sudo update-grub 5. Create an xorg.conf file to handle the case of there not being a monitor. Place this file in /etc/x11 cd /etc/x11 sudo nano xorg.conf Type the following into the xorg.conf file: Section "Monitor" Identifier "Monitor0" HorizSync 31-81 VertRefresh 56-75 EndSection Section "Device" Identifier "Card0" Driver "vesa" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" EndSection 6. Reboot the robot. Getting the UPennalizers Code Release up and Running While the following steps can be done on the robot directly, it may be easier to download packages on your main machine and then transfer them to the robot via secure copy. The following directions assume you choose to accomplish this via the former method, using secure copy (scp). Install Packages and Dependencies 1. On the robot, run the following line in a terminal to install necessary dependencies on the robot. sudo apt-get install build-essential wget subversion cmake swig libreadline6-dev g++ lua5.1 Downloading and Installing the Boost Libraries 1. Download the latest version of boost from www.boost.org. 2. Copy the archive onto the robot. scp boost_1_47_0.tar.gz darwin@192.168.123.1:~/desktop/ 3. Make sure you are in the correct directory of the Darwin (the Desktop) cd ~/Desktop

4. Extract boost on the darwin. tar -xvf boost_1_47_0.tar.gz 5. Move the boost folder to the /usr/local/ directory sudo mv boost_1_47_0 /usr/local/ 6. Change to the /usr/local/include directory and make a sym link to the boost files. cd /usr/local/include sudo ln -s /usr/local/boost_1_47_0/boost boost 7. After this, feel free to delete the tarball from the desktop. cd ~/Desktop rm boost_1_47_0.tar.gz Downloading and Installing Lua Header Files/Dependencies 1. Run the following to get lua 5.1 from the Lua website wget http://www.lua.org/ftp/lua-5.1.4.tar.gz 2. Navigate to the directory in which lua is saved and run the following tar -xvf lua-5.1.4.tar.gz 3. Change to the lua directory cd lua-5.1.4 4. Run the necessary make commands make linux sudo make install Installing the Open-Source Code 1. Download the latest version of the DARwIn open-source release at https:// fling.seas.upenn.edu/~robocup/wiki/. 2. Copy the tarball to the robot. scp upenn_darwinop_1.0.tar.gz darwin@192.168.123.1:~/desktop 3. Navigate to the directory in which the code base is stored and run the following: tar -xvf upenn_darwinop_1.0.tar.gz 4. Enter the Lib directory of the open-source directory cd upenn_darwinop_1.0/lib 5. Run the following: make clean make setup_op 6. Run the following: sudo rm /lib/udev/rules.d/95-upower-wup.rules (Or comment out all lines in it - that s what we did) 7. Reboot the robot. Running the Open-Source Code 1. Navigate to the Lib directory of the open source code.

cd./upenn_darwinop_1.0/lib 2. Run the following make command: make setup_op 3. Navigate to the Player/Lib directory cd./upenn_darwinop_1.0/player/lib 4. Create a screen from which to run dcm. This will provide a means for the dcm to continue running even after you detach the screen (and even your computer!). screen -S dcm 5. Execute the following command: lua run_dcm.lua 6. Detach the dcm screen. ctrl-a ctrl-d in quick succession. 7. Navigate to the Player directory cd./upenn_darwinop_1.0/player 8. Create a screen to control the robot. screen -S player 9. Execute a lua script to control the robot. This can be any of test_vision.lua, player.lua, test_walk.lua, etc. In this way, you can also create your own lua scripts. Ex: lua player.lua 10. If you are running player, detach the screen by repeating step 6. Otherwise, continue to step 11. 11. If you are running a test script, you can now control the robot via the terminal if your script is capable of doing so. If you are running our supplied player code, you can now exit the ssh session and detach the ethernet cable from the robot. To change states, press the middle button on the DARwIn s back. Powering off the Robot 1. Press the right-button on the DARwIn s back to kill power to the DARwIn s motors. 2. Press the hidden power button on the DARwIn s chest three times. 3. Wait for the green light on the DARwIn s back to flash five times. 4. Turn off the power. Running the Open Source with Webots 1. Change disc to the Lib directory of the open source and run the following commands. cd./upenn_darwinop_1.0/lib make clean make setup_webots_op 2. Download the upenn_darwinop_1.0 webots world code from https:// fling.seas.upenn.edu/~robocup/wiki/. 3. Change disc to the directory in which you stored the tarball and run the following: tar -xvf upenn_darwinop_1.0_webots.tar.gz 4. Move the open source directory to the webots project directory.

mv upenn_darwinop_1.0_webots /usr/local/webots/projects 5. Change to the controllers directory of the open source release and execute the following: cd /usr/local/webots/projects/upenn_darwinop_1.0_webots/controllers ln -s./upenn_darwinop_1.0/webotscontroller dop_lua 6. Open webots. 7. Open the op1.wbt file in the /usr/local/webots/projects/upenn_darwinop_1.0_webots/ worlds directory. 8. Press play.