First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Unknown data link type -1

Using wireshark 3.2.3 on Ubuntu 20.04.

Reinstalled my PC from backup after a hard disk failure. Had to reinstall wireshark. Now I am getting "unknown data type -1" when I try to capture from my loopback. Running as regular user with on the wireshark group.

What does it mean?

nbal's avatar
1
nbal
asked 2022-11-23 17:27:44 +0000
edit flag offensive 0 remove flag close merge delete

Comments

Did you logout and login again?

Jaap's avatar Jaap (2022-11-23 19:37:31 +0000) edit

Yes. A few times. It means that I have no permission to capture data on my loopback. I use the group wireshark. Doesn't it work? I have no problems using WS with a sudo...

nbal's avatar nbal (2022-11-23 20:24:18 +0000) edit
add a comment see more comments

1 Answer

0

This is due to lack of permission to capture from my loopback. I am using the group wireshark. Have booted several times. I have no problem running WS with sudo. I suspect that the problem is that WS never really created the group "wireshark" during installation. I had to do that myself. How does WS know the gid of a group, that it didn't create? Could this be the reason it doesn't work? What can be done about it? And while on that subject, why don't you change that message from "unknown data type -1" to "Insufficient permissions to access interface"?

nbal's avatar
1
nbal
answered 2022-11-23 22:26:02 +0000, updated 2022-11-24 04:30:03 +0000
edit flag offensive 0 remove flag delete link

Comments

Then, did you usesudo dpkg-reconfigure wireshark-common?

Jaap's avatar Jaap (2022-11-24 05:42:05 +0000) edit

No I didn't. Too many security warnings, and that sudo:( But i tried it and it works. Thank you so much:)

nbal's avatar nbal (2022-11-24 06:21:18 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer