On Mon, 01 Mar 2021 20:17:22 +0100 Per Jessen <per@computer.org> wrote:
Background first - I am writing an interface for configuring wifi over a small 160x80 display and a numeric keypad only.
I am only just getting my feet wet with wpa_supplicant - for working with wpa_cli, I seem to need /var/run/wpa_supplicant as specified in /etc/wpa_supplicant/wpa_supplicant.conf.
/var/run/wpa_supplicant seems to be missing ? (on at least three systems I've looked at).
Judging by the man page for wpa_supplicant.conf, what we (openSUSE) provide as a default is wrong?
We have
ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel
whereas the man page suggests:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
'ctrl_interface_group' is not even mentioned in the man page.
I think the full docs are in an example file rather than the man page. On a debian buster and a raspberry pi os buster, it's at: /usr/share/doc/wpasupplicant/examples/wpa_supplicant.conf I don't have wpa anything on my openSUSE box. As frequently https://wiki.archlinux.org/index.php/wpa_supplicant may be worth reading. It certainly seems like the debian and arch worlds agree with the DIR= GROUP= syntax rather than ctrl_interface_group Dunno what the truth is :(