us network and Uuntu 8.10 - is there a better way?

kimaidou kimaidou at
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
sudo sysctl -w net.ipv4.ip_forward=1
sudo ip addr add dev usb0
sudo ifconfig usb0 up
ssh root at
echo nameserver > /etc/resolv.conf

I collect the different lines on the wiki, and it works well for me. Could
you give it a try ?

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the community mailing list