我无法让任何设备(Win7、Win8 或 Android)连接到我可怜的人的无线接入点(树莓派 + rtl8192cu 芯片组 USB 适配器(Belkin N300 micro)+ hostapd + dnsmasq)。单击/点击“连接”后,我只是收到一条错误消息,指出无法连接。分配静态 IP 然后连接也不成功,因此它不是 IP/DHCP/dnsmasq 问题。sudo hostapd -dd /etc/hostapd/hostapd.conf不提供任何线索;客户端尝试连接时没有错误消息。/etc/hostapd/hostapd.conf非常简单,只有接口、ssid 和通道声明。我没有做任何桥接、NAT 或通过这个设置上网...我只需要它作为一个接入点,所以我在车里通过网络浏览器连接到它(我的 Android 不做广告- 不幸的是)。这是 hostapd 的输出(即'
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
drv->ifindex=3
l2_sock_recv==l2_sock_xmit=0x0x1f85648
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=4 freq=2427 …Run Code Online (Sandbox Code Playgroud)