4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

LinuxでWi-Fi接続ができなくて悩んだときのログ

Last updated at Posted at 2020-10-05

Raspberry Pi 4で2.4GHzネットワークには接続できるのに5GHzネットワークに接続できなくて悩んだときの記録。

wpa_supplicant.conf にSSIDとPSKを書いただけだと接続できず、エラーログは以下のような感じ。

Successfully initialized wpa_supplicant
wlan0: Trying to associate with SSID 'Buffalo-A-1234'
wlan0: CTRL-EVENT-ASSOC-REJECT bssid=00:24:a5:**:**:** status_code=16
wlan0: Trying to associate with SSID 'Buffalo-A-1234'
wlan0: CTRL-EVENT-ASSOC-REJECT bssid=00:24:a5:**:**:** status_code=16
wlan0: Trying to associate with SSID 'Buffalo-A-1234'
wlan0: CTRL-EVENT-ASSOC-REJECT bssid=00:24:a5:**:**:** status_code=16
wlan0: Trying to associate with SSID 'Buffalo-A-1234'
wlan0: CTRL-EVENT-ASSOC-REJECT bssid=00:24:a5:**:**:** status_code=16

wpa_supplicant.conf を以下のように書いたら接続できた。

wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=JP

network={
	ssid="Buffalo-A-1234"
	key_mgmt=WPA-PSK WPA-PSK-SHA256
	psk="********"
	pairwise=CCMP
	group=CCMP
	proto=WPA2
	ieee80211w=1
}

5GHzネットワークを提供する無線APの暗号化を「WPA2-PSK/WPA3-SAE Mixed」にしていたのが接続に苦労した原因のようで、key_mgmt=WPA-PSK-SHA256が必須だったようです(参考資料:wpa_supplicant - ArchWiki)。

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?