I have a Ubuntu Machine and two Gumstix(Open Embedded Linux) connected to it via USB ports. Right now I am able to assign static IP addresses to the Gumstix via modifying the /etc/network/interfaces file on all the host machine to provide them 192.168.2.2 and 192.168.3.3. I modified the same /etc/network/interfaces files on the Gumstix to receive the IP aswell.

I can ssh to the Gumstix as root@x.x.x.x but the Gumstix themselves cannot access internet. I cannot ping www.google.com etc.. Since the host machine doesnt provide internet access to them. How would I go about enabling this.

link|improve this question
You'd need to put a NAT rule into the Ubuntu machine's firewall, or at least set up a proxy of some sort: howtoforge.com/nat_iptables. At bare minimum, you'd have to enable IP forwarding on the Ubuntu box, as by default that's off, so packets coming in on the USB interface won't be automatically sent onwards. – Marc B Oct 25 '11 at 19:07
feedback

migrated from stackoverflow.com Nov 19 '11 at 23:39

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown