From 41d59d8df04ab2b8043ae56b0a4e28b61eea6881 Mon Sep 17 00:00:00 2001 From: GyulyVGC <100347457+GyulyVGC@users.noreply.github.com> Date: Wed, 17 Aug 2022 16:10:26 +0200 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index b4528c78..46aee367 100644 --- a/README.md +++ b/README.md @@ -213,6 +213,17 @@ In this section are reported the errors that may occur while the application is In order to make pcap work properly on Windows systems, it is needed to download [WinCap](https://www.winpcap.org/install/) and the [WinPcap Developer's Pack](https://www.winpcap.org/devel.htm) and to add the ```/Lib``` or ```/Lib/x64``` folder to the ```LIB``` environment variable. +## Linux configuration problems + +To correctly use pcap on Linux systems, install the libraries and header files for the libpcap library. For example: + +On Debian based Linux: ```install libpcap-dev```. + +On Fedora Linux: ```install libpcap-devel```. + +Note that if you are not running as root, you need to set capabilities like so: ```sudo setcap cap_net_raw,cap_net_admin=eip path/to/bin``. + + ### Other errors Other errors, not previously listed, may occur seldom.