Log when I was worried that I could not connect to Wi-Fi on Linux

A record when I was worried that I could connect to the 2.4GHz network with Raspberry Pi 4 but not to the 5GHz network.

If you just write the SSID and PSK in wpa_supplicant.conf, you will not be able to connect, and the error log will look like the following.

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

I wrote wpa_supplicant.conf as follows and I was able to connect.

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
}

It seems that the reason why it was difficult to connect was that the encryption of the wireless AP that provides the 5GHz network was "WPA2-PSK / WPA3-SAE Mixed", and it seems that key_mgmt = WPA-PSK-SHA256 was essential. (Reference: wpa \ _ supplicant -ArchWiki).

Recommended Posts

Log when I was worried that I could not connect to Wi-Fi on Linux
The story when I was using IntelliJ on Linux and could not input Japanese
A note I was addicted to when making a beep on Linux
Memo (March 2020) that I was addicted to when installing Arch Linux on MacBook Air 11'Early 2015
Gusto cannot connect to Wifi on Linux
When I tried to use pip with python, I was told that XML_SetHashSalt could not be found.
I want to log file I / O on Linux
Convenient Linux keyboard operation that I want to teach myself when I was in school
I get [Error 2055] when trying to connect to MySQL on Heroku
The record I was addicted to when putting MeCab on Heroku
When I tried to generate sentences based on Kafka's "transformation" with LSTM, I could not become anyone.
A story I was addicted to trying to install LightFM on Amazon Linux
I want to use Linux on mac
I was addicted to Flask on dotCloud
I was addicted to not being able to use Markdown on pypi's long_description
[Django] A memo when log was not
[Note] QXcbConnection: Could not connect to display
Install Docker on CentOS8. The problem that the name could not be resolved was resolved.
Summary of linux command techniques that I knew when I was a fledgling engineer
A story that I was addicted to when I made SFTP communication with python
I want to be notified when the command operation is completed on linux!
Note that I was addicted to npm script not passing in the verification environment
[Pyhton] I want to solve the problem that tkinter does not work on MacOS11
Code memo that I was having trouble with not being on the discord.py site
How to allow nologin users to log in on Linux
A story that I was addicted to at np.where
I want to use OpenJDK 11 on Ubuntu Linux 18.04 LTS / 18.10
What I was addicted to when using Python tornado
Suspend shutdown on linux When sleep is not possible
[Linux] How to install a package on a server that does not have a network environment (standalone)
What I was addicted to when dealing with huge files in a Linux 32bit environment
The story of when I was addicted to Caused by SSLError ("Can't connect to HTTPS URL because the SSL module is not available.")
What to do when Japanese is not displayed on matplotlib
How to check when python-memcached server could not be connected
What I was addicted to when migrating Processing users to Python
Check when the Docker container does not connect to the Internet
When you want to use python2.x on modern Gentoo Linux
What to do if you can't use WiFi on Linux
What I was worried about when displaying images with matplotlib
[Python3] List of sites that I referred to when I started Python
[virtualbox] What to do when [Could not retrieve mirrorlist] appears when yum update is performed on CentOS7
A story that didn't work when I tried to log in with the Python requests module