Debian Linux の Hostapd が WLAN ホットスポットを開いたが、接続できません。

Debian Linux の Hostapd が WLAN ホットスポットを開いたが、接続できません。

私はDebian Wheezyマシンを実行していますhostapd。 WPA2-PSKセキュアWLANホットスポットになることを願っています。 Android 携帯でホットスポットを表示できますが、接続しようとするたびに次のように表示されます。「IPアドレスの取得」久しぶりにそうしたら。「弱いネットワーク接続を避ける」「Schwache Internetverbindung gemieden」)。

私の/etc/hostapd/hostapd.confファイルには次の内容が含まれています。

ctrl_interface=/var/run/hostapd
###############################
# Basic Config
###############################
macaddr_acl=0
auth_algs=1
# Most modern wireless drivers in the kernel need driver=nl80211
driver=nl80211
##########################
# Local configuration...
##########################
interface=wlan0
#bridge=br0
hw_mode=g
channel=1
ssid=HereIsMySSID
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=HereIsMyPassphrase
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

に変更すると、wpa_key_mgmt次のWPA2-PSKエラーが発生します。

# hostapd /etc/hostapd/hostapd.conf 
Configuration file: /etc/hostapd/hostapd.conf
Line 22: invalid key_mgmt 'WPA2-PSK'
FT (IEEE 802.11r) requires nas_identifier to be configured as a 1..48 octet string
2 errors found in configuration file '/etc/hostapd/hostapd.conf'
#

私のhostapdバージョンは次のとおりです

# hostapd -v
hostapd v1.0
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2012, Jouni Malinen <[email protected]> and contributors
#

どのように動作させることができますか?

ベストアンサー1

DHCPサーバーが欠落しているようです。

まだ設定していない場合は、「IPアドレスの取得」で停止した理由です。

例えば。https://wiki.debian.org/DHCP_Server

おすすめ記事