Speedtouch 780 WL: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
No edit summary
Line 13: Line 13:
  Add to crontab
  Add to crontab
  */5 * * * *  /usr/bin/mrtg /var/www/mrtg/router/speedtouch.cfg --logging /var/log/mrtg.log
  */5 * * * *  /usr/bin/mrtg /var/www/mrtg/router/speedtouch.cfg --logging /var/log/mrtg.log
== Adding a Static Route ==
{root}=>ip
{root}[ip]=>rtadd
dst = 172.17.2.0
[dstmsk] = 255.255.255.0
[label] =
[gateway] = 172.16.48.2
[intf] = LocalNetwork
[srcintf] =
[metric] =
:ip rtadd dst=172.17.2.0/24 gateway=172.16.48.2 intf=LocalNetwork
{root}[ip]=>saveall


==Also See ==
==Also See ==

Revision as of 00:07, 2 May 2011

SNMP for speedtouch 780 ADSL router

From gadg3pedia

On the router:

snmp community add securityname=ROCommunity communityname=public
service system modify name=SNMP_AGENT state=enabled
saveall

On your monitoring machine:

cfgmaker --global "WorkDir: /var/www/mrtg/router" --output /var/www/mrtg/router/speedtouch.cfg public@192.168.1.254
/usr/bin/mrtg /var/www/mrtg/router/speedtouch.cfg (run 3x)
indexmaker --output=/var/www/mrtg/router/index.html /var/www/mrtg/router/speedtouch.cfg
Add to crontab
*/5 * * * *  /usr/bin/mrtg /var/www/mrtg/router/speedtouch.cfg --logging /var/log/mrtg.log


Adding a Static Route

{root}=>ip
{root}[ip]=>rtadd
dst = 172.17.2.0
[dstmsk] = 255.255.255.0
[label] =
[gateway] = 172.16.48.2
[intf] = LocalNetwork
[srcintf] =
[metric] =
:ip rtadd dst=172.17.2.0/24 gateway=172.16.48.2 intf=LocalNetwork
{root}[ip]=>saveall

Also See