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

From Wiki for iCub and Friends
Jump to: navigation, search
Line 1: Line 1:
 
Place here instructions for installing the pc104 laptop.
 
Place here instructions for installing the pc104 laptop.
 +
 +
*LAPTOP CONFIGURATION
 +
 +
enable icub user as sudoers
  
 
enable NAT and port forwarding (using wlan0 as external network interface)  
 
enable NAT and port forwarding (using wlan0 as external network interface)  
Line 7: Line 11:
 
     iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
 
     iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
 
     echo 1 > /proc/sys/net/ipv4/ip_forward
 
     echo 1 > /proc/sys/net/ipv4/ip_forward
 +
 +
 +
as icub install ssh key:
 +
 +
    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:
 +
 +
    apt-get install nfs-kernel-server nfs-common portmap
 +
 +
 +
put these lines in /etc/exports:
 +
 +
    /exports/code-64 10.0.0.0/255.255.255.0(rw,sync,no_root_squash,no_subtree_check)
 +
    /exports/code-pc104 10.0.0.0/255.255.255.0(rw,sync,no_root_squash,no_subtree_check)

Revision as of 18:09, 21 September 2010

Place here instructions for installing the pc104 laptop.

  • LAPTOP CONFIGURATION

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/id_rsa.pub /exports/code-pc104/pc104/hooks/keys/authorized_keys 
    cp /home/icub/.ssh/id_rsa.pub /home/icub/ssh


install nfs:

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


put these lines in /etc/exports:

    /exports/code-64 10.0.0.0/255.255.255.0(rw,sync,no_root_squash,no_subtree_check)
    /exports/code-pc104 10.0.0.0/255.255.255.0(rw,sync,no_root_squash,no_subtree_check)