hi, everyone
   Thanks for your help! Use hostapd can make ZD1211B usb wireless card work 
with master mode.

   In my machine:
#cat hostapd.conf
interface=wlan1
driver=nl80211
ssid=test
channel=1
# hostapd ./hostapd.conf

   In other test machine:
# iwlist wlan0 scan
          Cell 10 - Address: 00:1D:0F:04:81:C6
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=-36 dBm  
                    Encryption key:off
                    ESSID:"test"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 68ms ago
                    IE: Unknown: 000474657374
                    IE: Unknown: 010482840B16
                    IE: Unknown: 030101
# iwconfig wlan0 essid test mode managed channel 1 
# iwconfig wlan0                                  
wlan0     IEEE 802.11bgn  ESSID:"test"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:1D:0F:04:81:C6   
          Bit Rate=1 Mb/s   Tx-Power=14 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-33 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:3   Missed beacon:0

   Now this card set master mode and another wireless card can access.

Best regards!
zhangchd


> See http://wireless.kernel.org/RTFM-AP
> 
> And in general, mac80211 doesn't really support setting interface
> modes through wext (iwconfig) - use nl80211 (iw) instead. But even
> that won't get you AP mode; see above.
> 


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to