我在 Xidu Tour Pro 笔记本电脑上运行 Fedora 31,大多数功能开箱即用,可以完美运行。但到目前为止我还无法使用 5Ghz 频率创建 WiFi 热点。
Fedora 连接管理器基本上说“连接激活失败”我运行了journalctl 以获取一些其他详细信息,并发现以下内容:
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.6283] device (wlp1s0): Activation: starting connection 'Hotspot'
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.6392] device (wlp1s0): supplicant interface state: disconnected -> disabled
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.6395] device (p2p-dev-wlp1s0): supplicant management interface state: disconnected -> disabled
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.6404] device (wlp1s0): supplicant interface state: disabled -> disconnected
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.6413] device (p2p-dev-wlp1s0): supplicant management interface state: disabled -> disconnected
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.6507] device (wlp1s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: >
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.6537] manager: NetworkManager state is now CONNECTING
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.7623] device (wlp1s0): set-hw-addr: set-cloned MAC address to EE:E6:96:D5:CF:74 (random)
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.7691] device (wlp1s0): supplicant interface state: disconnected -> disabled
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.7698] device (p2p-dev-wlp1s0): supplicant management interface state: disconnected -> disabled
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.7727] device (wlp1s0): state change: prepare -> config (reason 'none', sys-iface-state: 'manag>
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.7738] device (wlp1s0): Activation: (wifi) access point 'Hotspot' has security, but secrets are>
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.7741] device (wlp1s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'man>
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.7882] device (wlp1s0): supplicant interface state: disabled -> disconnected
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.7892] device (p2p-dev-wlp1s0): supplicant management interface state: disabled -> disconnected
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.7896] device (wlp1s0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'ma>
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.7998] device (wlp1s0): state change: prepare -> config (reason 'none', sys-iface-state: 'manag>
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.8012] device (wlp1s0): Activation: (wifi) connection 'Hotspot' has security, and secrets exist>
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.8017] Config: added 'ssid' value 'Xidu'
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.8020] Config: added 'mode' value '2'
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.8022] Config: added 'frequency' value '5180'
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.8025] Config: added 'freq_list' value '5035 5040 5045 5055 5060 5080 5170 5180 5190 5200 5210 >
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.8026] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 FT-PSK'
Feb 24 21:16:22 xidu NetworkManager[1020]: <info> [1582575382.8028] Config: added 'psk' value '<hidden>'
Feb 24 21:16:22 xidu wpa_supplicant[1091]: Note: nl80211 driver interface is not designed to be used with ap_scan=2; this can result in connection failures
Feb 24 21:16:22 xidu wpa_supplicant[1091]: wlp1s0: Failed to start AP functionality
非常感谢任何有关如何进一步调试的建议。
答案1
根据https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf:
注意:ap_scan=0/2 不应与 nl80211 驱动程序接口(当前的 Linux 接口)一起使用。 ap_scan=1 是与 nl80211 一起使用的唯一选项。