On Wednesday, 31 August 2022 20:15:41 BST Walter Dnes wrote:
During launch, wpa_supplicant blows up on...
DIR=/var/run/wpa_supplicant GROUP=wheel
DIR=/var/run/wpa_supplicant GROUP=0
Hmm ... so the example page syntax is wrong. I wonder if I came across this too in the distant past. :-/
I have this in my config and it works:
ctrl_interface_group=wheel
ctrl_interface=/var/run/wpa_supplicant
https://wiki.gentoo.org/wiki/Wpa_supplicant#Configuration recommends...
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
The 3 lines in my wpa_supplicant.conf that are not commented out are...
ctrl_interface_group=0
ap_scan=1
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
Thank you for your help. It works.
Cool. :-)
I live in a condo building. As
a regular user "wpa_cli scan" followed by "wpa_cli scan_result" shows approximately a couple of dozen machines. BTW I've disabled MVM and
wifi still works.
One last question; I occasionally see signs in various places saying
Our network name is "foo" and password is "bar".
My reading of the wpa_cli man page indicates I should use...
wpa_cli password foo bar
...to log on. Is that correct?
The wpa_cli command syntax is:
password <network id> <password>
configure password for an SSID
However, I'm not sure <network id> == SSID. When you add a network in interactive mode with:
add_network
the shell outputs a network id number; e.g. 3, which you are meant to use thereafter to set up variables for the AP; e.g.:
set_network 3 ssid "starvebux"
set_network 3 psk "Not Free"
enable_network 3
In addition, I understand the wpa_cli command 'password', as opposed to variable 'psk' which is used in the interactive shell, to be for a EAP-PEAP authentication scheme. For a pre-shared key you'll use interactively:
set_network 3 psk 0f0fbfdadff6271a5107a49cfb5db9e921138ee74a66b0.....
or if it is a passphrase you'll enclose it in double quotes "Not Free" as above.
This is the reason I use the wpa_supplicant GUI when not restricted to working in a console, because the qt5 wpa_supplicant GUI makes it easier to click and fill in a PSK, compared to the multiple commands required in a terminal. -----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmMQrPkACgkQseqq9sKV ZxmJcg/+LOT5JIlxB5dQsSdeG7wsqB8n4pDW3qq7SCakzmg3MQjcsHSVySVBMefv HUJEvVxB6rwavw7SyZSVqGaZOqXtkn9KorF+IHsXfIjWvkZTmKLGN7D5qQnvSsmo 4ngBbcaraIbPJU0gAk8f05pcdKAhX+UPnFhdk4anSY/nLd4x/FJX0VCTUldxc+n3 YbuW3g2T9VQhbyxUzpaesSo2WncV5rGNo6o9gQX7Oho2fq1VTpZmtUFaHBuoxi05 cVCPW1ZKi0qOYNWvGQtw/3RwIVj4OwNXxKsGeQ/CIRU+3EN1py2Ltd5mGTJ8vrAK cchXxUaAa1Ri8ZLWWK5q+/IW/LnE2mC5tLaYpG3AjQqdvGF1iai45/xy9rI4z1jl l6zG8rFgHOFmc2mmhFF87nricEcfb2zk0zWZJtrG7GHiwWWr7dPRnTRmQoPuv+It 0KPQPg4228o6wFYcKUrGErXuWrnGO8w5jx/5fkEuDaynpU72H9qPiS5/dYr3zPjs DGTiiPYxaeBxwvLZ1SpdNm09XE9v+r6uqUknhJABqcxEXa+cEC2AdHu/nPNpej6K qMVvHAZ0ITBB0ohyN1Ptq0y6Y+7pAu/VOY0FqyW0M91BGQdnKInjwyhw4Snuoh0f Bn7qDlvt4rp8HPfyXGdXgjA1tcqCfZWg4uHyq//IdMH+EttbwFA=
=XbzB
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)