PDA

Bekijk de volledige versie : Has anyone got ntop running on the 500g?



Rapax
02-02-2007, 13:40
I'd like to run ntop on my WL-500g. I saw that it is listed in the ipkg package list, but if doesn't want to install.

Has anyone managed to get it up and running? Care to give me some Hints?

Edit: Forgot to mention, I'm running olegs firmware on my 500g.

charming
15-03-2007, 15:13
I try to install but i got some error


[admin@DreamBox /]$ ipkg install ntop
Installing ntop (3.2.3-3) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/ntop_3.2.3-3_mipsel.ipk
Installing gdbm (1.8.3-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/gdbm_1.8.3-2_mipsel.ipk
Installing libgd (2.0.34-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/libgd_2.0.34-1_mipsel.ipk
Installing fontconfig (2.3.2-4) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/fontconfig_2.3.2-4_mipsel.ipk
Installing expat (2.0.0-6) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/expat_2.0.0-6_mipsel.ipk
Installing gconv-modules (2.2.5-6) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/gconv-modules_2.2.5-6_mipsel.ipk
Installing libxml2 (2.6.27-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/libxml2_2.6.27-2_mipsel.ipk
Installing pcre (6.7-5) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/pcre_6.7-5_mipsel.ipk
Configuring expat
Configuring fontconfig
Configuring gconv-modules
Configuring gdbm
Configuring libgd
Configuring libxml2
Configuring ntop
Thu Mar 15 21:51:32 2007 NOTE: Interface merge enabled by default
FATAL ERROR: Unknown user root.
postinst script returned status 255
ERROR: ntop.postinst returned 255
Configuring pcre
Successfully terminated.
[admin@DreamBox /]$

And when I try to run (I realy don't know how to run)
I got this


[admin@DreamBox /]$ ntop
Thu Mar 15 22:10:48 2007 NOTE: Interface merge enabled by default
Thu Mar 15 22:10:49 2007 Initializing gdbm databases
Thu Mar 15 22:10:49 2007 ntop will be started as user nobody
Thu Mar 15 22:10:49 2007 ntop v.3.2.3
Thu Mar 15 22:10:49 2007 Configured on Feb 28 2007 8:11:01, built on Feb 28 2007 08:11:44.
Thu Mar 15 22:10:49 2007 Copyright 1998-2006 by Luca Deri <deri@ntop.org>
Thu Mar 15 22:10:49 2007 Get the freshest ntop from http://www.ntop.org/
Thu Mar 15 22:10:49 2007 NOTE: ntop is running from ''
Thu Mar 15 22:10:49 2007 NOTE: (but see warning on man page for the --instance parameter)
Thu Mar 15 22:10:49 2007 NOTE: ntop libraries are in '/opt/lib'
Thu Mar 15 22:10:49 2007 Initializing ntop
Thu Mar 15 22:10:49 2007 No patterns to load: protocol guessing disabled.
Thu Mar 15 22:10:52 2007 Checking br0 for additional devices
Thu Mar 15 22:10:52 2007 Resetting traffic statistics for device br0
Thu Mar 15 22:10:53 2007 DLT: Device 0 [br0] is 1, mtu 1514, header 14
Thu Mar 15 22:10:53 2007 Initializing device br0 (0)
Thu Mar 15 22:10:53 2007 Initializing gdbm databases
Thu Mar 15 22:10:53 2007 VENDOR: Loading MAC address table.
Thu Mar 15 22:10:53 2007 VENDOR: Checking for MAC address table file
Thu Mar 15 22:10:53 2007 VENDOR: File '/opt/etc/ntop/specialMAC.txt.gz' does not need to be reloaded
Thu Mar 15 22:10:53 2007 VENDOR: ntop continues ok
Thu Mar 15 22:10:53 2007 VENDOR: Checking for MAC address table file
Thu Mar 15 22:10:53 2007 VENDOR: File '/opt/etc/ntop/oui.txt.gz' does not need to be reloaded
Thu Mar 15 22:10:53 2007 VENDOR: ntop continues ok
Thu Mar 15 22:10:53 2007 Fingerprint: Loading signature file
Thu Mar 15 22:10:53 2007 Fingerprint: Checking for Fingerprint file... file
Thu Mar 15 22:10:53 2007 Fingerprint: Loading file '/opt/etc/ntop/etter.finger.os.gz'
Thu Mar 15 22:10:54 2007 Fingerprint: ...loaded 1765 records
Thu Mar 15 22:10:55 2007 ASN: Checking for Autonomous System Number table file
Thu Mar 15 22:10:55 2007 **WARNING** ASN: Unable to open file 'AS-list.txt'
Thu Mar 15 22:10:55 2007 I18N: This instance of ntop does not support multiple languages
Thu Mar 15 22:10:55 2007 IP2CC: Checking for IP address <-> Country Code mapping file
Thu Mar 15 22:10:55 2007 IP2CC: Loading file '/opt/etc/ntop/p2c.opt.table.gz'
Thu Mar 15 22:11:05 2007 IP2CC: ...found 52395 lines
Thu Mar 15 22:11:05 2007 GDVERCHK: Guessing at libgd version
Segmentation fault
[admin@DreamBox /]$


What is the error and how to use Ntop?
Thank you.:confused:

tokyoturnip
17-03-2007, 03:48
I don't know about ntop, but nload works pretty well.