Technical Discussion
  >> Home Networking, Internet Connection Sharing, etc.


Register (or login) on our website and you will not see this ad.


These posts have been archived and can no longer be replied to or modified.
Pages in this thread: 1 | 2 | (show all)   Print Thread
Standard User Tooter
(member) Sun 28-Oct-07 13:06:53
Print Post

NETGEAR 834


[link to this post]
 
I have two computers connected and i want to measure the Total Download (I have Talk Talk) at the router,Any Suggestions?
Standard User deleted
(deleted) Sun 28-Oct-07 14:31:02
Print Post

Re: NETGEAR 834


[re: Tooter] [link to this post]
 
There is a method for getting more detailed stats from your Netgear DG834G.

First click http://192.168.0.1/setup.cgi?todo=debug to enable a telnet daemon on your router.

Then open a Window's command prompt by Start->Run cmd [enter]

Then

telnet 192.168.0.1

and

cat /proc/avalanche/avsar_modem_stats

or

adslctl info --stats

One of the first lines should be similar to

US Payload : 2915520 DS Payload: 32199744

which I think is the number of bytes transferred up and down stream.
Standard User Tooter
(member) Mon 29-Oct-07 02:25:51
Print Post

Re: NETGEAR 834


[re: deleted] [link to this post]
 
Thanks

I use this script to get the stats in a browser window

Whoops:::::I think the link got mangled,anyways if you wish to try this join this together and I have saved it as a bookmark because no body could remember this script

The original problem though still remains,because if you reboot the router all the counters are set to 0 , so perhaps a script that gets the info from the router periodically and then saves ity might be an inelegant solution to the problem , unless netgear do an upgrade.

192.168.0.1/setup.cgi?todo=ping_test&next_file=diagping.htm&c4_IPAddr=1;(/sbin/ifconfig+ppp0;/bin/echo+-e+Uptime+%60/bin/cat+/proc/uptime%60+\\nWan+up+%60/bin/cat+/tmp/wan_uptime%60;/bin/cat+/proc/avalanche/*modem*;/usr/sbin/adslctl+info+--stats;/bin/echo+"</textarea><script>var+a=document.getElementsByName(\"ping_result\");a[0].rows=40;a[0].cols=100;</script>")>%261

Edited by Tooter (Mon 29-Oct-07 12:01:09)


Register (or login) on our website and you will not see this ad.

Standard User deleted
(deleted) Mon 29-Oct-07 08:47:19
Print Post

Re: NETGEAR 834


[re: Tooter] [link to this post]
 
My way is easier to remember!

I got a browser cross-site scripting alert when I clicked on your link (neither did it produce any output when I allowed it to run on my Netgear model - DG834GSPv3).
Standard User Adagio
(member) Tue 30-Oct-07 18:47:56
Print Post

Re: NETGEAR 834


[re: Tooter] [link to this post]
 
PRTG?

David
______________________
pipex xtreme since June 2002
Hampshire
Standard User PeteK
(knowledge is power) Tue 06-Nov-07 22:46:49
Print Post

Re: NETGEAR 834


[re: Adagio] [link to this post]
 
No SNMP on some Netgears (Certainly up to DG834GT) so no PRTG on those. Corrected as advised later ones do!

-------------------------------------------------------------
For all your Broadband / DSL, MLPPP Bonded, Leased Lines
and Web Hosting needs why not pop over to CCS Leeds Ltd

-------------------------------------------------------------

Edited by PeteK (Tue 06-Nov-07 23:34:26)

Standard User deleted
(deleted) Tue 06-Nov-07 23:24:21
Print Post

Re: NETGEAR 834


[re: Tooter] [link to this post]
 
The link as you edited works (if I disable cross-site scripting checks).
Standard User deleted
(deleted) Tue 06-Nov-07 23:26:45
Print Post

Re: NETGEAR 834


[re: PeteK] [link to this post]
 
Depends on the model. My Netgear DG834GSPv3 supports SNMP. I'm using it at the moment with MRTG (a Linux tool for graphing usage stats).
Standard User PeteK
(knowledge is power) Tue 06-Nov-07 23:34:45
Print Post

Re: NETGEAR 834


[re: deleted] [link to this post]
 
Stand corrected. Edited to suit. Thanks!

-------------------------------------------------------------
For all your Broadband / DSL, MLPPP Bonded, Leased Lines
and Web Hosting needs why not pop over to CCS Leeds Ltd

-------------------------------------------------------------
Standard User deleted
(deleted) Wed 07-Nov-07 00:08:49
Print Post

Re: NETGEAR 834


[re: PeteK] [link to this post]
 
You have to use "hidden" pages to enable SNMP and then enable the inbound/outbound SNMP, SNMP-TRAPS services. The exact procedure seems to vary by model and firmware version.

This may be of interest.

http://mybroadband.co.za/vb/showthread.php?t=36083
Pages in this thread: 1 | 2 | (show all)   Print Thread

Jump to