我为我的树莓派买了一个 TL-WN725N v2 wifi usb 加密狗。
亚马逊读到它可以开箱即用,但事实并非如此。所以我跟着几个教程让驱动程序工作。
现在的问题是让它作为一个接入点工作。
这是我的hostapd.conf文件:
interface=wlan0
ssid=Your_AP_SSI
channel=1
## WPA and WPA2 configuration
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
## WPA settings
wpa=2
wpa_passphrase=my_secret_pass
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
## Hardware configuration
#driver=rtl871xdrv
driver=nl80211
ieee80211n=1
hw_mode=g
Run Code Online (Sandbox Code Playgroud)
当我启动 hostapd hostapd.conf 时,它显示:
Configuration file: hostapd.conf
nl80211: Driver does not support authentication/association or connect commands
nl80211 driver initialization failed.
hostapd_free_hapd_data: Interface wlan0 wasn't started
Run Code Online (Sandbox Code Playgroud)
有任何想法吗 ?
多谢 !
wireless-networking wireless-access-point arch-linux hostapd