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.
Cheers [1] http://wiki.openmoko.org/wiki/USB_Networking#Connection_Script /*************************************** * Don't Worry.......Be Linux!!!! * Cristian Gómez Alvarez * Ingeniero en Sistemas y Computación * Universidad de Caldas * Comunidad de Software Libre Manizales * IEEE/WIE Student Member * Linux User #463617 * Mi Blog: http://cristianpark.sehablalinux.com/ ****************************************/ 2009/10/7 Tony Berth <tonybe...@googlemail.com> > > > On Wed, Oct 7, 2009 at 10:27 AM, Matthias Huber < > matthias.hu...@wollishausen.de> wrote: > >> Tony Berth schrieb: >> >> Bingo. Thanks A LOT! >> >> Is it possible to update the Wiki with that one. I think this will be a >> great help to the whole community >> >> if you would tell me wich of / or both tricks did it on your system ? >> >> >>>> but i had to add this two lines to my /etc/ufw/ufw.conf >>>> >>>> ufw allow from 192.168.0.202 >>>> ufw allow to 192.168.0.202 >>>> >>>> >>>> another trial with iptables needs to load some modules too: >>>> >>>> #!/bin/sh >>>> >>>> MOKO=192.168.0.202 >>>> >>>> echo 1 > /proc/sys/net/ipv4/ip_forward >>>> modprobe ipt_MASQUERADE >>>> >>>> iptables -I FORWARD -j ACCEPT -d ${MOKO}/32 >>>> iptables -I FORWARD -j ACCEPT -s ${MOKO}/32 >>>> iptables -I POSTROUTING -t nat -j MASQUERADE -s ${MOKO}/32 >>>> >>>> > what works was the script Cristian Gomez included in his reply! > > 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: > > - I disconnect Openmoko > - connect it again > - re-run the script and voila the connection is there! > > Thanks > > Tony > > > _______________________________________________ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > >
_______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community