Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7260

Beginners • [solution] wpa_supplicant configuration for Raspberry Pi 5

$
0
0
Hello,
Recently I bought Raspberry Pi and mostly, I utilize minimal or LFS distro, In my case instead of network-manager, I utilize wpa_supplicant from the configuration file and my configuration does not work, so I tested and found a solution I wanted to place in any case if it is required anyone.

Firstly you might encounter the below auth error on the wpa_supplicant application.

Code:

wlan0: CTRL-EVENT-DSCP-POLICY clear_allwlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLDwlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=USwlan0: Trying to associate with xx:xx:xx:xx:xx:xx (SSID='ahmet.network' freq=2417 MHz)wlan0: Authentication with xx:xx:xx:xx:xx:xx timed out.wlan0: CTRL-EVENT-DISCONNECTED bssid=xx:xx:xx:xx:xx:xx  reason=3 locally_generated=1BSSID xx:xx:xx:xx:xx:xx  ignore list count incremented to 2, ignoring for 10 seconds

Ensure your Pi is well-powered, then place key_mgmt= argument inside your wpa_supplicant.conf

here is an example configuration

Code:

#ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev#update_config=1ap_scan=1fast_reauth=0country=USnetwork={        ssid="ahmet.network"        psk=<YOUR_PSK>        key_mgmt=WPA-PSK-SHA256}
Have a good day.

Statistics: Posted by ULTIMATE — Tue May 28, 2024 4:42 pm — Replies 0 — Views 32



Viewing all articles
Browse latest Browse all 7260

Trending Articles