Monitor router connections: how?
Thanks advance!
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/...op-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/...op-0.16.tar.gz
Filename: iftop-bangless_0.16_3_mipsel.ipk
MD5Sum: 7cbeb0ef1cb423abb246aec86f1df291
Size: 27045
Monitor router connections: how?
Thanks advance!
/proc/net/ip_conntrack
cat /proc/net/ip_conntrack
or :
netstat
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
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)
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?
Kick ^^
Ping -W, anyone?
You can install iftop and nload use it as:
Code:iftop -i ppp0 -P -m 2000000 -u kFor graphing solution I suggest mrtg or rrdcollectCode:nload -t 10000 -i 2500 -o 400 -u k ppp0