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 <[email protected]
> wrote:

>
>
> On Mon, Oct 19, 2015 at 4:03 PM, Michal Labedzki <
> [email protected]> wrote:
>
>> Try to do:
>> $ export WIRESHARK_RUN_FROM_BUILD_DIRECTORY=1
>> $ ./run/wireshark
>>
>>
> Yes, 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 <[email protected]>
> Archives:    https://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:[email protected]
> ?subject=unsubscribe
>
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to