On Thu 16 Jun 2022 at 15:56:29 +0100, Brian Potkin wrote: > On Wed 15 Jun 2022 at 14:52:05 +0200, Andrej Shadura wrote: > > > Hi, > > > > On Wed, 15 Jun 2022, at 13:55, Vincent Lefevre wrote: > > > Package: wpasupplicant > > > Version: 2:2.10-9+b1 > > > Severity: wishlist > > > > > > Users should not have to modify the default configuration to make > > > things work as expected. Currently, it is not possible to run wpa_cli > > > and wpa_gui as a normal user from the netdev group, contrary to other > > > wifi-related tools like iwconfig, nmcli, iw, and in the past, wicd. > > > > Thanks for the bug report! > > Thanks for the rapid response, Andrej. > > > Would something like this work for you? > > https://salsa.debian.org/debian/wpa/-/commit/14709d27604a4dc34cf07e9ef5ccb579cf9d7192 > > > > Unfortunately, I’m not sure there is a better way to provide a default > > without patching wpa_supplicant’s config parser. > > I put the four lines you provided into bullseye's service file. wpa_cli > > and wpa_gui can now be run by a non-root user in the netdev group when > /en/i has a simple (non-roaming) stanza. This is a win.
I forgot to mention that I had to use ExecStart=/sbin/wpa_supplicant.... for the service to function. Cheers, Brian.