PR2 System Administration. ROS + PR2 Training Workshop

Similar documents
Multi-site Configuration and Installation Guide Port Forwarding Option

WLM1200-RMTS User s Guide

XLink Kai Raspberry Pi Beginners Tutorial

Please note, instructions in this guide are based on a PC running Windows 7. Please adapt the actions to suit your operating system.

Format Hard Drive After Install Ubuntu From Usb External

Radiolabs Bridge in a Box Setup

ABOUT ZEPCAM SOFTWARE INSTALLATION MANAGEMENT AND BACKUPS. Description What is it Installation requirement Server requirement

SmartPath EMS VMA Virtual Appliance Quick Start Guide

Performing Administrative Tasks

LEGUANG N900 Wireless Router Configuration Guide

Amahi Instruction Manual

CHAPTER III PLANNING

This is sometimes necessary to free up disk space on a volume that cannot have extra disk space easily added.

Setting up ADSL2MUE 2.18-AU firmware for Bridge Mode

IpAlarm Module Set Up

ShenZhen Foscam Intelligent Technology Co., Ltd

How to open ports in the DSL router firmware version 2.xx and above

What can I do in the settings menu of my WL-330 (which settings are there and what can I change)?

IpAlarm Module Set Up VirtuAlarm model

Dell Active Fabric Manager for Microsoft Cloud Platform System 2.2(0.0)

Appliance Guide. Version 1.0

Raspberry Pi 3 Model B+ and JMRI with WiFi Access Point for Pi- SPROG One and Pi-SPROG Nano raspian-stretch build

Operating Systems Linux 1-2 Measurements Background material

NETWORK LAB 2 Configuring Switch Desktop

MP01 Quick Start Guide

Table of Contents 1 V3 & V4 Appliance Quick Start V4 Appliance Reference...3

Format Hard Drive After Install Ubuntu From Usb

Ftp Get Command Line Windows 7 Bootable Usb

TimeIPS Server. IPS256T Virtual Machine. Installation Guide

Using RANCID. Contents. 1 Introduction Goals Notes Install rancid Add alias Configure rancid...

Getting Started Guide. Installation and Setup Instructions. For version Copyright 2009 Code 42 Software, Inc. All rights reserved

Quick Start Guide for Standalone EAP

Spreedbox Getting Started Guide

Ftp Get Command Line Windows 7 Bootable Usb

Release Notes for Avaya WLAN 9100 Access Point Operating System (AOS) Release

Click on Close button to close Network Connection Details. You are back to the Local Area Connection Status window.

Installing MediaWiki using VirtualBox

802.11g Wireless Access Point

Fedora Core: Made Simple

Required Virtual Interface Maps to... mgmt0. virtual network = mgmt0 wan0. virtual network = wan0 mgmt1. network adapter not connected lan0

Masternode Guide #1. Single masternode on Linux VPS (Ubuntu)+ control wallet on local PC (Windows)

Quick Installation Guide

Table of Contents. CRA-200 Analog Telephone Adapter 2 x Ethernet Port + 2 x VoIP Line. Quick Installation Guide. CRA-200 Quick Installation Guide

Auto Tracking Server Software Installation Procedures

Asus_TFTP_Flash. tftp client is enabled in the default installation of WinXP

Wireless Access Point User Manual Linksys Router With 4-port Switch

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine

World Skills Competition. Trade 39: IT PC and Network Support. Day 2 Competition

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

LENS Server Maintenance Guide JZ 2017/07/28

begins halting unexpectedly, doing one or more of the following may improve performance;

Connecting CoovaAP 1.x with RADIUSdesk - Basic

Operating Systems Lab 1. Class topic: Installation of the operating system. Install Ubuntu on Oracle VirtualBox

Dell Active Fabric Manager for Microsoft Cloud Platform System 2.1(0.0)P3

W4NJA Field Day Computer Networking 2014

GET STARTED AC 1200 High Power Dual Band Wi-Fi Range Extender

Quick Installation Guide

HySecure Quick Start Guide. HySecure 5.0

Contents. Table of Contents

Variation on AFS as root filesystem

Variation on AFS as root filesystem

2006/8/16. EMS Quick Start Guide 1

Downloading and installing Db2 Developer Community Edition on Ubuntu Linux Roger E. Sanders Yujing Ke Published on October 24, 2018

Linksys Wireless G Access Point Default Ip >>>CLICK HERE<<<

Connecting an Envoy to the Internet

Lab E2: bypassing authentication and resetting passwords

Installing and Configuring

Read-only rootfs. Theory and practice. Chris Simmonds. Embedded Linux Conference Europe Read-only rootfs 1 Copyright , 2net Ltd

CHAPTER 7. Astlinux and Asterisk Installation on Embedded System

Link Gateway ISO Installation Manual

Manually Mount Samba Share Ubuntu Server Automount

HPE Network Virtualization

Using Linksys RV042 for failover with BGAN and FleetBroadband

LOMBA KETERAMPILAN SISWA

1. You have a Wireless router from Edimax. We used BR-6258n as example. Your screen may look somewhat different with BR-6258n.

Active Fabric Manager for Microsoft Cloud Platform System Installation Guide for AFM-CPS 2.2(0.0)

KOHA UBUNTU In Compatible With. 1 P a g e

Introduction. Kevin Miles. Paul Henderson. Rick Stillings. Essex Scales. Director of Research Support. Systems Engineer.

Drobo 5N2 User Guide

System Manager Unit (SMU) Hardware Reference

Grandstream Networks, Inc. GWN7000 Command Line Guide

The SHARED hosting plan is designed to meet the advanced hosting needs of businesses who are not yet ready to move on to a server solution.

ilive Editor V1.54 Release Notes November 2009

Brother HL-5370DW Configuration

Quick Installation Guide

Contents. Table of Contents

Quick Start Guide. Get started in 5 minutes! This document will give a brief introduction about the product and its installation procedure.

COS 318: Operating Systems. NSF, Snapshot, Dedup and Review

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX

Create a pfsense router for your private lab network template

Technical Training Guide for SimplicityTouch IFP Model Numbers Covered: 70 ST-700, Generation 2 (802.11ac)

Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance

RedHat. Rh202. Redhat Certified Technician on Redhat Enterprise Linux 4 (Labs)

Wave 5.0. Wave OpenVPN Server Guide for Wave 5.0

Configuring the network clients

skylinkhome.com Setup Guide HU-318

Quick Installation Guide

LANDISK Advanced User Guide V1.0 (2005/2/18)

Pivotal Greenplum Database Azure Marketplace v4.0 Release Notes

DSL-G624T. Wireless ADSL Router. If any of the above items is missing, please contact your reseller. This product can be set up using any

Transcription:

PR2 System Administration

Overview 1.What is the robot 2.Connecting to the robot 3.Visible Devices 4.The Operating System c1 vs. c2 5.The robot internal network 6.Administrative tasks 7.Removable drives 8.Wireless 9.Practice 2

What is the robot 1.Two computers: Dual Xeon quad-core 24 GB RAM 500 GB internal disk 1.5 TB removal drive Ubuntu 9.04 (Jaunty Jackalope) 3

Robot wireless 1.There are TWO wireless devices: Wireless client: Linksys wrt610n Supports wireless N Connects to your building network Wireless Access point Cradlepoint ctr350 Supports wireless G Connect to this with your laptop 4

Connecting to the Robot 1.Local connection: Only involves robot Wired: plug in to the service port Wireless: connect to robotlan DHCP on 10.68.0.0 network ssh to: 10.68.0.1 (c1) 10.68.0.2 (c2) 5

Connecting to the Robot 1.Remote connection: Requires external basestation Runs VPN server We provide: Zareason core2 duo, 4 GB RAM A different computer/server could be set up easily Robot initiates VPN connection: Wireless client WAN port Basestation forwards traffic to the robot: Can forward from building network directly Can provide select clients with VPN certificates 6

The Operating System 1. All computers running 64bit Ubuntu Jaunty 2. Most things that work on Ubuntu should work on the robot without much configuration 3. There are some fancy things going on: NFS between computers Computer 2 mounts entire OS Home directories can be on either disk Some fancy routing: Iptables and routing policy database 7

The default account 1.The default account on the basestation and the robots is: pr2admin 2.The password is: willow 8

C1/C2 Overview 1.The computer on robot-right is c1 10.68.0.1 Hosts the OS for both computers Does all of the routing Controls switching between WAN and Wireless Any configuration happens on c1 Sometimes referred to as master or prx1 Internal disk stores OS (never reformat this unless reinstalling OS) c1:/home available on both machines as /pr/1 9

C1/C2 Overview 1.The computer on robot-left is c2 10.68.0.2 Mounts the entire file-system from c1: /slave on c1 works as overlay via unionfs-fuse Most of the file-system is read-only: Exceptions: /var, /tmp, /home Sometimes referred to as slave or prx2 Internal disk stores c2:/home c2:/home available on both machines as /pr/2 10

PR2 Internal Network 1.The internal network of the robot is 10.68.0.0/24 c1 is: 10.68.0.1 c2 is: 10.68.0.2 Wireless router is: 10.68.0.5 Basestation is: 10.68.0.6 (when plugged into service port) Wireless Access Point: 10.68.0.250 2.Traffic from the VPN (10.68.X.0/16), is NAT'd to 10.68.0.0/24 11

PR2 Internal Network 1.c1 has 7 network interfaces: ecat0: talks to motor control boards lan0: primary internal interface lan1-3: secondary internal interfaces wan0: goes to WAN port on back of robot tun0: goes to basestation over VPN 12

PR2 Internal Network 1.c2 has 2 network interfaces: lan0: primary internal interface lan1: secondary internal interface 13

Creating User Accounts 1.The default account on the robot is: pr2admin 2.New accounts are created with the adduser command $ sudo adduser leibs 3. Users that need root access get added to admin group $ usermod a G admin leibs 4.Users that need to install software get added to the apt group $ usermod a G apt watts 5.Users that need to modify ROS settings, robot calibration, etc. get added to the rosadmin group $ usermod a G rosadmin vpradeep 14

Creating User Accounts 1.User home directories are listed as /u/name 2. /u actually contains symlinks to /pr/1 or /pr/2 $ ls lh /u total 4.0K lrwxrwxrwx 1 root root 11 2010 03 16 17:57 leibs > /pr/2/leibs lrwxrwxrwx 1 root root 14 2010 03 16 18:07 pr2admin > /pr/1/pr2admin lrwxrwxrwx 1 root root 9 2010 03 16 18:04 ros > /pr/1/ros 3.A user directory can be moved to c2 by moving the directory and changing the symlink: $ sudo mv /pr/1/leibs /pr/2/leibs $ sudo rm /u/leibs $ sudo ln sf /pr/2/leibs /u/leibs 15

Creating User Accounts 1.New users will be prompted to generate their ssh-keys the first time they log in. 2.The default.bashrc will source /etc/ros/setup.bash This makes the system-install immediately available to new users 16

Installing/Upgrading Software 1.We install debs on top of stock Ubuntu: Available from: http://code.ros.org/packages/pr2/ubuntu jaunty main Main deb: pr2-environment pr2-core depends on ros-boxturtle-pr2all 2.To upgrade: $ sudo apt get update $ sudo apt get dist upgrade 17

/etc/ros 1.The robots and basestation make use of /etc/ros for configuration: Applies to system-wide default ROS config Source using: /etc/ros/setup.bash /etc/ros/setup.sh /etc/ros/env: mapped to environment variables for system-wide default ROS configuration Start robot with: roslaunch /etc/ros/robot.launch 18

Useful admin commands 1. pr2-systemcheck Runs a full set of tests across c1 and c2 which verify the system is setup and functioning This should be the first test if the computers do not appear to be working correctly NOTE: If possible you should always run this with sudo 2. pr2-shutdown This command can be used to shutdown both computers. $ sudo pr2 shutdown $ sudo pr2 shutdown reboot $ sudo pr2 shutdown reboot netboot 19

Useful admin commands 1. pr2-brand This changes the name of the robot and target basestation: $ sudo pr2 brand robotname c1name c2name 192.168.1.100 2. formatdisk Partitions and formats a disk on the robot. $ sudo formatdisk /dev/removable $ sudo formatdisk /dev/sda 20

Useful admin commands 1.sendhwlog This command is used to send the contents of /hwlog back to Willow Garage. By default it is run daily via cron. $ sendhwlog sends logs to the basestation $ sendhwlog wg sends logs directly to Willow Garage 21

Chrony 1. We use chrony to do time-synchronization between the basestation and robot computers Sometimes chrony ends up misconfigured, best solution is to restart all 3 chrony servers. On, basestation, then C1, then C2: $ sudo /etc/init.d/chrony restart You should see: Restarting time daemon: chronyd is running and online. 22

Removable Drives 1.The robots come with 2 removable drives 2.Disks plugged into these will show up as: /dev/removable 3.If the drive is not formatted yet, use formatdisk to do so. 4.fstab is set up to mount /dev/removable1 at /removable, so users just need to run: $ mount /removable 5.Each removable drive is only accessible from the computer it is plugged into 23

Wireless Router 1.The PR2 comes with a linksys wrt610n router It uses this router to connect up to your building wireless 2.To configure it, connect to the service port and point a web-browser to: 10.68.0.5 The default login is root/willow 3. You will want to configure one of the 2 radios to connect up to the appropriate ESSID for your network in client mode NOTE: You should never put this router in AP mode 24

Wireless Access Point 1. The robot also comes with its own WAP 2. To configure it, connect to the service port and point a webbrowser to: 10.68.0.250 The default login is root/willow Specify the ESSID and security settings 3. Be careful enabling / providing access to this WAP: Anyone on the robot local network is being NAT'd back onto your building network via c1 and basestation This is potentially a security risk We recommend disabling the WAP except for when you explicitly need it 25

This week 1.Software-wise, feel free to do what you want. These are your computers. 2.Please leave default passwords: Pr2admin account: Wireless router Wireless client 3.We may have to wipe computers before they are shipped: Back up all your work before you leave on friday 26

Where To Get More Help 1.Everything covered here should be mentioned in the PR2 Manual 2.http://support.willowgarage.com contains additional FAQ information 3.Mailing list: pr2-admin@lists.willowgarage.com 27

Practice 1.Login to the pr2admin account 2.Create a new user 3.Create a new admin user 4.Update the robot software 5.Format the internal disk on c2 6.Move one of the users home directories 7.Set up the cradlepoint with a new ESSID 8.Run pr2-systemcheck 9.Add a file to etc on c2 10.Reboot the robot 28