如何在ubuntu上将WNA3100无线适配器设置为热点(主模式)

时间:2015-01-31 11:13:05

标签: master iwconfig

我刚刚购买了Netgear WNA3100无线适配器(Broadcom芯片)。我设法安装了ndiswrapper和相关的broadcom驱动程序,但我无法将其转换为主模式,因此它可以作为热点使用。

lsusb:

Bus 001 Device 007: ID 0846:9020 NetGear, Inc. WNA3100(v1) Wireless-N 300
[Broadcom BCM43231]

iwconfig:

wlan1     IEEE 802.11g  ESSID:off/any  
   Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated
   Bit Rate:300 Mb/s   Tx-Power:32 dBm
   RTS thr:2347 B   Fragment thr:2346 B
   Power Management:off
   Link Quality:0  Signal level:0  Noise level:0
   Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
   Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sudo iwconfig wlan1 mode master:

Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan1 ; Invalid argument.

dmesg | grep ndis:

    [  585.911215] ndiswrapper: driver bcmwlhigh5 (Netgear,03/28/2011, 5.100.68.46) loaded
    [  586.313944] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95b0000, 16000, 4
    [  586.313955] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95b3e80, 16000, 5
    [  586.313959] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95b7d00, 16000, 5
    [  586.313963] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95bbb80, 16000, 5
    [  586.313966] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95bfa00, 16000, 5
    [  586.313970] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95c3880, 16000, 5
    [  586.313973] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95c7700, 16000, 5
    [  586.313977] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95cb580, 16000, 5
    [  586.313981] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95cf400, 16000, 5
    [  586.313984] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95d3280, 16000, 5
    [  586.313988] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95d7100, 16000, 4
    [  586.313991] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95daf80, 16000, 5
    [  586.313995] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95dee00, 16000, 5
    [  586.313999] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95e2c80, 16000, 5
    [  586.314002] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95e6b00, 16000, 5
    [  586.314006] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95ea980, 16000, 5
    [  586.314009] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95ee800, 16000, 5
    [  586.314013] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95f2680, 16000, 5
    [  586.314016] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95f6500, 16000, 5
    [  586.314020] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95fa380, 16000, 5
    [  586.314024] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f95fe200, 16000, 5
    [  586.314028] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9602080, 16000, 4
    [  586.314032] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9605f00, 16000, 5
    [  586.314035] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9609d80, 16000, 5
    [  586.314039] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f960dc00, 16000, 5
    [  586.314043] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9611a80, 16000, 5
    [  586.314046] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9615900, 16000, 5
    [  586.314050] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9619780, 16000, 5
    [  586.314053] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f961d600, 16000, 5
    [  586.314057] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9621480, 16000, 5
    [  586.314060] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9625300, 16000, 5
    [  586.314064] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9629180, 16000, 4
    [  586.314067] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f962d000, 16000, 4
    [  586.314071] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9630e80, 16000, 5
    [  586.314075] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9634d00, 16000, 5
    [  586.314079] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9638b80, 16000, 5
    [  586.314083] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f963ca00, 16000, 5
    [  586.314086] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9640880, 16000, 5
    [  586.314090] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9644700, 16000, 5
    [  586.314093] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9648580, 16000, 5
    [  586.314102] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f964c400, 16000, 5
    [  586.314105] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9650280, 16000, 5
    [  586.314109] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9654100, 16000, 4
    [  586.314113] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9657f80, 16000, 5
    [  586.314118] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f965be00, 16000, 5
    [  586.314121] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f965fc80, 16000, 5
    [  586.314125] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9663b00, 16000, 5
    [  586.314129] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f9667980, 16000, 5
    [  586.314132] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f966b800, 16000, 5
    [  586.314136] ndiswrapper (MmBuildMdlForNonPagedPool:1864): f966f680, 16000, 5
    [  586.330508] ndiswrapper (ndis_encode_setting:383): unknown type: 3
    [  586.611234] wlan0: ethernet device xx:xx:xx:xx:xx:xx using NDIS driver: bcmwlhigh5, version: 0x564442e, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 0846:9020.F.conf
    [  586.617763] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2-PSK; AES/CCMP with WPA, WPA2, WPA2-PSK
    [  586.691006] ndiswrapper: interface renamed to 'wlan1'
    [  586.691164] systemd-udevd[3684]: renamed network interface wlan0 to wlan1
    [  586.794728] cfg80211: Calling CRDA to update world regulatory domain
    [  586.812483] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [  586.815738] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [  586.841403] cfg80211: World regulatory domain updated:
    [  586.841429] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [  586.841433] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [  586.841438] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [  586.841443] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [  586.841447] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [  586.841451] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

1 个答案:

答案 0 :(得分:0)

RTFM,http://sourceforge.net/p/ndiswrapper/ndiswrapper/FAQ/#is-master-mode-or-promiscuous-mode-supported

  

没有! NDIS不支持主/中继/监控模式。支持的唯一模式是Ad-Hoc和Managed。