About ipkg on Openmoko

Xiangfu Liu yjtmpgk at gmail.com
Fri Feb 29 02:25:16 CET 2008


#!/bin/sh
echo "...ip address 192.168.0.200"
ifconfig usb0 192.168.0.200

echo "...ip forward"
echo "1" >/proc/sys/net/ipv4/ip_forward
modprobe iptable_nat
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

maybe work

-- 
my Blog : http://blog.chinaunix.net/u/13385/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20080229/4d04d217/attachment.htm 


More information about the community mailing list