[Voyage-linux] Bridging Wired and Wireless
Frank Parker
(spam-protected)
Fri Feb 26 08:59:25 HKT 2010
So far voyage-0.6.5 is working great on my ATOM 330 based board.
Slowly converting this device into a wireless router. Thanks to
Punky's blog I now have the built-in wireless converted to an access
point with the ath9k driver and hostapd.
I just added a Netgear FA120 USB Ethernet and eth1 popped up
immediately (I think it loaded the asix module).
Now I want to bridge wlan0 with eth1 to create the LAN side of this
device (with a static IP and dhcp server for wired & wireless clients)
and use eth0 as the WAN side of the device (with dhcp client to pull
leases from the ISP).
I created the bridge in /etc/network/interfaces but now when I try to
associate with wlan0 it fails to authenticate the WPA key (yes I'm
typing it correctly). If I remove the bridge from
/etc/network/interfaces, I can associate again. I must have something
wrong in the config.
---[SNIP]---
voyage:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet manual
auto wlan0
iface wlan0 inet manual
#address 10.1.10.1
#netmask 255.255.255.0
#broadcast 10.1.10.255
#up nat.sh wlan0 eth0 "10.1.10.0/24"
auto br0
iface br0 inet static
address 192.168.10.1
network 192.168.10.0
netmask 255.255.255.0
broadcast 192.168.10.255
bridge-ports eth1 wlan0
---[SNIP]---
How can I accomplish this? Also, does this require vlans?
More information about the Voyage-linux
mailing list