PDA

Bekijk de volledige versie : iftop vs oleg



winni
10-09-2006, 11:20
how can I install iftop on asus wl500gp with olegs firmware ?

http://www.fungible.com/openwrt/index.html

Package: iftop
Version: 0.16_3
Architecture: mipsel
Maintainer: Tim Freeman <tim@fungible.com>
Section: net
Priority: optional
Depends: libpcap, libncurses, libpthread
Description: Curses-based program for showing which
hosts and ports use the most network bandwidth.
Source: http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.16.tar.gz
Filename: iftop_0.16_3_mipsel.ipk
MD5Sum: ed1f2dda43d074dca4ccb3b96073192e
Size: 27429

Package: iftop-bangless
Version: 0.16_3
Architecture: mipsel
Maintainer: Tim Freeman <tim@fungible.com>
Section: net
Priority: optional
Depends: libpcap, libncurses, libpthread
Description: Curses-based program for showing which
hosts and ports use the most network bandwidth.
This version has the "!" command disabled so you can't start
subshells. This is good if you want to use it as a login shell.
Remember to add it to /etc/shells if you do this.
Source: http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.16.tar.gz
Filename: iftop-bangless_0.16_3_mipsel.ipk
MD5Sum: 7cbeb0ef1cb423abb246aec86f1df291
Size: 27045

morfy
01-03-2008, 07:43
Monitor router connections: how?
Thanks advance!

engy
01-03-2008, 11:08
/proc/net/ip_conntrack

morfy
01-03-2008, 11:52
/proc/net/ip_conntrack

-sh: /proc/net/ip_conntrack: Permission denied

:(

al37919
01-03-2008, 11:58
cat /proc/net/ip_conntrack

rampage
06-03-2008, 15:13
or :
netstat

bugmenot
22-04-2008, 20:13
I was wondering how to monitor my connection as well.

Could use something like vmnet or cat the file you guys suggest. But what I am acctually more interested in: when is my interconnection up.

I have a lot of issues with my internet provider, internet keeps going down for hours, backup for a couple of hours, and back down.

I want to somehow track this ( plotting it would also be nice as a second) so I can show them in detail when my connection is or is not working.

Any suggestions? Maybe ping a certain host and plot the ping time?
Or is there a smarter way.

Please advise.

Thanks guys, and by the way: SUPER FORUM!

Cheers,
BmN

bugmenot
22-04-2008, 20:44
Ok, just checked out how oleg's cgi-script for transmission does it's graph: also gnuplot.

Should be able run a cron every 1-5 minutes that does a ping, checks my wan-ip (if any) and maybe check something else and cat that to a file.

Then I can run another cron-job every day that feeds this to the gnuplot program so I can create a new png every day of the resulted pings.

Going to play with this (meantime all comments/ideas are still welcome)

bugmenot
22-04-2008, 21:52
And ofcourse.. haha :) .. While testing this, my internet connection dropped.

The ping that is installed on the wl500gp (oleg's firmware) does not have the -w option.

I wanted to check the return value of ping -w 4 www.google.com

Deadline of 4 times before host must be reached, if not reached within 4 pings, the return value will be bigger then 0 indicating an error. If it can be reached the return value will be 0 meaning it was succesfull.



Anyone has an alternative to the -w option to do this?
Or maybe I can somehow install a ping that does have the -w option?

bugmenot
20-05-2008, 14:35
Kick ^^

Ping -W, anyone?

oleo
20-05-2008, 15:34
You can install iftop and nload use it as:


iftop -i ppp0 -P -m 2000000 -u k


nload -t 10000 -i 2500 -o 400 -u k ppp0

For graphing solution I suggest mrtg or rrdcollect