On Tue, Oct 6, 2009 at 10:00 PM, Frederik Sdun <span dir="ltr">&lt;<a href="mailto:frederik.sdun@googlemail.com">frederik.sdun@googlemail.com</a>&gt;</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 &lt;<a href="mailto:tonyberth@googlemail.com">tonyberth@googlemail.com</a>&gt; [06.10.2009 18:06]:<br>
<div><div></div><div class="h5">&gt;    followed as described in:<br>
&gt;<br>
&gt;    <a href="http://wiki.openmoko.org/wiki/USB_Networking" target="_blank">http://wiki.openmoko.org/wiki/USB_Networking</a><br>
&gt;<br>
&gt;    -------------<br>
&gt;<br>
&gt;   Ubuntu 9.04 - the Jaunty Jackalope -- udev<br>
&gt;<br>
&gt;    One can see /etc/udev/rules.d that a device plugged in on USB will be<br>
&gt;    called eth1. Go to system-&gt;Administration-&gt;Network and add the parameters<br>
&gt;    for eth1 &lt; static ip, address 192.168.0.200 mask 255.255.255.192 add your<br>
&gt;    default gateway&gt;. Thats is all.<br>
&gt;<br>
&gt;    Tested with Qi bootloader aka official MAC address of the Freerunner : on<br>
&gt;    Android Koolu beta 7<br>
&gt;<br>
&gt;    Carig Philippines --frank 14:11, 17 June 2009 (UTC)<br>
&gt;<br>
&gt;    ----------<br>
&gt;<br>
&gt;    and eth1 gets assigned the proper IP address. I can connect to Neo but<br>
&gt;    from there I don&#39;t have any connection to the &#39;outside&#39;. Please notice<br>
&gt;    that resolv.conf has the correct Opendns IPs!<br>
&gt;<br>
&gt;    Actually I should face the same problem as described in:<br>
&gt;<br>
&gt;    <a href="http://lists.openmoko.org/nabble.html#nabble-td3119750" target="_blank">http://lists.openmoko.org/nabble.html#nabble-td3119750</a><br>
&gt;<br>
&gt;    but the postings there weren&#39;t of any help :(<br>
&gt;<br>
&gt;    Thanks<br>
&gt;<br>
&gt;    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>
&gt; _______________________________________________<br>
<br></blockquote><div><br>but this one &#39;ties&#39; 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> &amp;<br>up echo 1 &gt; /proc/sys/net/ipv4/ip_forward &amp;<br>
up iptables -P FORWARD ACCEPT &amp;<br>down iptables -D POSTROUTING -t nat -j MASQUERADE -s <a href="http://192.168.0.0/24">192.168.0.0/24</a> &amp;<br><br>and didn&#39;t work! Openmoko wasn&#39;t able to get an IP address at all!<br>
<br>Thanks<br><br>Tony<br> <br></div></div><br>