Hi Tony, thanks for giving a try to the script. I'm glad it helped you. I just create a sub-section on the wiki page [1] where I put the script to help others to get connected easily.<br><br>Cheers<br><br>[1] <a href="http://wiki.openmoko.org/wiki/USB_Networking#Connection_Script">http://wiki.openmoko.org/wiki/USB_Networking#Connection_Script</a><br>
<br clear="all">/***************************************<br>* Don't Worry.......Be Linux!!!!<br>* Cristian Gómez Alvarez <br>* Ingeniero en Sistemas y Computación<br>* Universidad de Caldas <br>* Comunidad de Software Libre Manizales<br>
* IEEE/WIE Student Member<br>* Linux User #463617 <br>* Mi Blog: <a href="http://cristianpark.sehablalinux.com/">http://cristianpark.sehablalinux.com/</a><br>****************************************/<br>
<br><br><div class="gmail_quote">2009/10/7 Tony Berth <span dir="ltr"><<a href="mailto:tonyberth@googlemail.com">tonyberth@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div class="im">On Wed, Oct 7, 2009 at 10:27 AM, Matthias Huber <span dir="ltr"><<a href="mailto:matthias.huber@wollishausen.de" target="_blank">matthias.huber@wollishausen.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Tony Berth schrieb:
<div><blockquote type="cite">Bingo. Thanks A LOT!<br>
<br>
Is it possible to update the Wiki with that one. I think this will be a
great help to the whole community<br>
<br>
</blockquote></div>
if you would tell me wich of / or both tricks did it on your system ?<div><br>
<blockquote type="cite">
<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;">
<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;">
<div>
<div>
<div bgcolor="#ffffff" text="#000000"><br>
but i had to add this two lines to my /etc/ufw/ufw.conf<br>
<br>
ufw allow from 192.168.0.202<br>
ufw allow to 192.168.0.202<br>
<br>
<br>
another trial with iptables needs to load some modules too:<br>
<br>
#!/bin/sh<br>
<br>
MOKO=192.168.0.202
<div><br>
<br>
echo 1 > /proc/sys/net/ipv4/ip_forward<br>
</div>
modprobe ipt_MASQUERADE<br>
<br>
iptables -I FORWARD -j ACCEPT -d ${MOKO}/32<br>
iptables -I FORWARD -j ACCEPT -s ${MOKO}/32<br>
iptables -I POSTROUTING -t nat -j MASQUERADE -s ${MOKO}/32 <br>
<br></div></div></div></blockquote></div></blockquote></div></blockquote></div></div></blockquote></div><div><br>what works was the script Cristian Gomez included in his reply!<br><br>Just for the records, the first time I run that script it does assign the 192.168.0.200 IP to eth1 but can't ping/access 192.168.0.202! Then:<br>
<br>- I disconnect Openmoko<br>- connect it again<br>- re-run the script and voila the connection is there!<br><br>Thanks<br><br>Tony<br></div></div><br>
<br>_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
<br></blockquote></div><br>