How could I connect Neo to internet using host pc?
Marcus Bauer
marcus.bauer at gmail.com
Tue Mar 25 17:10:51 CET 2008
On Tue, 2008-03-25 at 23:11 +0800, MengFei wrote:
> I have configure usb0 on my pc as follows:
> 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 &
> And at the same time I configured Neo interfaces as follow:
> iface usb0 inet static
> address 192.168.0.202
> netmask 255.255.255.0
> network 192.168.0.0
> gateway 192.168.0.200
> up echo nameserver 192.168.0.200 >/etc/resolv.conf
>
> Then what should I continue?
> Many thanks~
>
More info needed:
Can you ssh into your Neo?
Can you ping you PC from the Neo?
What does "ifconfig" say on your PC?
What does "route -n" say on your PC?
Marcus
More information about the device-owners
mailing list