I suspect that the Debian start up script (not really part of ntop - contact
your Debian packager) references that file, which means it too will get
read, regardless of what you put on the command line.

Think of it this way - the command set is the command line + any referenced
files + the web interface.

Parameters that are additive, such as -i will, well, add.

Removing eth1 from the file or changing it to what you want sounds good - in
a Debian world.

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Gilles Mocellin
Sent: Wednesday, July 18, 2007 12:17 PM
To: [email protected]
Subject: Re: [Ntop] ntop with 2 nic

Le Wednesday 18 July 2007 09:09:24 Domenico Dig, vous avez écrit :
> Excuse me for my late
> I've tried to change with command line, (ntop -i eth1) but it doesn't
work,
> in web interfaces I still see eth0, so I've found this solution:
>
> In my debian I' ve changed this file  /var/lib/ntop/init.cfg
> with this row
>
> USER="ntop"
> INTERFACES="eth1"
>
> What do you think?

I use Debian too, it IS the good place to specify the interface.

The Web interface listens on all interfaces/IP adresses :
[EMAIL PROTECTED]:~$ sudo netstat -nap | grep ntop
tcp6       0      0 :::3000                 :::*                    LISTEN

30261/ntop

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to