Wireshark mailing list archives
Re: Extcap
From: Roland Knall <rknall () gmail com>
Date: Mon, 19 Oct 2015 16:47:25 +0200
Hi 2 suggestions for you. First, is you initiate extcap via console, do you run it as root? And is wireshark running as non-root? If yo, you might need capture privileges as suggested by the wireshark wiki page. Second, yes the directories are not very intuitive. Usually if you run it from a build, it will use run/extcap . If you run it from an install, it will use the /usr/local/lib or /usr/lib/... paths. Have you tried putting it in run/extcap? Also, please ensure that the script is executable. If everything fails, you could create a small script in each directory with basically the following content: #!/bin/sh pwd > /tmp/path.txt and read out the path, extcap will execute the script, but do nothing, as it will not find the correct output. regards, Roland On Mon, Oct 19, 2015 at 4:22 PM, Dario Lombardo <dario.lombardo.ml () gmail com
wrote:
On Mon, Oct 19, 2015 at 4:03 PM, Michal Labedzki < michal.labedzki () tieto com> wrote:Try to do: $ export WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1 $ ./run/wiresharkYes, it's what I usually do.Check also your config.h (build directory): grep EXTCAP config.h I have something like that: #define EXTCAP_DIR "/pkg/wireshark/lib/wireshark/extcap/" #define HAVE_EXTCAP 1$ grep EXTCAP config.h #define EXTCAP_DIR "/usr/local/lib/wireshark/extcap/" #define HAVE_EXTCAP 1 That's strange. When I run wireshark with the export, I see $HOME/wireshark/run/extcap as extcap plugin dir. Anyway, I copied the androiddump into /usr/local/lib/wireshark/extcap/, but nothing changes. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org ?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Extcap Dario Lombardo (Oct 19)
- Re: Extcap Michal Labedzki (Oct 19)
- Re: Extcap Dario Lombardo (Oct 19)
- Re: Extcap Michal Labedzki (Oct 19)
- Re: Extcap Dario Lombardo (Oct 19)
- Re: Extcap Michal Labedzki (Oct 19)
- Re: Extcap Dario Lombardo (Oct 19)
- Re: Extcap Roland Knall (Oct 19)
- Re: Extcap Dario Lombardo (Oct 19)
- Re: Extcap Dario Lombardo (Oct 19)
- Re: Extcap Michal Labedzki (Oct 19)