This Content is from Stack Overflow. Question asked by Ruta Abhyankar
I am using WPA_Supplicant version 2.9
Following commands are used to connect with WPA3 networks using wpa_cli.
- set_network 1 ssid “abc”
- set_network 1 key_mgmt SAE
- set_network 1 sae_password “password”
- set_network 1 ieee80211w 2
- enable_network 1
After running above commands, network is getting connected.
==>status bssid=5e:33:db:70:89:3f freq=2442 ssid=abc id=1 mode=station pairwise_cipher=CCMP group_cipher=CCMP key_mgmt=SAE pmf=2 mgmt_group_cipher=BIP sae_group=19 wpa_state=COMPLETED ip_address=192.168.101.111 address=00:04:f3:95:be:25 uuid=281b08c3-ffe2-5ea8-85e7-dea3c26f7170
I am getting response as OK for save_config command, but network block is not getting added in the wpa_supplicant.conf file. Configuration of CONFIG_SAE=y and CONFIG_IEEE80211W=y are also enabled.
wpa_supplicant.conf file configuration:
WPA SUPPLICANT DATA ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 update_config=1
If I manually add network block in /var/persist/etc/wpa_supplicant.conf file, after reboot, auto connection to the network is successful.
Is there any other settings/configuration involved for saving network block in wpa_supplicant.conf ?
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.
This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.