小编Boo*_*per的帖子

使用 hostapd 在笔记本电脑上配置 wifi 接入点

我基本上是尝试将 linux 笔记本电脑配置为其他笔记本电脑和手机可以连接的 wifi 路由器,然后我可以操纵流量进行一些网络流量测试(具有较低的带宽和上限等)

我的 hostapd 配置文件是,

interface=wlan0
driver=nl80211
ssid=atest
hw_mode=g
channel=1
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=1234567890
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
Run Code Online (Sandbox Code Playgroud)

但是 hostapd 总是失败,使用 -d 选项我看到了这一点,

random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
nl80211: interface wlan0 in phy phy0
rfkill: initial event: idx=1 type=2 op=0 soft=1 hard=0
rfkill: initial event: idx=2 type=1 op=0 soft=0 hard=0
nl80211: Using driver-based off-channel TX
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): …
Run Code Online (Sandbox Code Playgroud)

networking router wireless-networking linux-mint

3
推荐指数
1
解决办法
1万
查看次数