Hey everyone, here's the update..i could use some help. I'm trying to setup a transparent wireless bridge, but traffic is only making it to 2 of the 3 interfaces.. I could really use some help here.
Heres what the situation has boiled down to, I am trying to "extend" the range of my ap. I have a laptop with two wireless cards ( 1 atheros, 1 intel 3945abg ). I am putting one interface into ap mode, the other into managed, bridging the connection, but traffic is only seen on nic hosting the ap, and the bridge. the interface in managed mode isn't receiving any of the traffic. here is how i'm doing it:
ifconfig ath0 down
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode master (master or ap?same?)
ifconfig wlan0 0.0.0.0 up
iwconfig wlan0 essid "office" key xxxxxxxxxx
ifconfig ath0 0.0.0.0 up
iwconfig ath0 essid "extension"
brctl addbr br0
brctl addif br0 wlan0
brctl addif br0 ath0
ifconfig br0 up
dhclient br0 (or ifconfig br0 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255)
Now if a client connects to "extension" and requests an ip address via dhcp, i can see traffic (via wireshark) on ath0(the ap nic) and br0; however, wlan0(the nic in managed mode connected to "office") doesn't see anything.
some of my key questions are :
1. does wlan0 need to be associated w/ the "office" ap? that only happens when i give it an ip address...so would i need to assign it one to get associated then set my ip 0.0.0.0 on wlan0 again?
2. do i need to set a default route for anything, br0 maybe?
# route add default gw 192.168.1.1 br0
3. my ap currently uses stp ( i can see from the wireshark output ), so i'm assuming i need : brctl br0 stp on ??
Thanks so much for any help, it is greatly appreciated as this has been going unsuccessfully for me for a while.
Thanks