Kitz Forum
Broadband Related => Router Monitoring Software => Topic started 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
-
: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:
-
Thanks Colin. :)
-
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:
-
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:
-
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. :)
-
I'll believe you ;D
-
I'll believe you ;D
Purrfect. :friends:
-
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
-
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.
-
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.
-
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)?
-
Maybe you could get the program to ping your website and obtain the IP that way?
-
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.
-
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).
-
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...
-
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.
-
Eric yes that works for the HG622 just fine and displays the correct WAN IP.
Stuart
-
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.
-
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
-
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.
-
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
-
Thanks for that suggestion snadge. I'll have a look at it.
-
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
-
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.
-
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
-
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.
-
Eric that looks excellent to me....
Stuart
-
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. ;):)
-
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
-
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.
-
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
-
BTW and out of general curiosity, is there any sort of list of which routers are compatible with Roseways s/ware?
-
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
-
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
-
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
-
Thanks, but somehow I thought the 582n was not compatible! Any limitations, easy to set up?
-
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.
-
I will play when Erin Dors has little for me to do! ;D
-
I am having one silly little problem: I cannot see how to permanently save the configuration. :baby: :-[
-
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.
-
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.
-
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
-
Close the program correctly once instead of just shutting down your PC.
-
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?
-
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.
-
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 .
-
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.
-
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. :)
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.
-
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
-
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.
-
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
-
Good luck :)
-
Good luck :)
I miss using DSLstats so shant be long before i switch back.... :)