#649: wds problemwith latest madwifi-ng
----------------------------------------+-----------------------------------
      Reporter:  [EMAIL PROTECTED]  |       Owner:     
          Type:  defect                 |      Status:  new
      Priority:  major                  |   Milestone:     
     Component:  madwifi: other         |     Version:     
    Resolution:                         |    Keywords:     
Patch_attached:  0                      |  
----------------------------------------+-----------------------------------
Comment (by [EMAIL PROTECTED]):

 ok solution :

 in:
 http://madwifi.org/wiki/UserDocs/WDSBridge
 is sample configuration but is broken

 interface working in ap mode must be first turned on and second wds
 interfaces
 so not linke this:

 <broken config>
 wlanconfig ath0 create wlandev wifi0 wlanmode ap
 wlanconfig ath1 create wlandev wifi0 wlanmode wds
 iwconfig ath0 essid "Normal atheros AP" channel 1
 iwpriv ath1 wds_add <mac of the peer wds ap>
 iwpriv ath1 wds 1
 ifconfig ath1 up
 ifconfig ath0 up
 brctl addbr br0
 brctl addif br0 ath1
 brctl addif br0 ath0
 ifconfig br0 up
 </broken config>

 <good config>

 //Create VAP AP-mode interface
 wlanconfig ath0 create wlandev wifi0 wlanmode ap
 //Create VAP WDS-mode interface
 wlanconfig ath1 create wlandev wifi0 wlanmode wds

 //Set Access Point Name and channel
 iwconfig ath0 essid "AP" channel xx
 //Add remote mac address to wds interface
 iwpriv ath1 wds_add <mac of the peer wds ap>
 //Turn on wds
 iwpriv ath1 wds 1
 //Set interface mode 11a/11b/11g
 iwpriv ath0 mode <mode>
 iwpriv ath1 mode <mode>
 //Turn up interfaces
 ifconfig ath0 up
 ifconfig ath1 up
 //Add interfaces to bridge
 brctl addbr br0
 brctl addif br0 ath0
 brctl addif br0 ath1
 //Turn on bridge interface
 ifconfig br0 up

 </good config>

 And this config is working with (Mikrotik WDS) and (CA8-4 WDS)

-- 
Ticket URL: <http://madwifi.org/ticket/649>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to