> With Ubuntu 8.04 and 8.10 I've had 100% success on four or five different
> systems with:

> auto usb0
> iface usb0 inet static
>     address
>     netmask
>     post-up iptables -A POSTROUTING -t nat -j MASQUERADE -s
>     post-up iptables -I PREROUTING -i usb0 -p udp --dport 53 -j DNAT --to
>     post-up echo 1 > /proc/sys/net/ipv4/ip_forward
>     post-up iptables -P FORWARD ACCEPT
>     pre-down iptables -D POSTROUTING -t nat -j MASQUERADE -s
>     pre-down iptables -D PREROUTING -i usb0 -p udp --dport 53 -j DNAT --to

> in /etc/network/interfaces, and the fix noted on the wiki at
> http://wiki.openmoko.org/wiki/Usb_networking#Ubuntu_Issues

If you use "allow-hotplug" instead of "auto", it should work without
needing any "fix".


Openmoko community mailing list

Reply via email to