Notices


Reply
Thread Tools
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#1
I have found a super easy way to use NTOP on the N900.

What is NTOP?
Ntop is a network traffic probe that shows the network usage, ntop is based on libpcap and it has been written in a portable way in order to virtually run on every Unix platform and on Win32 as well. Ntop users can use a a web browser (e.g. opera) to navigate through ntop (that acts as a web server) traffic information and get a dump of the network status. In the latter case, ntop can be seen as a simple RMON-like agent with an embedded web interface.

To install on N900, first download and install Easy Debian. Then inside the Easy Debian chroot type "apt-get install ntop". Once it is installed you can run it using by typing "ntop -i wlan0" from within the chroot environment, or from the regular terminal by typing "debbie sudo ntop -i wlan0". You can replace 'wlan0' with 'gprs0' for the cellular data network instead of Wi-Fi. The first time you run it you will be asked to set up an administrative password.

Then when it's running point your browser over to "http://localhost:3000" (make sure you leave your terminal session open in the background). Opera works perfect for this.

You can then set up a desktop icon for easy access by creating a file called "ntop.desktop" using VI in "/usr/share/applications/hildon/" and entering the below code into the file.

Code:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=NTOP
Exec=debbie sudo ntop -i wlan0
Icon=
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
You can kill the ntop service using the web GUI or using top/htop.

Any thoughts are welcome.
Attached Images
 
 
Posts: 490 | Thanked: 191 times | Joined on May 2010
#2
O__O It's gonna drain your battery and also load cpu. What are your needs that you want to have ntop on your n900 ?
 
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#3
No real business use, more of a proof-of-concept. In case you ever wanted to swap your server for the N900.

Originally Posted by aligatro View Post
O__O It's gonna drain your battery and also load cpu. What are your needs that you want to have ntop on your n900 ?
 
Posts: 490 | Thanked: 191 times | Joined on May 2010
#4
Originally Posted by mail_e36 View Post
No real business use, more of a proof-of-concept. In case you ever wanted to swap your server for the N900.
xD Hmm. I think, I'll move my website to my own "hosting" (n900).
 
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#5
You never know when you might need a backup data center on your N900

Point your load balancers to the N900 and you're all set... for a DDOS

Originally Posted by aligatro View Post
xD Hmm. I think, I'll move my website to my own "hosting" (n900).
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 11:40.