Distro?
Joachim Ott
jo.omsl at googlemail.com
Tue Feb 3 02:48:53 CET 2009
2009/2/3 Seth Rothenberg <seth at pachai.net>
> Thanks for the great replies...
> I flashed my FR to SHR today.
> I had a few instances of it freezing during boot.
> Then it seemed to be up, but I had 2 issues:
>
> 1. In Terminal, I get no keyboard.
> (I guess that's my punishment for complaining
> about not getting a full 101 keys by default. :-)
When you're in the terminal, tap on the top shelf, then above the big X, tap
on the QWERTY
> 2. My usb setup script failed.
> ifconfig returns this and more, but ping gets nothing.
>
> usb0 Link encap:Ethernet HWaddr 8e:a3:0c:ca:6d:a8
> inet addr:192.168.0.200 Bcast:0.0.0.0 Mask:255.255.255.0
> inet6 addr: fe80::8ca3:cff:feca:6da8/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>
> Script is:
> rothen at sata1:/opt/download/OpenMoko$ cat usbsetup
> sudo iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
> sudo sysctl -w net.ipv4.ip_forward=1
> sudo ip addr add 192.168.0.200/24 dev usb0
> sudo ifconfig usb0 up
> ifconfig usb0
> ping -c 2 mok
> rothen at sata1:/opt/download/OpenMoko$
By default, your desktop PC has 192.168.0.200 and the FR has 192.168.0.202.
Try this entry in /etc/network/interfaces on the FR:
auto usb0
iface usb0 inet static
address 192.168.0.202
netmask 255.255.255.0
network 192.168.0.0
gateway 192.168.0.200
# some folks have the next line here enabled
# echo "nameserver 192.168.0.200" >/etc/resolv.conf
# still others may say: bullshit honey, we need a real nameserver in
here
and on your desktop PC in the very same file:
allow-hotplug usb0
iface usb0 inet static
address 192.168.0.200
netmask 255.255.255.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/support/attachments/20090203/920f1627/attachment.htm
More information about the support
mailing list