我正在尝试在 Linux 下以“AP”模式设置 Intel Corporation 无线 3165(修订版 81)双频适配器。
我在用:
- Slackware 14.2 (x86_64) 上的定制内核 4.16.18
- 模块 iwlwifi
- 固件 iwlwifi-7265D-29.ucode
真正让我困惑的是,尽管“iw list”命令清楚地报告该适配器支持“AP”模式,但任何使用 iwconfig 切换到该模式的尝试都会被拒绝。
见下文:
# lspci -v
[...SNIP...]
04:00.0 Network controller: Intel Corporation Wireless 3165 (rev 81)
Subsystem: Intel Corporation Dual Band Wireless AC 3165
Flags: bus master, fast devsel, latency 0, IRQ 119
Memory at 81200000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [40] Express Endpoint, MSI 00
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
# lsmod | grep "iwlwifi"
iwlwifi 176128 1 iwlmvm
cfg80211 258048 3 iwlmvm,iwlwifi,mac80211
# iw list
Wiphy phy0
[...SNIP...]
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* P2P-client
* P2P-GO
* P2P-device
[...SNIP...]
# ifconfig wlan0 up
# ifconfig
[...SNIP...]
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.1.253 netmask 255.255.255.0 broadcast 192.168.1.255
ether 70:1c:e7:05:e3:21 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
# iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
# iwconfig wlan0 mode AP
Error for wireless request "Set Mode" (8B06) :
invalid argument "AP".
据我所知,这个特定的适配器不支持“主”模式。但它确实列出了受支持的“AP”模式。
为什么 iwconfig 无法将卡切换到“AP”模式?
任何帮助表示赞赏。