Tcpdump on openwrt

Arun picture Arun · Feb 20, 2012 · Viewed 29.5k times · Source

I'm looking for a tcpdump binary that runs on openwrt. The website only shows source code that must be built. Anybody point me to a location that contains a prebuild binary? Thanks.

Answer

molnarg picture molnarg · Jun 17, 2015

I suggest to set up a working repository, i.e.:

https://downloads.openwrt.org/chaos_calmer/15.05-rc2/x86/generic/packages/base/

You can put the url on your OpenWRT system under /etc/opkg.conf. Using opkg you do not have to deal with all the dependencies.

opkg update
opkg install tcpdump

If there is no internet connection on the Openwrt system, and there is no local repository deployed, the solution above works as well, but it is more painful and consumes more time.