Ask Your Question
0

tshark compile and install on OpenWRT environment

asked 2023-12-18 05:24:40 +0000

ssali gravatar image

Hi There,

How to download, compile and install the tshark on OpenWRT environment. Please help me with Makefile.

Thanks,

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2023-12-18 10:15:11 +0000

Guy Harris gravatar image

Please help me with Makefile.

There is no Makefile in the Wireshark source. Wireshark uses CMake as its build system; see the Wireshark Developer's Guide, especially the setup and build guide for use on UN*Xes.

If you will be building on a the target machine running OpenWRT, that may be sufficient.

If you will be cross-compiling for OpenWRT on another Linux or on some other UN*X, see the aforementioned setup and build guide, as well as the CMake documentation on cross-compiling.

If you will be cross-compiling for OpenWRT on Windows, you may also have to look at the various sections in the Developer's Guide about building on Windows, although not all of that information applies directly.

edit flag offensive delete link more

Comments

Thanks for the reply. Could you please provide me steps or Makefile to compile wireshark using cmake. Its needed for OpenWRT environment.

ssali gravatar imagessali ( 2023-12-18 15:30:47 +0000 )edit

The instructions for building Wireshark, in general, are in the Developer's Guide linked above.

There are no specific instructions for OpenWRT as that's a separate project and would be the best place to look for support.

grahamb gravatar imagegrahamb ( 2023-12-18 15:50:46 +0000 )edit
0

answered 2023-12-18 10:19:45 +0000

grahamb gravatar image

I don't think there is an OpenWRT package for Wireshark, but there is for tcpdump, see here for more info.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2023-12-18 05:24:40 +0000

Seen: 739 times

Last updated: Dec 18 '23