OpenMoko / Freerunner and Ubuntu

Today I received my OpenMoko / FreeRunner mobile phone Linux computer.
Here is how I set up the USB networking between the FreeRunner and my notebook (which runs on Ubuntu Linux):
sudo aptitude install dnsmasqsudo iptables -Fsudo ifconfig usb0 192.168.0.200 netmask 255.255.255.0sudo route add 192.168.0.202 usb0sudo iptables -I INPUT 1 -s 192.168.0.202 -j ACCEPTsudo iptables -I OUTPUT 1 -s 192.168.0.200 -j ACCEPTsudo iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24sudo echo 1 > /proc/sys/net/ipv4/ip_forward
Now you can log into the FreeRunner via SSH using ssh root@192.168.0.202 and the FreeRunner has network access through the USB connection.
05/07/2008 at 13:10 Permalink
Reply
05/07/2008 at 22:00 Permalink
Reply
13/07/2008 at 18:28 Permalink
> sudo bash -c 'echo 1 > /proc/sys/net/ipv4/ip_forward'
Cheers,
Arne
Reply
21/07/2008 at 16:04 Permalink
Still pretty neat though!
Reply
26/07/2008 at 14:48 Permalink
I received my FreeRunner three days ago and till now I wasn't able to set up USB networking.
Command 8 hasn't worked for me so I have used Arne's.
Thank you Sebastian, and thank you Arne!
David
Reply
06/10/2008 at 02:08 Permalink
Reply
16/02/2009 at 11:15 Permalink
Reply
20/05/2009 at 06:24 Permalink
Reply
29/04/2010 at 18:09 Permalink
Reply