linux...which distro - fedora 7 or ubuntu 7.04?

[OUPA]MrNutz

Expert Member
Joined
Jan 21, 2005
Messages
1,791
Reaction score
14
Location
Vereeniging
hi guys..

i seriously need to learn linux - more specifically ntop in it.

which distro is the best way towards a good ntop solution.

i've used my last cap left for the 2 dvd distro's so erm ja :)

pro's & conz?

thx
 
You can't lose with K/Ubuntu as it is really popular, but I cannot compare it to FC7 as I haven't used FC7 yet. Kubuntu is of course uses KDE and Ubuntu uses Gnome as the GUI. As far as I remember both can be downloaded as a single CD (DVD is an option tho) which can also be used as a live CD to test your hardware without having to install it.
 
go here. Scroll down to the page hit ranking to see the most popular distros
 
Ubuntu is easier, and it has a large community which provides very easy, fast, good support for any questions. Use Ubuntu, apt-get install ntop, apt-get show ntop . apt-get search ntop . Thats about it. I ran Slackware from 6.1 I believe upto 10 and then switched over to Ubuntu, which is my desktop. I use it for servers, workstations, entertainment centers.
 
Last edited:
ok now:

i want to:

use this pc with ubuntu with NTOP as a "gateway"

but i'm not sure which manner i must connect this pc to my adsl router

bridge mode ( i would prefer this ) or use the router's gateway

i have just obtained the how-to for pppoe in ubuntu..

just wanna know for ntop - which is better - bridge or via adsl's router.
 
ubuntu 7.04 gives me this error when i type this in terminal:

sudo apt-get install ntop

couldn't find package ntop


obviously i only did a default installation - so i presume it must be root/another runlevel to make this work?

can some1 url me a step-by-step guide or a site with details

many many thanx
 
[OUPA]MrNutz;1097387 said:
ubuntu 7.04 gives me this error when i type this in terminal:

sudo apt-get install ntop

couldn't find package ntop


obviously i only did a default installation - so i presume it must be root/another runlevel to make this work?

can some1 url me a step-by-step guide or a site with details

many many thanx

https://help.ubuntu.com/community/NetworkMonitoringBridge
 
$ sudo apt-get install ntop
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libpcap0.7
Suggested packages:
graphviz
The following NEW packages will be installed:
libpcap0.7 ntop
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 2840kB of archives.
After unpacking 11.6MB of additional disk space will be used.
Do you want to continue [Y/n]?

Check/edit your repositories list (gksu gedit /etc/apt/sources.list) to include universe and multiverse.
Then do: 'sudo apt-get update' and then install it
Cheers
 
Last edited:
I like using terminals, easier than to tell a person where to go clicking, the root password when prompted, is the password of the ordinary user you created during the installation.

edit the file /etc/apt/sources.list with the command:
sudo gedit /etc/apt/sources.list

If you see a line which starts with deb but has a # infront of it, remove the #.
My config looks like..

ftp://ftp.uunet.co.za/pub/incoming/lsuacner/sources.list

I added 2 lines at the bottom, a sources file is links to all the servers which contain installable software.

apt-get update ;
apt-cache search ntop ;
apt-get install ntop ;

I prefer to block everything with iptables, but allow people access via a squid proxy, then use sarg to see who went were, when, how much data was transferred.
 
hmmm apt-get install ntop says:

e: could not open lock file /var/lib/dpkg/lock - open (13 permission denied)
e: unabnle to lock the administration directory (/var/lib/dpkb/), are you root?

i know i'm not root

because i created user xxxxx with password ******* during the setup ..

is root disabled on ubunto 7.04?
 
Yes its disabled by default, u can enable it by typing:

sudo passwd root
 
ok nice!!!! ntop is running..

now:

i have adsl running in pppoe mode with ntop

i would now like to share this box over a network

-clients are gonna use static ips
-manually specify gateway to linux box..

but..

what is the easiest and transparent proxy/gateway i can get for linux - something like ics - where port forwarding isn't an issue.

2cents ? :)
thx a ton peeps for helping
 
i guess ntop should do a better logging job when i have clients connecting to it - rather than the linux box surfing the net and then looking for usage on itself.

thats the whole thing i want to do.

check usage per IP

thx
 
ntop breakdown per ip

hmmm

i can't seem to get a breakdown of usage of internal network per ip...

it does show you the gateway send/received this amount of data and it shows the external hosts on the net where it came from - but not the internal ip's usage...

which tab in ntop should give that info best - or is it maybe disabled/not installed

flow stats maybe?

for example - if i go and view nasa shuttle photos on pc 192.168.0.9 the network all traffic (all protocols) send/received shows:

spaceflight1.nasa.gov with 3.5mb usage - but no info as from where (which pc)

so it counts it towards the gateway's usage 192.168.0.1
thx
 
Last edited:
sudo su ;
only then execute commands which require root. do not edit the root password or create a root account which will work without sudo. just trust me on that.

use squid, if you want to log sites, timing, usage per user. block everything else but for 443 sites, which is encrypted secure connections which wont always go through a proxy.
 
Top
Sign up to the MyBroadband newsletter
X