ICub laptop installation instructions for old releases

From Wiki for iCub and Friends
Revision as of 18:11, 21 September 2010 by Robotics (talk | contribs)
Jump to: navigation, search

Place here instructions for installing the pc104 laptop.


enable icub user as sudoers

enable NAT and port forwarding (using wlan0 as external network interface)

add these line in /etc/rc.local:

    iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
    echo 1 > /proc/sys/net/ipv4/ip_forward

as icub install ssh key:

    ssh -keygen - t dsa
    cp /home/icub/.ssh/ /exports/code-pc104/pc104/hooks/keys/authorized_keys 
    cp /home/icub/.ssh/ /home/icub/ssh

install nfs:

    apt-get install nfs-kernel-server nfs-common portmap

put these lines in /etc/exports:


give permission of code-pc104 folder to icub:

   chown icub:icub -R /exports/code-pc-104

add these lines in /home/icub/.bashrc:

   export ICUB_ROOT=/usr/local/src/robot/iCub
   export ICUB_DIR=$ICUB_ROOT/main/build
   export YARP_ROOT=/usr/local/src/robot/yarp2
   export ICUB_ROBOTNAME=iCubAberystwyth01
   export PATH=$PATH:$ICUB_DIR/bin:$YARP_DIR/bin