us network and Uuntu 8.10 - is there a better way?
kimaidou
kimaidou at gmail.com
Tue Nov 25 09:47:26 CET 2008
Hi all
Personaly I lauch this script after pluging the FR:
#! /bin/sh
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
ssh root at 192.168.0.202
echo nameserver 208.67.222.222 > /etc/resolv.conf
I collect the different lines on the wiki, and it works well for me. Could
you give it a try ?
kimaidou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20081125/e370b464/attachment.htm
More information about the community
mailing list