Connecting to the Gumstix

The regular way to connect is with a local network over a USB cable. Connect a USB mini cable to your computer and the USB OTG port on the Scout (it's the only USB mini port). The Gumstix is configured with a static IP address of 10.42.0.60. After choosing one of the network configuration options below, do

ssh scout@10.42.0.60

If you don't want to open up lots of ssh windows, you should learn how to use GNU screen, which is installed on the Scout.

Easy but Annoying Configuration on Ubuntu with Network Manager

When you first plug in the cable, it will immediately try to connect and fail. Right click on the Network Manager icon on the taskbar and select "Edit Connections...". Select the most recently added connection under "Wired" and click "Edit...". On the "IPv4 Settings" tab, under "Method", select "Shared to other computers" and click "Save...". You should now be connected.

Configuration without Network Manager

Add this entry to your /etc/network/interfaces:

iface usb0 inet static
  address 10.42.0.1
  netmask 255.255.255.0

If you do have Network Manager, you may need to restart it now to make it ignore usb0:

sudo service network-manager restart

Once you plug in the cable, run (as root):

ifup usb0
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s 10.42.0.0/24 ! -d 10.42.0.0/24 -j MASQUERADE

Hopefully the connection now works.