Kitz Forum

Broadband Related => Router Monitoring Software => Topic started by: roseway on May 17, 2013, 10:18:49 AM

Title: DSLstats v3.2 released
Post by: roseway on May 17, 2013, 10:18:49 AM
Changes since v3.1:

- corrected missing AS value with DG834Nv1
- corrected failure of bitswaps per min chart to respond to colour changes
- configuration is now saved to disk when the "Start recording" button is pressed
- added option to choose frequency of checks for updated version, and a "Check now" button
- corrected calculation of error percentages in Stats tab for some routers
- SNRM tweaking is now included in Advanced tweaking instead of being on a separate tab
- if the event log is set to autosnapshot, it's now updated before the snapshot is taken
- the event log is now enabled by default
- snapshots of the event log now retain only the latest version
  (each time DSLstats is launched, a new filename is allocated to the event log snapshots)
- fixed issue whereby CRC/FEC error graphs didn't continue to plot after a re-sync

http://dslstats.plainroad.me.uk
Title: Re: DSLstats v3.2 released
Post by: ColinS on May 17, 2013, 04:49:10 PM
 :clap2: Thank you Eric for release v3.2 in time for me swapping out the 612+new blob (after 1 week) for the 622 (for the next week).

At the risk of stating the obvious, it seems the 622 does update the bit loadings after sync (unlike the new blob), and of course this is correctly reflected in your graphs.

 :drink:
Title: Re: DSLstats v3.2 released
Post by: roseway on May 17, 2013, 04:52:53 PM
Thanks Colin. :)
Title: Re: DSLstats v3.2 released
Post by: burakkucat on May 17, 2013, 06:54:32 PM
The latest release has now been downloaded to The Cattery.  :thumbs:

Its configuration was checked and the utility is now executing. Going by the results of my tests on the previous releases, I am unlikely to find any ongoing problem.  :no:
Title: Re: DSLstats v3.2 released
Post by: roseway on May 17, 2013, 07:04:24 PM
Going by the results of my tests on the previous releases, I am unlikely to find any ongoing problem.  :no:

Why does that make you unhappy? :oldman:
Title: Re: DSLstats v3.2 released
Post by: burakkucat on May 17, 2013, 07:24:48 PM
Going by the results of my tests on the previous releases, I am unlikely to find any ongoing problem.  :no:

Why does that make you unhappy? :oldman:

b*cat is not unhappy. He was just commenting on the high standard of each of these latest releases of your utility.  :)
Title: Re: DSLstats v3.2 released
Post by: roseway on May 17, 2013, 10:38:49 PM
I'll believe you ;D
Title: Re: DSLstats v3.2 released
Post by: burakkucat on May 17, 2013, 11:07:45 PM
I'll believe you ;D

Purrfect.  :friends:
Title: Re: DSLstats v3.2 released
Post by: broadstairs on May 18, 2013, 10:32:26 AM
Eric so far so good here....

A thought came to me this morning while checking my web server stats I needed to know my IP address as I'm not on a fixed IP, might it be useful somewhere to record the current IP address on start up or re-sync? Perhaps in the event log which would allow a historical record to be available?

Stuart
Title: Re: DSLstats v3.2 released
Post by: roseway on May 18, 2013, 11:01:58 AM
That sounds a good idea, Stuart, if I can find out where to get the information from. On a first quick look around the CLI, I can't find it.
Title: Re: DSLstats v3.2 released
Post by: broadstairs on May 18, 2013, 01:56:12 PM
That sounds a good idea, Stuart, if I can find out where to get the information from. On a first quick look around the CLI, I can't find it.

So far I've not found it using telnet on my HG622 but will keep digging. It shows up in the web interface but I'm sure there must be a command or script to obtain it somewhere.

Stuart

Edit: I found a file in var/wan/ppp256 called ipaddr so a cat ipaddr prints out the current wan IP address. So that works for the HG622 dont know about others.
Title: Re: DSLstats v3.2 released
Post by: ColinS on May 18, 2013, 02:36:26 PM
Quote
I found a file in var/wan/ppp256 called ipaddr so a cat ipaddr prints out the current wan IP address. So that works for the HG622 dont know about others.

Presumably you are running your PPP connection from the HG622 then Stuart? It might be a little more tricky for anybody simply using it as a replacement modem, where the PPP connection will be in a different device (separate router)?
Title: Re: DSLstats v3.2 released
Post by: ryant704 on May 18, 2013, 03:08:09 PM
Maybe you could get the program to ping your website and obtain the IP that way?
Title: Re: DSLstats v3.2 released
Post by: roseway on May 18, 2013, 03:16:09 PM
Quote
Edit: I found a file in var/wan/ppp256 called ipaddr so a cat ipaddr prints out the current wan IP address. So that works for the HG622 dont know about others.

Stuart, thanks for finding that. I'm using an HG622 myself at the moment, so I can't test it on a different device. In the meantime, I can offer a small tip: if you use the "Special login" option in DSLstats you can set it up as in the image below (don't forget the item near the bottom right with the value set to 3). If you pause recording before setting this up, then resume recording afterwards, you'll see the result of the command "cat /var/wan/ppp256/ipaddr" in the event log.
Title: Re: DSLstats v3.2 released
Post by: roseway on May 18, 2013, 03:23:50 PM
Maybe you could get the program to ping your website and obtain the IP that way?

Sorry, I'm not sure what you mean. The objective is to find the user's external IP address (the address allocated to them by their ISP).
Title: Re: DSLstats v3.2 released
Post by: ryant704 on May 18, 2013, 03:28:37 PM
Maybe you could get the program to ping your website and obtain the IP that way?

Sorry, I'm not sure what you mean. The objective is to find the user's external IP address (the address allocated to them by their ISP).

When clicking start the program it will ping (http://www.s446074245.websitehome.co.uk/ your website) then get the IP from the site's data and display it in the program somehow? I'm not too sure if it's possible but was just an idea...
Title: Re: DSLstats v3.2 released
Post by: roseway on May 18, 2013, 03:33:04 PM
I see what you mean. I guess that's technically possible, but it would require some web programming, a subject I know nothing about. Thanks for the suggestion, and I might come back to it if an easier solution which will work with all routers fails to materialise.
Title: Re: DSLstats v3.2 released
Post by: broadstairs on May 18, 2013, 06:56:37 PM
Eric yes that works for the HG622 just fine and displays the correct WAN IP.

Stuart
Title: Re: DSLstats v3.2 released
Post by: roseway on May 19, 2013, 11:59:13 AM
Stuart, as things stand at the moment this little trick won't work after a re-sync unless you stop recording and re-start it. I propose to modify the code slightly so that it does work after a re-sync, as well as after starting recording.

Also, I think the capability to issue a custom command in this way is quite useful, and I intend to add it as an option to the normal login.
Title: Re: DSLstats v3.2 released
Post by: broadstairs on May 19, 2013, 12:12:00 PM
Stuart, as things stand at the moment this little trick won't work after a re-sync unless you stop recording and re-start it. I propose to modify the code slightly so that it does work after a re-sync, as well as after starting recording.

Also, I think the capability to issue a custom command in this way is quite useful, and I intend to add it as an option to the normal login.

Eric I think this is a great idea to enhance this, there would be quite a few uses I suspect for different things or routers. Would it be possible to set different times for custom commands to be run, Start, Stop, every N minutes etc?

Stuart

Stuart
Title: Re: DSLstats v3.2 released
Post by: roseway on May 19, 2013, 12:44:26 PM
Would it be possible to set different times for custom commands to be run, Start, Stop, every N minutes etc?

That's an interesting suggestion. I'll have a serious think about it.
Title: Re: DSLstats v3.2 released
Post by: snadge on May 20, 2013, 01:30:43 AM
just wanted too say many thanks Eric my friend for all your hard work on this app :)

I have not tried v3.2 yet as Iam busy re-installing windows and apps (almost done) making full backups along the way too  :graduate: but will hopefully try it tomorrow.

I dunno if its been suggested, but just for the IP address why not use a web service like whatsmyip.com which has an automation service that returns the users IP address on request
http://www.whatismyip.com/ip-faq/automation-rules/

theres mentions of PHP or PYTHON scripts here if any good?:
http://stackoverflow.com/questions/177414/get-my-wan-ip-address
Title: Re: DSLstats v3.2 released
Post by: roseway on May 20, 2013, 07:17:00 AM
Thanks for that suggestion snadge. I'll have a look at it.
Title: Re: DSLstats v3.2 released
Post by: broadstairs on May 20, 2013, 08:21:52 AM
I dunno if its been suggested, but just for the IP address why not use a web service like whatsmyip.com which has an automation service that returns the users IP address on request
http://www.whatismyip.com/ip-faq/automation-rules/

I realise that this is always one way of getting the IP, however since every router I have had since day one has had a browser interface which shows the IP I assumed (perhaps wrongly) that it could be done via the telnet interface which would have a significantly lower overhead than using the network.

Stuart
Title: Re: DSLstats v3.2 released
Post by: roseway on May 20, 2013, 09:50:03 AM
I think you're probably right, Stuart. All the modem/routers we're talking about run on Linux, and the conventional Unix way of getting details of network interfaces is the command ifconfig which is usually in the /sbin directory. If I run this command on an HG622 when it's connected to the internet, one of the interfaces is ppp256, and it does include the external IP address. What I don't know is whether the external interface is always called ppp256, or if not, what other names are used.

Obviously the output of cat /var/wan/ppp256/ipaddr is easier to parse than ifconfig, but again, I don't know how universal it is.
Title: Re: DSLstats v3.2 released
Post by: broadstairs on May 20, 2013, 09:57:35 AM
Eric since you objective is to monitor stats on routers perhaps the way to go at least in the short term is to provide the custom command interface with (hopefully) settings for when to run the command(s) and then in your documentation add sample commands to do the various things like IP address etc which people come up with. That way you can build up information about which commands work on which routers and what the output. Eventually this could be added as a function in the program once you know more about what works and what is useful to the majority.

Stuart
Title: Re: DSLstats v3.2 released
Post by: roseway on May 20, 2013, 10:06:16 AM
Yes, that's the way I'm thinking of. I might actually provide some sample commands in a drop-down selector, and add to them as more information comes in. I've made a start on a custom command page as below.
Title: Re: DSLstats v3.2 released
Post by: broadstairs on May 20, 2013, 10:27:11 AM
Eric that looks excellent to me....

Stuart
Title: Re: DSLstats v3.2 released
Post by: ColinS on May 20, 2013, 08:44:59 PM
If I run this command on an HG622 when it's connected to the internet, one of the interfaces is ppp256, and it does include the external IP address. What I don't know is whether the external interface is always called ppp256, or if not, what other names are used.
Eric,

I assume like Stuart you are using the 622 in router mode (i.e. IP_Routed(PPP) Wan connection).  There would be a snag for anyone (like me currently) who is still using the 622 as a 612 swap-out i.e. in modem mode (IP_Bridged WAN connection).  In which case, for me, the PPP endpoint and so the external IP address is not in the 622 but in the separate plusnet TG582n router (in my case).  :(

Sorry if I'm teaching my granny how to suck eggs, but I'm sure you get the point.   ;):)
Title: Re: DSLstats v3.2 released
Post by: broadstairs on May 20, 2013, 10:24:34 PM
I'm sure Eric will chime in, but that's exactly why the custom command interface will be useful because as you rightly point out not everyone uses these routers the same way.

Stuart
Title: Re: DSLstats v3.2 released
Post by: roseway on May 20, 2013, 11:01:39 PM
Having thought about this, I don't think I want to rely on external websites to get IP address information. At the moment, DSLstats is self-contained and doesn't rely on anything external (apart from my own website). If the information isn't available from the modem/router, then my second line of approach will be to see if I can use my website to return the information.

As Stuart said, the custom command interface will provide a means of getting any additional information from the modem/router, although I suppose that if the device is in bridged mode there won't be any way to get the external IP address from it.
Title: Re: DSLstats v3.2 released
Post by: snadge on May 21, 2013, 01:46:26 PM
I wouldn't care I was gunna suggest that you use your website but I didn't know if you'd want that incase it had lot of overheads from traffic. Etc... Hence the suggestion to use external websites..

Sent from my Sony Xperia Miro on Tapatalk

Title: Re: DSLstats v3.2 released
Post by: renluop on May 23, 2013, 09:12:27 AM
BTW  and out of general curiosity, is there any sort of list of which routers are compatible with Roseways s/ware?
Title: Re: DSLstats v3.2 released
Post by: broadstairs on May 23, 2013, 09:53:17 AM
BTW  and out of general curiosity, is there any sort of list of which routers are compatible with Roseways s/ware?

The software itself has a drop-down list of supported routers, but it would be a good idea if Eric put this on the website for reference as well.

Stuart
Title: Re: DSLstats v3.2 released
Post by: roseway on May 23, 2013, 09:57:46 AM
It is on the website, but I guess the link isn't very clear. It's linked from the home page, in the second paragraph. I'll add a more obvious link when I revise it next. http://www.s446074245.websitehome.co.uk/routers.html
Title: Re: DSLstats v3.2 released
Post by: broadstairs on May 23, 2013, 10:00:18 AM
It is on the website, but I guess the link isn't very clear. It's linked from the home page, in the second paragraph. I'll add a more obvious link when I revise it next. http://www.s446074245.websitehome.co.uk/routers.html

Yes I missed that  :-[ , might be a good idea to have it as a clickable link at the top....

Stuart
Title: Re: DSLstats v3.2 released
Post by: renluop on May 23, 2013, 10:18:17 AM
Thanks, but somehow I thought the 582n was not compatible! Any limitations, easy to set up?
Title: Re: DSLstats v3.2 released
Post by: roseway on May 23, 2013, 12:41:11 PM
Thanks, but somehow I thought the 582n was not compatible! Any limitations, easy to set up?

DSLstats does work with the TG582N (Kitz uses it :) ). If you haven't changed the router's IP address from its default setting, then all you should need to do is select the TG582N from the drop-down list and enter the password in the relevant box. The password is the same one as you use when logging into the router using a browser. Then press the green button and you should be rolling.

There are some limitations, which apply to all Thomson/Technicolor routers, but the main functions of the program work.
Title: Re: DSLstats v3.2 released
Post by: renluop on May 23, 2013, 05:14:45 PM
I will play when Erin Dors has little for me to do! ;D
Title: Re: DSLstats v3.2 released
Post by: renluop on May 25, 2013, 07:29:37 AM
I am having one silly little problem: I cannot see how to permanently save the configuration. :baby: :-[
Title: Re: DSLstats v3.2 released
Post by: roseway on May 25, 2013, 07:41:25 AM
It happens automatically. When you start recording, and when you close down the program, the configuration is saved to a file called dslstats.ini in the same directory as the other dslstats files.
Title: Re: DSLstats v3.2 released
Post by: roseway on May 25, 2013, 11:08:04 AM
Just a little update on things discussed in this thread:

- I've implemented a custom CLI command feature in which you can configure the program to send commands to the router at specified times. As this duplicates the rather clumsy "First login" capability on the "Special login" page, I've removed the latter.

- The program now reports your IP address (as seen by the outside world) in the event log. I collect this information from my website. When you start a recording session, and any time the IP address changes, a log entry is made with a timestamp.
Title: Re: DSLstats v3.2 released
Post by: renluop on May 25, 2013, 08:03:28 PM
I'm losing settings once I close, and have to enter router details etc on next opening.

What the >:D am I doing wrong ? router is 582N
Title: Re: DSLstats v3.2 released
Post by: ryant704 on May 25, 2013, 08:13:13 PM
Close the program correctly once instead of just shutting down your PC.
Title: Re: DSLstats v3.2 released
Post by: roseway on May 25, 2013, 10:42:35 PM
Version 3.2 should save its settings when you press the "Start recording" button. Is there a file called dslstats.ini in the same directory as dslstats.exe?
Title: Re: DSLstats v3.2 released
Post by: kitz on May 25, 2013, 10:47:27 PM
I'm losing settings once I close, and have to enter router details etc on next opening.

What the >:D am I doing wrong ? router is 582N


Also using the 582N & it retains my settings on closure.  (Ive just done so to double check)
I'll upload images of my settings to see if you can see anything obvious.

Ive created a separate folder(s) from which I run DSLstats hence the C:\Users\kitz\Desktop\BeConnection\DSLstats\Graphs
Also Im on Annex_M - hence that box being ticked.




 
Title: Re: DSLstats v3.2 released
Post by: renluop on May 25, 2013, 11:31:53 PM
Version 3.2 should save its settings when you press the "Start recording" button. Is there a file called dslstats.ini in the same directory as dslstats.exe?
There is!

I have reinstalled and closed prog and will see what happens when next I open it!

Can't make out if special log in has any use with 582N :-[

@kitz I'll look there same time, Thx .
Title: Re: DSLstats v3.2 released
Post by: roseway on May 26, 2013, 07:49:30 AM
Quote
Can't make out if special log in has any use with 582N

Not really. Special login is intended for modem/routers which have unusual login requirements. It does currently include the extra feature to send custom commands to the router at the start of a recording session, but that's being replaced by a more flexible custom CLI command feature in the next version, which I'll be releasing in the next couple of days.
Title: Re: DSLstats v3.2 released
Post by: ColinS on May 26, 2013, 08:54:17 AM
Hi Eric,

I came across this idea on Plusnet, and wondered if it might not be a useful tool for some (at least those on PPP connections).  However, I don't know if it's appropriate to DSLstats, so feel free to move this post to a separate thread.  :)

Quote
Well I hacked together a script last night and ran it for a couple of hours; basically it would connect up, work out what gateway it was on, then ping thinkbroadband's ping machine for a couple of minutes and display the average ping.

It's not clear whether the OP over there (Jimbof) uses a PPP connection from his PC/laptop rather than the router to do this, but in any event it might be useful to know what gateway, and a ping (perhaps to your own site)?

Just a thought.
Title: Re: DSLstats v3.2 released
Post by: broadstairs on May 26, 2013, 10:11:30 AM
Eric I tried the other day to force a re-sync using DSLStats but without selecting any option and found that although it says it is doing something actually the router (an HG622) did not re-sync, sure it pauses recording and waits but no re-sync happens. Maybe some mods to that option to perhaps say that the user has not selected anything to be changed and then not do anything, I am assuming (and will check later) that selecting 0db will actually force a re-sync.

Stuart

PS. Yes selecting 0db and apply does re-sync OK
Title: Re: DSLstats v3.2 released
Post by: roseway on May 26, 2013, 10:31:52 AM
Yes, you're right, Stuart. If you don't set any options it does go through the process without actually doing anything. I'll add a check to intercept this situation and advise the user.
Title: Re: DSLstats v3.2 released
Post by: snadge on May 29, 2013, 02:23:54 PM
Just popping in to say hello...  I can't use the dslstats app as iam currently testing a new v2 hub for sky and has no telnet access, I probably use it for a little while longer then be back to my 834n
:)

Sent from my Sony Xperia Miro on Tapatalk

Title: Re: DSLstats v3.2 released
Post by: roseway on May 29, 2013, 03:11:06 PM
Good luck :)
Title: Re: DSLstats v3.2 released
Post by: snadge on May 29, 2013, 07:19:51 PM
Good luck :)

I miss using DSLstats so shant be long before i switch back....  :)