[Voyage-linux] Getting WLAN to work in bridged mode

Rudolf Ladyzhenskii (spam-protected)
Mon May 26 19:10:54 HKT 2014


Hi all,

I have ALIX board and installed wireless card.
Unit is supposed to work as a wireless router.

eth0 is WAN, eth1 + wlan0 is LAN

All wired interfaces work fine, unit functions as a router.

There are couple of problems with configuring wlan0.

/etc/network/interfaces:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
       address 192.168.1.1
       netmask 255.255.255.0
       broadcast 192.168.2.255

iface wlan0 inet manual
        hostapd /etc/hostapd/hostapd.wlan0.conf

auto br0
iface br0 inet static
        bridge_ports eth1 wlan0
       address 192.168.1.1
       netmask 255.255.255.0
       broadcast 192.168.2.255

/etc/hostapd/hostapd.wlan0.conf is as per /README

First problem is that wlan0 does not start up automatically at boot time.
So I start it up manually and restart br0 for now.
I can see SSID and try to connect to it, but I never get an IP address.
DHCP server is running and I get IP addresses on wired devices, but not
through wireless interface.

brctl shows that br0 has both eth1 and wlan0.

Any ideas?

Thanks,
Rudolf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20140526/afec52c6/attachment.html>


More information about the Voyage-linux mailing list