This is my /etc/network/interfaces

auto lo
iface lo inet loopback

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 MASQUERADE -s 192.168.0.0/24 &
        up echo 1 > /proc/sys/net/ipv4/ip_forward &
        up iptables -P FORWARD ACCEPT &
        down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 &

The auto usb0 line and everything below is to allow my FreeRunner to
access the Internet whilst it is plugged into the desktop running
Intrepid. This worked fine with Hardy.

If I comment out auto usb0 and everything below, I can access the rest
of the network, but then, of course, my FreeRunner no longer has
Internet access.

How do I get both up?

-- 
network-manager After reboot network is totally broken
https://bugs.launchpad.net/bugs/279262
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to