View source for User:Linuxpaul
From Openmoko
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Return to User:Linuxpaul.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Return to User:Linuxpaul.
I was "unlucky" enough to have my local network on 192.168.0.0/24, getting the freerunner to the internet took me a few extra steps.
I'm not too familiar with iptables, so I went to the drakconf GUI, and selected:
Then, on the Mandriva host (in console, of course), edit the routing like so:
route add -host 192.168.0.202 dev usb0 route del -net 192.168.0.0 netmask 255.255.255.0 usb0
You may also need to delete a default gateway generated by the drakconf script:
route del default gw 192.168.0.1 usb0
Then you should be able to ssh into the freerunner as shown above, and edit the routing simliarly, and add a nameserver:
route add -host 192.168.0.200 dev usb0 route del -net 192.168.0.0 netmask 255.255.255.0 usb0 echo 'nameserver x.x.x.x' > /etc/resolv.conf # replace "x.x.x.x" with your nameserver IP
This got the freerunner access to the internet through my NATed Mandriva host. Your mileage may vary. Some of these instructions may do nothing at all. Feedback is welcome. If someone knows a little more than this magic-runes summary, please put it in the Sharing your connection section