wpa_supplicant with bridge

Michael Smith msmith
Tue May 16 13:35:50 PDT 2006

On Tue, 16 May 2006, Chris Baechle wrote:

> Unlike before, it now works as at least a regular wireless client
> (without bridging of any sort). However, when I add the interface to
> the bridge (brctl addif br0 ath0), it disconnects from the AP. I tried
> doing it in different orders with no such luck.

> Here's my order of doing things:
> ifconfig eth0
> ifconfig ath0
> brctl addbr br0
> brctl addif br0 eth0
> ifconfig br0 up
> brctl setfd br0 0
> wpa_supplicant -c /etc/wpa_supplicant.conf -Dmadwifi -iath0 -bbr0 -ddd
> brctl addif br0 ath0

I do the same, almost:

- "iwpriv ath0 wds 1" before "ifconfig ath0"
- add ath0 to br0 before "ifconfig br0 up"
- "setfd br0 0" before "ifconfig br0 up"

This shouldn't make a difference, but it might: I set an IP address on my 
br0 when I bring it up.


More information about the Hostap mailing list