|
|
|
I have two computers connected and i want to measure the Total Download (I have Talk Talk) at the router,Any Suggestions?
|
|
|
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.
|
|
|
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.
|
|
|
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).
|
|
|
PRTG?
David
______________________
pipex xtreme since June 2002
Hampshire
|
|
|
No SNMP on some Netgears (Certainly up to DG834GT) so no PRTG on those. Corrected as advised later ones do!
Edited by PeteK (Tue 06-Nov-07 23:34:26)
|
|
|
|
The link as you edited works (if I disable cross-site scripting checks).
|
|
|
|
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).
|
|
|
Stand corrected. Edited to suit. Thanks!
|
|
|
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
|
|
|
Ta.
Noticed this in the post : The new firmware doesn't have SNMP, only the older ones.
I usually put 3.01 on for my customers as it seems the most stable. The V4 stuff on the 834g's is a bit "pants" IMO and perhaps it was removed prior to V3. I will check tomorrow, got a batch to do then..
Any ideas if this suffers from the loss of config on reboot issues on the 834G's?
|
|
|
|
I don't know but I'd guess it would be like my DG834G and you'd have to set up SNMP again after each router restart.
|
|
|
|
|
|
|
My DG834V2 supports SNMP
http://192.168.0.1/snmp.htm
David
David
______________________
pipex xtreme since June 2002
Hampshire
|
|
|
Cheers chap. Does it survive a reboot and if so what V firmware are you running, please?
|
|
|
the GT is a different animal to the G, the latter is TI based the former Broadcom. 834GT, N and the like don't do some of the things the 834 and 834G do but on the other hand may be tweakable etc.
|
|
|
Firmware V3.01.31
In reply to:
Does it survive a reboot?
Yes and no. Retains Firewall settings but needs SNMP re-enabling. 2 or 3 mouse clicks.
David
______________________
pipex xtreme since June 2002
Hampshire
|
|
|
Thanks, but no use then. I would only use this on a customer router if it reliably retained the settings. Oh well will have to continue with what we use, although I do like the NG834's I have to say... Not had that much bother with them (touch wood quick)
|