[prev in list] [next in list] [prev in thread] [next in thread]
List: openmoko-community
Subject: Network questions part III
From: "Nicolas Linkert" <linkert () fastmail ! fm>
Date: 2007-12-23 8:39:34
Message-ID: 1198399174.5991.1227977879 () webmail ! messagingengine ! com
[Download RAW message or body]
Hi,
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 192.168.0.202/32 dev usb0
My entry in /etc/network/interfaces:
allow-hotplug usb0
iface usb0 inet static
address 192.168.0.200
netmask 255.255.255.0
network 192.168.0.0
post-up iptables -A POSTROUTING -t nat -j MASQUERADE -s
192.168.0.0/24
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,
Nicolas
_______________________________________________
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic