OpenWrt Forum Archive

Topic: libpcap package

The content of this topic has been archived on 12 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello all,

When using "make menuconfig", I had libpcap as a package. Is it possible to add libpcap after building an OpenWrt image? I cannot find libpcap from the list of all available packages at http://downloads.openwrt.org/kamikaze/packages/i386/ :-(

Thanks,
Ron

When you compiled Kamikaze you should have ended up with a "bin" directory containing the images and also a "bin/packages" directory containing the packages you compiled.

1.  Put that packages directory on your own web server
2.  Edit /etc/ipkg.conf to point there (and comment out the ones from openwrt.org or xwrt)
3.  Run "ipkg update; ipkg install libpcap"

Or just copy the libpcap*.ipk file from your bin/packages directory to the /tmp directory on the router and run:
ipkg install /tmp/libpcap*.ipk

Ah, thanks! It worked!

Ron

The discussion might have continued from here.