You are not logged in.

#1 2015-02-17 23:56:54

Fitap
Member
Registered: 2013-05-04
Posts: 29

Wireshark: capture interface usbmon1 as a non root user

Hi to all,

I follow the https://wiki.archlinux.org/index.php/Wireshark well done, all allrigth, I did it all the read of wiki but when I wont to capture on interface usbmon1 o usbmon2 get this error message:
The capture session could not be initiated on interface 'usbmon1' (Can't open USB bus file /sys/kernel/debug/usb/usbmon/1t: Permission denied).

I run wireshark like wiki show me, 'sudo -g wireshark wireshark', I can see all interfaces, include usbmon1 and usbmon2, can capture packets of all except those usbmon.


Any ideas?

Regards.

Offline

#2 2015-02-18 10:23:34

Thralas
Member
Registered: 2007-06-26
Posts: 32

Re: Wireshark: capture interface usbmon1 as a non root user

The usbmon devices are only readable by the owner, which is root by default.

Either you'll have to create some udev rules, temporarily chown/chmod /sys/kerne/debug/usb/usbmon/* or run Wireshark ask root instead.

Offline

Board footer

Powered by FluxBB