Additional Miscellaneous Features

Safe Mode

Although setting the checkboxes Start sample time automatically and/or Start minimized is usually ok, if you change your router's password or the LAN IP address, it can become difficult to open RouterStats.

Right click on the RouterStats shortcut and select 'properties'. Temporarily add (space) -safe to the Shortcut Target.

RouterStats will now over-ride the checkboxes and open normally without attempting to start the sample timer or connect to the network.

The checkboxes may need resetting after you've re-established 'control' of RouterStats.


DGTeam Firmware

I've tested the DGTeam firmware with a DG834GT and it seems to work ok. I've added a delay to the additional login required by telnet. The default delay is 1000 mSec. If the router appears to fail during the login, this time can be increased in the routerstats.ini file:
[Telnet]
DGTeamTimeout=1000
As RouterStats only has to login once, there is little advantage in reducing this time.

Also, ensure that Telnet access to the router is enabled in the web-based configuration:
(Be careful not to disable the Web configuration interface!)


IP address with other routers

When used with the Netgear DG834 or DG834G, RouterStats should display the current Internet IP Address in the center panel of the Statusbar. The IP Address can also be overlayed on captured images of the graphs by checking the checkbox on the graphs configuration tab.

You may be able to get this feature working with other routers but it requires editing the routerstats.ini configuration file which you will find in the same folder as you installed RouterStats.

First, locate where your IP address is displayed in the router and view the page's source code. The relevant part of the DG834's page is shown here:

Make a note of the URL to the page and note the exact text - as I've shown highlighted in the example. Your text will be different!

Make sure RouterStats is not running then open routerstats.ini in Notepad and look for the [IPAddress] entries. The Netgear example is shown below:

[IPAddress]
String=<TD NOWRAP><B>Getting IP Addresses</B></td>
URL=setup.cgi?next_file=st_poe.htm
IPOffset=8
Change the String= entry to correspond with your highlighted text and edit the URL= to the URL to your page. Note that the URL does not include the router's LAN IP address (http://192.168.0.1 for example) - RouterStats will add that automatically.

Note the IPOffset=8 entry in the example above. This is to allow for non-printable characters, such as linefeeds and returns. The aim is to make RouterStats start looking for the IP address itself somehwere where I've drawn the arrow in the image above - which, in this case - is roughly 8 chararacters after the highlighted text if you include one return and one linefeed. It doesn't need to be exact; the address will be extracted automatically provided there are no other numeric characters or the full stop (.) between the arrow and the address itself.

Save the changes to routerstats.ini and start RouterStats. If you've been successful, the IP address will appear on the Statusbar when you press the Run button.


Debug

A 'debug' feature is available by holding down the Shift key while right-clicking on the Toolbar Configure button. Repeat to close the debug window.