Difference between revisions of "ICub laptop installation instructions for old releases"

From Wiki for iCub and Friends
Jump to: navigation, search
Line 4: Line 4:
*enable icub user as sudoers
*enable icub user as sudoers
edit /etc/sudoers and add
    icub  ALL=(ALL) ALL
*mounting point
*mounting point

Revision as of 18:17, 21 September 2010

Place here instructions for installing the pc104 laptop.


  • enable icub user as sudoers

edit /etc/sudoers and add

    icub  ALL=(ALL) ALL
  • mounting point

edit /etc/fstab and add:

    /exports/code-64   /usr/local/src/robot  none bind
  • 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
  • install ssh key

as icub:

    ssh -keygen - t dsa
    cp /home/icub/.ssh/id_rsa.pub /exports/code-pc104/pc104/hooks/keys/authorized_keys 
    cp /home/icub/.ssh/id_rsa.pub /home/icub/ssh
  • install nfs:
    sudo apt-get install nfs-kernel-server nfs-common portmap

put these lines in /etc/exports:


give permission of code-pc104 folder to icub:

   sudo chown icub:icub -R /exports/code-pc-104
  • configure bashrc

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