Bonsoir Bruno, j'ai installer ndpmon il ya plusieurs mois sur ubuntu 11.04 et j'ai ecrit cette procedure j'espere que ca va t'aider:
=======Ndpmon Command Installing dependaces :~# apt-get install libxml2 :~# apt-get install libxml2-dev :~# apt-get install libpcap* :~# apt-get install libcrypto++-dev :~# apt-get install libcrypto++-utils :~# apt-get install libssl0.9.8 :~# apt-get install libwww-perl download and install NDPmon :~# wget http://sourceforge.net/projects/ndpmon/files/ndpmon/ndpmon-1.4/ndpmon-1.4.0.tgz :~# tar -xvzf ndpmon-1.4.0.tgz :~# cd ndpmon-1.4.0/ :~# autoconf :~# ./configure :~# make :~# make install Start or Stop Ndpmon :~# /etc/init.d/ndpmon start/stop ======Ndpmon web interface download the file here: http://ndpmon.sourceforge.net/extras.html Requirements A WEB Server with XSLT module # apt-get install libghc-hxt-xslt-dev libghc-hxt-xslt-prof libxml-xpath-perl libcgi-xmlapplication-perl libpod-xhtml-perl libxml-filter-xslt-perl libxml-libxslt-perl libxml-xslt-perl php5-xsl Python and Python-XML # apt-get install python-wxgtk2.8 python-wxtools python-xmlmarshaller python-xmlrunner python-xmltv GNUPlot and the python binding # apt-get install gnu plot # apt-get install build-essential libxml2-dev libglpk-dev libgmp3-dev libblas-dev liblapack-dev libarpack2-dev python-dev # wget http://switch.dl.sourceforge.net/sourceforge/igraph/igraph-0.5.4.tar.gz # wget http://pypi.python.org/packages/source/p/python-igraph/python-igraph-0.5.4.tar.gz # tar xzf python-igraph-0.5.4.tar.gz # tar xzf igraph-0.5.4.tar.gz # cd igraph-0.5.4 # ./configure # make # make install # export LD_LIBRARY_PATH=/usr/local/lib/ # cd ../python-igraph-0.5.4 # python setup.py build # python setup.py install Create symbolic lync for the web portail in /var/www/ndpmon: alerts.xml -> /var/local/ndpmon/alerts.xml config_ndpmon.xml -> /usr/local/etc/ndpmon/config_ndpmon.xml neighbor_list.xml -> /var/local/ndpmon/neighbor_list.xml Installing python-4suite-xml # apt-get install python-4suite-xml # apt-get install python-setuptools # easy_install numpy # apt-get install python-gnuplot python-scitools Create cronjob for those actions: NOTE: Use numpy module instead of Numeric and from numpy import newaxis insteds of NewAxis You have to open all the *.py files from the Ndpmon tools and replace Numeric by numpy ans NewAxis by new axis */5 * * * * python /var/www/ndpmon/stats/mac/vendorsStats.py /var/local/ndpmon/neighbor_list.xml /var/www/ndpmon/img/mac_vendors.png 1>/dev/null 2>/dev/null */5 * * * * python /var/www/ndpmon/stats/discovery/discoveryStats.py /var/local/ndpmon/discovery_history.dat /var/www/ndpmon/img/neighbor_discovery_history.png 1>/dev/null 2>/dev/null access http://@ip/ndpmon/ with '''Firefox (''recommended'') or any other browser capable to read XML files -- Mr Brice B. ABBA Tel:+225 08 607 228/+225 44 853 955 Trainer, AFRINIC Tel MU: +230 9 415 549 br...@afrinic.net - (www.afrinic.net) SIP:br...@voip.afrinic.net ---------------------------------------------------------------------------------------------------- Join us at AFRINIC-17 for our Public Policy Meeting in Khartoum, Sudan, on 24 – 29 November 2012 ---------------------------------------------------------------------------------------------------- _______________________________________________ G6 -- Association Francophone pour la promotion d'IPv6 (http://www.g6.asso.fr) Liste IPv6tech IPv6tech@g6.asso.fr Info : http://mail.g6.asso.fr/mailman/listinfo/ipv6tech