Network questions part III

Nicolas Linkert linkert at
Sun Dec 23 09:39:34 CET 2007


another question concerning my network settings: I have successfully
established a connection with the Neo, and I can login etc. The only
"problem" is that I always have to manually submit the routing:

route add -host dev usb0

My entry in /etc/network/interfaces:

allow-hotplug usb0
iface usb0 inet static
        post-up iptables -A POSTROUTING -t nat -j MASQUERADE -s
        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
        post-up_iptables -P FORWARD ACCEPT

Is there a way to automatically add the routing to a script? Or am I
missing something?

Best regards,

More information about the community mailing list