Wireless bridge, update

Standard
Tux, the Linux penguin

Image via Wikipedia

The wlan0 <–> eth0 ethernet bridge I have on my server now essentially works well, apart from a few issues.

The most serious seems to be that the wireless card will suddenly stop working – in the sense of disassociating and then refusing to re-associate. The first time it did this it took 10 days, the second about three: I think this is a known problem – as I read about it when I was tearing my hair out about how to set the thing up, though I cannot find a reference to it now – will keep on searching.

The other is a less serious problem – as I know how to fix it. When the machine comes up the wireless part of the bridge is disabled but can be restarted with:

/etc/init.d/hostapd restart
iwconfig wlan0 mode master

I am not even sure the restart is needed – but I know the combo works.

Here’s the relevant bits of the /etc/network/interfaces file:


# The loopback network interface
auto lo eth0 wlan0

iface eth0 inet manual
iface wlan0 inet static
address 192.168.62.2

auto br0
iface br0 inet dhcp
bridge_ports eth0 wlan0
bridge_stp on
/sbin/iwconfig wlan0 essid myssid &amp;&amp; \
/sbin/iwconfig wlan0 channel 1 &amp;&amp; \
/sbin/iwconfig wlan0 mode master

One thought on “Wireless bridge, update

  1. Pingback: Wireless bridge again | cartesian product

Comments are closed.