[I'm not subbed here so please cc me on replies]

Hi all!

I recently upgraded from buster to bullseye. After upgrading, my wifi
signal quality stopped displaying correctly in my status bar. (
https://github.com/jaor/xmobar/issues/562) I did some digging and it is a
permissions issue with querying the signal quality. For example:

$ cat /proc/net/wireless
Inter-| sta-|   Quality        |   Discarded packets               | Missed
| WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon
| 22
$ sudo cat /proc/net/wireless
Inter-| sta-|   Quality        |   Discarded packets               | Missed
| WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon
| 22
wlan0: 0000   69.  -41.  -256        0      0      0      0      0        0

I see similar behavior when running iwconfig and iw. Both will report the
SSID and some other info when run without privileges, but they won't report
the "Link Quality" and "Signal level" (and a few other metrics) unless I
run them as root. However, `/sbin/iwlist scan` will display both the
quality and signal level even when run as an ordinary user.

I can get my status bar to work by giving it CAP_NET_ADMIN, but this is
undesirable. I never needed to give it escalated privileges to work in
stretch nor buster, so I'm wondering if I'm running into a new bug in
bullseye, maybe in my drivers.

Any idea how I might go about figuring out the offending package?

My wireless driver is broadcom-sta-dkms from bullseye/non-free.

Best,
Justin

Reply via email to