我使用 hostapd 安装并设置热点。
# /etc/init.d/hostapd start
[ ok ] Starting hostapd (via systemctl): hostapd.service.
但是当我尝试将手机连接到热点时,它没有显示在列表中。为什么会这样呢?我在 Gnome 环境下使用 Debian。
这是我的 hostapd.conf 文件的样子:
interface=wlp3s0
ieee80211n=1
channel=6
bridge=br0
ssid=Pauling
wpa=2
country code=IN
wpa_passphrase=password
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIM
rsn_pairwise=CCMP
autht_algs=1
macaddr acl=0
# Change the broadcasted/multicasted keys after this many seconds.
wpa_group_rekey=600
# Change the master key after this many seconds. Master key is used as a basis
wpa_gmk_rekey=86400
编辑:journalctl -b -u hostapd 中的错误是:
Starting advanced IEEE 802.11 management: hostapd failed!
就这样。