On Tue, Oct 6, 2009 at 10:00 PM, Frederik Sdun <span dir="ltr"><<a href="mailto:frederik.sdun@googlemail.com">frederik.sdun@googlemail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
* Tony Berth <<a href="mailto:tonyberth@googlemail.com">tonyberth@googlemail.com</a>> [06.10.2009 18:06]:<br>
<div><div></div><div class="h5">> followed as described in:<br>
><br>
> <a href="http://wiki.openmoko.org/wiki/USB_Networking" target="_blank">http://wiki.openmoko.org/wiki/USB_Networking</a><br>
><br>
> -------------<br>
><br>
> Ubuntu 9.04 - the Jaunty Jackalope -- udev<br>
><br>
> One can see /etc/udev/rules.d that a device plugged in on USB will be<br>
> called eth1. Go to system->Administration->Network and add the parameters<br>
> for eth1 < static ip, address 192.168.0.200 mask 255.255.255.192 add your<br>
> default gateway>. Thats is all.<br>
><br>
> Tested with Qi bootloader aka official MAC address of the Freerunner : on<br>
> Android Koolu beta 7<br>
><br>
> Carig Philippines --frank 14:11, 17 June 2009 (UTC)<br>
><br>
> ----------<br>
><br>
> and eth1 gets assigned the proper IP address. I can connect to Neo but<br>
> from there I don't have any connection to the 'outside'. Please notice<br>
> that resolv.conf has the correct Opendns IPs!<br>
><br>
> Actually I should face the same problem as described in:<br>
><br>
> <a href="http://lists.openmoko.org/nabble.html#nabble-td3119750" target="_blank">http://lists.openmoko.org/nabble.html#nabble-td3119750</a><br>
><br>
> but the postings there weren't of any help :(<br>
><br>
> Thanks<br>
><br>
> Tony<br>
</div></div>I used the config you can find in [0] and it works.<br>
<br>
<br>
[0] <a href="http://wiki.openmoko.org/wiki/USB_Networking#Debian.2C_Ubuntu_and_others" target="_blank">http://wiki.openmoko.org/wiki/USB_Networking#Debian.2C_Ubuntu_and_others</a><br>
> _______________________________________________<br>
<br></blockquote><div><br>but this one 'ties' it in usb0 although it connects as eth1! How can this work?<br><br>I also used the following entries in /etc/network/interfaces:<br><br>#freerunner3<br>allow-hotplug eth1<br>
iface eth1 inet static<br>address 192.168.0.200<br>netmask 255.255.255.0<br>network 192.168.0.0<br>up iptables -A POSTROUTING -t nat -j MASQUERADE -s <a href="http://192.168.0.0/24">192.168.0.0/24</a> &<br>up echo 1 > /proc/sys/net/ipv4/ip_forward &<br>
up iptables -P FORWARD ACCEPT &<br>down iptables -D POSTROUTING -t nat -j MASQUERADE -s <a href="http://192.168.0.0/24">192.168.0.0/24</a> &<br><br>and didn't work! Openmoko wasn't able to get an IP address at all!<br>
<br>Thanks<br><br>Tony<br> <br></div></div><br>