Generic iCub machine installation instructions

From Wiki for iCub and Friends
Revision as of 12:19, 22 October 2014 by Matteo.brunettini@iit.it (talk | contribs) (Created page with "This page contains instructions on how to prepare a machine to work in the iCub Subnet environment. This is a basic setup, useful as a starting point to prepare any kind of ma...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page contains instructions on how to prepare a machine to work in the iCub Subnet environment. This is a basic setup, useful as a starting point to prepare any kind of machine of the iCub ecosystem.

Operative System

You can choose both a Debian or Ubuntu Linux, the curently suggested OS is Debian 7 (wheezy)

Creation of the icub user

You need to create the icub user. For nfs (see later) to work this user has to have the uid 1000 and guid 1000. In LINUX starting procedure, it is asked to create the first user. By default uid is set at 1000. to make sure it is done do :

id -u icub
id -g icub

Add the icub user to the sudoers group, by editing in /etc/group the following line

 sudo:x:27:icub

Network configuration

You have two options:

  • Static IP address (this option is mandatory if there is no DHCP in you subnet - like in the case of iCub Laptop - or if your machine is the DHCP server - this is the case of icub server)
  • Dynamic DHCP IP address

Static IP configuration

To configure a static IP adress, edit /etc/network/interfaces, as follows (where IP=MACHINE_IP and eth0 is the interface to configure)

 # The primary network interface
 auth0 eth0
 allow-hotplug eth0
 iface eth0 inet static
   address 10.0.0.MACHINE_IP
   netmask 255.255.255.0
   network 10.0.0.0
   broadcast 10.0.0.255
   gateway 10.0.0.1
   dns-nameservers 10.0.0.1 8.8.8.8
   dns-domain icub.local
   dns-search icub.local

Dynamic IP configuration

To configure a dynamic IP adress, edit /etc/network/interfaces, as follows (where eth0 is the interface to configure)

 # The primary network interface
 auth0 eth0
 allow-hotplug eth0
 iface eth0 inet dhcp