lynx http://voxel.dl.sourceforge.net/sourceforge/net-snmp/net-snmp-5.1.2.tar.gz
lynx http://uc.org/~simon/snmp_patches.tar.gz
for i in `find ../patches -name "patch-*" -type f`
do
patch -p0 < $i
done
./configure --prefix=/opt/net-snmp
for i in `find . -name Makefile`
do
echo $i
cp $i $i.backup
cat $i | sed -e 's/^\(INSTALL_DATA\).*\(${INSTALL}\.*\)/\1 = \2/g' -e 's/^\(INSTALL_PROGRAM\).*\(${INSTALL}\.*\)/\1 = \2/g' -e 's/^\(INSTALL_SCRIPT\).*\(${INSTALL}\.*\)/\1 = \2/g' > $i.new
mv $i.new $i
done
cd /opt/net-snmp/share/snmp
scp simon@uc.org:/opt/net-snmp/share/snmp/snmpd.conf .
cd /opt/net-snmp/sbin
./snmpd
snmpwalk -v 2c -c public localhost udpInErrors
panic: kernel diagnostic assertion "tmp && tmp->space >= length" failed: file "/usr/src/sys/arch/i386/compile/GENERIC/../../../../uvm/uvm_map.c". line 1222
trace:
ps:
last edited January 9, 2005
( info )
( diff )