Neo freerunner
From Hackepedia
Once I received my Neo Freerunner, I logged into the openmoko wiki and setup USB Networking on Ubuntu:
Replace 192.168.1.25 below with the IP of your desktop eth0:
$ cat /etc/network/interfaces
auto usb0
iface usb0 inet static
address 192.168.0.200
netmask 255.255.255.0
network 192.168.0.0
up iptables -A POSTROUTING -t nat -j SNAT --to-source 192.168.1.25 &
up echo 1 > /proc/sys/net/ipv4/ip_forward &
up iptables -P FORWARD ACCEPT &
down iptables -D POSTROUTING -t nat -j SNAT --to-source 192.168.1.25 &
# ifdown usb0 && ifup usb0
If that worked, you should now see something similar to:
$ ifconfig usb0
usb0 Link encap:Ethernet
inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0
$ netstat -rn | grep usb0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0
$ ssh root@192.168.0.202 root@192.168.0.202's password:
hit enter and you should see:
root@om-gta02:~#
Once connected via ssh, these are the commands I ran, your mileage may vary:
# vi /etc/resolv.conf
changed the IP to that of my favourite DNS nameserver.
# opkg update
As of July 23,2008 they don't seem to digitally sign their packages, so you will see 4 errors for files that end with .sig
# opkg upgrade
There were a couple of times I was prompted to merge files, I chose "I" to install maintainer's version, as the phone is new I've not yet edited anything myself so there is no risk of clobbering my changes.