From 52ac3f370b3811a259b082a768c58cca0c073fe9 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 22 Nov 2008 15:49:43 +0100 Subject: [PATCH] Add a word about the default (broken) NetSNMP installation. --- README | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README b/README index 65860058..03558b4a 100644 --- a/README +++ b/README @@ -20,6 +20,18 @@ real physical devices, not on bridges, vlans, etc. However, vlans can be mapped on the bonding device. You can bridge vlan but not add vlans on bridges. More complex setups may give false results. +To compile lldpd, use the following: + ./configure + make + sudo make install + +If it complains about a missing agent/struct.h, your installation of +Net-SNMP is incomplete. Adapt the following commands: + cp agent/mibgroup/struct.h /usr/local/include/net-snmp/agent + cp agent/mibgroup/util_funcs.h /usr/local/include/net-snmp + cp agent/mibgroup/mibincl.h /usr/local/include/net-snmp/library + cp agent/mibgroup/header_complex.h /usr/local/include/net-snmp/agent + lldpd uses privilege separation to increase its security. Two processes, one running as root and doing minimal stuff and the other running as an unprivileged user into a chroot doing most of the stuff, -- 2.39.5