From: geometrikal <geo...@ho...> - 2009-02-17 06:41:00
|
Ahhh scratch all this... got it working grrrrrrr, no bridging, no iptables needed!!!! This is what i did vi /etc/network/options and change ip_foward=no to ip_forward=yes reboot (or you can do echo "1" > /proc/sys/net/ipv4/ip_forward which works instantaneously but doesn't hold on reboot) for the first time just double check that ip_forward is really on cat /proc/sys/net/ipv4/ip_forward should return 1 set wlan0 to say 192.168.2.1 set eth0 to say 192.168.1.1 NOW here was my mistake (ahh so obvious)... the device connected to eth0 must have its default gateway set to the address of eth0, ie 192.168.1.1 the computer connected to wlan0 must have a routing entry so that packets to 129.168.1.0 network are sent to wlan0 address 192.168.2.1 In my case I set this as the default gateway - sudo route add default gw 192.168.2.1 now you should be able to ping your device on eth0... Thanks to all who took the time to reply, much appreciated, Ross -- View this message in context: http://www.nabble.com/How-to-bridge-wlan0-and-eth0-using-ifconfig-etc--tp21843418p22051566.html Sent from the Gumstix mailing list archive at Nabble.com. |