Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New installation fails to launch #140

Open
bigli0n opened this issue Aug 27, 2022 · 3 comments
Open

New installation fails to launch #140

bigli0n opened this issue Aug 27, 2022 · 3 comments

Comments

@bigli0n
Copy link

bigli0n commented Aug 27, 2022

Problem

Fails to launch with error

Current Behavior

Even after installing wireshark-common, tshark, and setting proper capabilities via setcap I still get the error:
Could not enumerate network interfaces: exit status 2 upon trying to launch. I have also taken the usual steps with adding user to wireshark group

Expected Behavior

Termshark launches it's big, beautiful gui in the terminal

Context

Please provide the complete output of these commands:
TShark (Wireshark) 2.6.10 (Git v2.6.10 packaged as 2.6.10-1~ubuntu18.04.0)

Copyright 1998-2019 Gerald Combs [email protected] and contributors.
License GPLv2+: GNU GPL version 2 or later http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with libpcap, with POSIX capabilities (Linux), with libnl 3,
with GLib 2.56.4, with zlib 1.2.11, with SMI 0.4.8, with c-ares 1.14.0, with Lua
5.2.4, with GnuTLS 3.5.18, with Gcrypt 1.8.1, with MIT Kerberos, with MaxMind DB
resolver, with nghttp2 1.30.0, with LZ4, with Snappy, with libxml2 2.9.4.

Running on Linux 5.15.0-46-generic, with Intel(R) Core(TM) i3-6006U CPU @
2.00GHz (with SSE4.2), with 7815 MB of physical memory, with locale C, with
libpcap version 1.8.1, with GnuTLS 3.5.18, with Gcrypt 1.8.1, with zlib 1.2.11,
binary plugins supported (0 loaded).

Built using gcc 7.4.0.

Please also provide any relevant information about your environment (OS, VM, pi,...)

Ubuntu 22.04

@gcla
Copy link
Owner

gcla commented Aug 27, 2022

Hi @bigli0n - I should update the bug template, but would you mind pasting some of your termshark.log file? On Linux, ~/.cache/termshark/termshark.log.

You could also try this:

strace -f -o bug -s 256 -tt termshark <rest of your args>

and then attach the file bug that results. Maybe we can figure it out from that.

@BR-blu02
Copy link

BR-blu02 commented Sep 23, 2024

Same issue here. The file termshark.log is empty.

See the attached file for the strace output.

bug.txt

@BR-blu02
Copy link

Hi @bigli0n and @gcla

I made the following observation: the error above occurs for me when termshark is installed via snap. If it is installed via apt (e. g. sudo apt install termshark) then it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants