I am installing it on Mint using the SW manager, I am getting permission errors when trying to select usbmon.
Can anybody help?
Giovanni
Any hint about using WireShark under Linux?
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
-
- Posts: 359
- Joined: Sat Jan 07, 2012 6:22 pm
- Location: Brazil
- Has thanked: 1 time
- Been thanked: 20 times
- Contact:
Re: Any hint about using WireShark under Linux?
Hi, I use Arch Linux and there were some permission errors on files/dirs to get wireshark running for a non-priviledged user:
/sys/kernel/debug was not accessible, fix:
/usr/bin/dumpcap which used by wireshark was also not able to run as non-root, fix:
Also you have to be sure to load usbmon:
That's what got everything working for me. If none of those fix the problem, try running as root (sudo wireshark) to be sure it works.
/sys/kernel/debug was not accessible, fix:
Code: Select all
$ sudo chmod 755 /sys/kernel/debug
/usr/bin/dumpcap which used by wireshark was also not able to run as non-root, fix:
Code: Select all
$ sudo chmod 755 /usr/bin/dumcap
Also you have to be sure to load usbmon:
Code: Select all
$ sudo modprobe usbmon
That's what got everything working for me. If none of those fix the problem, try running as root (sudo wireshark) to be sure it works.
- DeusExMachina
- Posts: 223
- Joined: Tue Apr 03, 2012 5:08 am
- Location: South Korea
- Has thanked: 3 times
- Been thanked: 3 times
Re: Any hint about using WireShark under Linux?
also you may try running WireShark under root
ugly, but for the casual usage it is fine
Code: Select all
sudo wireshark
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Any hint about using WireShark under Linux?
Thanks both,
I had to assign the group wireshark to my user and change permissions on the USB pipes under usbmon but now it is working without having to work as root.
It is good at decoding protocols but apparently it is not able to give details about the setup phase. I need to find a cheap USB analyzer for that.
Giovanni
I had to assign the group wireshark to my user and change permissions on the USB pipes under usbmon but now it is working without having to work as root.
It is good at decoding protocols but apparently it is not able to give details about the setup phase. I need to find a cheap USB analyzer for that.
Giovanni
Return to “Development and Feedback”
Who is online
Users browsing this forum: No registered users and 10 guests