Why can't I see network adapters, or capture on them, after installing Wireshark on Ubuntu?
I use Wireshark on Ubuntu 22.04 .
First of all, it was not exactly clear which colour was meant to select the Yes or No answer on the configuration whether a non-superuser should be able to capture packets of network interfaces. I thought it was the red background when I selected a button.
When I selected that non-superusers should be allowed, I haven't seen the hardware network interfaces.
When I seleceted that they are not, the hardware network interfaces showed up, but when I tried to capture packets, the system said I cannot access that network interface.
The solution was to run Wireshark with sudo.
Is this a bug in Wireshark or I didn't do something correctly?
Comments
There are instructions to configure capture for non-elevated users: https://wiki.wireshark.org/CaptureSetup/CapturePrivileges#other-linux-based-systems-or-other-installation-methods.
For most Linux distros, I do three things: