Netmap: Difference between revisions

From VoIPmonitor.org
Jump to navigation Jump to search
(Created page with "= debian 7 = apt-get install build-essential git linux-headers-amd64 apt-get build-dep libpcap cd /usr/src git clone https://code.google.com/p/netmap/ cd LINUX make insm...")
 
No edit summary
 
Line 5: Line 5:
  cd /usr/src
  cd /usr/src
  git clone https://code.google.com/p/netmap/
  git clone https://code.google.com/p/netmap/
  cd LINUX make insmod netmap_lin.ko mkdir /usr/local/include/net
  cd LINUX make insmod netmap_lin.ko
mkdir /usr/local/include/net
  cp ../sys/net/netmap* /usr/local/include/net/
  cp ../sys/net/netmap* /usr/local/include/net/
  cd /usr/src/ wget http://www.tcpdump.org/release/libpcap-1.5.3.tar.gz tar xzf libpcap-1.5.3.tar.gz cd libpcap* patch -p1 < ../netmap/extra/libpcap-netmap.diff  
  cd /usr/src/
  fix FAILED ./configure make make install cd .. wget http://www.tcpdump.org/release/tcpdump-4.5.1.tar.gz tar xzf tcpdump-4.5.1.tar.gz cd tcpdump* ./configure make  make install tcpdump -i netmap:eth2 -n
wget http://www.tcpdump.org/release/libpcap-1.5.3.tar.gz
tar xzf libpcap-1.5.3.tar.gz
cd libpcap* patch -p1 < ../netmap/extra/libpcap-netmap.diff  
  fix FAILED
./configure
make
make install
cd ..
wget http://www.tcpdump.org/release/tcpdump-4.5.1.tar.gz
tar xzf tcpdump-4.5.1.tar.gz
cd tcpdump*
./configure
make
  make install
tcpdump -i netmap:eth2 -n

Latest revision as of 09:05, 30 January 2014

debian 7

apt-get install build-essential git linux-headers-amd64
apt-get build-dep libpcap
cd /usr/src
git clone https://code.google.com/p/netmap/
cd LINUX make insmod netmap_lin.ko
mkdir /usr/local/include/net
cp ../sys/net/netmap* /usr/local/include/net/
cd /usr/src/
wget http://www.tcpdump.org/release/libpcap-1.5.3.tar.gz
tar xzf libpcap-1.5.3.tar.gz
cd libpcap* patch -p1 < ../netmap/extra/libpcap-netmap.diff 
fix FAILED
./configure
make
make install
cd ..
wget http://www.tcpdump.org/release/tcpdump-4.5.1.tar.gz
tar xzf tcpdump-4.5.1.tar.gz
cd tcpdump*
./configure
make
make install
tcpdump -i netmap:eth2 -n