Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 [2] 3

Author Topic: rs-ux and rs-w v0.4 released  (Read 10078 times)

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39516
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #15 on: August 10, 2012, 06:33:50 PM »

Unfortunately it still doesn't work on a XP Pro machine.

I'll have to revisit the relevant section of code then. I'll let you know what progress I make.
Logged
  Eric

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39516
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #16 on: August 10, 2012, 06:38:51 PM »

If the Snapshot directory is not defined with a suffix "/", then the snapshot graphs are stored in the directory one level above, i.e. in the /home/bcat/tmp/Eric_rsux/ directory.

A small coding error on my part. I'll make sure that the trailing directory delimiter is included.

Logged
  Eric

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39516
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #17 on: August 10, 2012, 07:13:33 PM »

Unfortunately it still doesn't work on a XP Pro machine.

I'll have to revisit the relevant section of code then. I'll let you know what progress I make.


I've found the problem. The snapshot filenames included the time in hh:mm:ss format. The colon is acceptable in filenames on Linux systems, but not on Windows systems. I had corrected this in the Windows version, but unfortunately uploaded the earlier executable. :-[
I've now uploaded the corrected Windows version and changed the archive filename to rs-w32-0.4a.zip.

https://docs.google.com/folder/d/0BxbUtOYVZ_SCZ1BnY3RKYnN2b1U/edit

(In the next release I'll change the Linux filenames in the same way to avoid confusion.)
Logged
  Eric

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27724
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: rs-ux and rs-w v0.4 released
« Reply #18 on: August 10, 2012, 07:23:50 PM »

On the subject of date / time in file names, I have explained to Baldy_Bird how using the [CC]YYMMDDhhmm[ss] format is the only true sensible format . . .  ::)

I regret that I now have to report a failure. Although the snapshot graphs are saved correctly when initiated via "The Button", the automagical save feature only saves black rectangles.  ???

Please see the examples, attached below.
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39516
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #19 on: August 10, 2012, 07:47:49 PM »

Thanks for the report. They're very nice black rectangles, but I guess they're not what's wanted. :)
Logged
  Eric

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 27724
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: rs-ux and rs-w v0.4 released
« Reply #20 on: August 10, 2012, 09:49:09 PM »

They're very nice black rectangles, but I guess they're not what's wanted. :)

  :no:
Logged
:cat:  100% Linux and, previously, Unix. Co-founder of the ELRepo Project.

Please consider making a donation to support the running of this site.

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39516
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #21 on: August 10, 2012, 10:05:14 PM »

It seems that the snapshots only produce results when the graph being snapped is visible. This why the buttons work but the automated snapshots only work in specific circumstances. I'm testing a solution now.
Logged
  Eric

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 32216
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: rs-ux and rs-w v0.4 released
« Reply #22 on: August 10, 2012, 10:36:48 PM »

Download and had a look at it today, just to have a look at the interface - its looking very smart. ;D

Unfortunately it doesnt work with my router (TG582n) which doesnt use any of the 3 supplied cmd options in the dropdown.
Ive been having a poke around the CLI to see what commands are available and got the following info if its any use to you

Code: [Select]
xdsl (200:20008)
 - info (200:20008)     , [expand 200:20008], [g.997.1 200:20008], [counter_peri
od_filter 200:20008], [counters_reset 200:20008]
 - config (200:20008)   , [adslmultimode 0], [detect-lop 200:20008], [syslog 200
:20008], [status 200:20008]
 - maxspeed (200:20008) , [tx 200:20008], [rx 200:20008]
 - version (200:20008)
xdsl debug (204:20008)
 - bitloadinginfo (204:20008)
 - deltconfig (204:20008)       , [state 204:20008]
 - deltinfo (204:20008)
 - modemoptioninfo (204:20008)
 - multimode (204:20008)        , [config 204:20008]
 - traceconfig (204:20008)
xdsl qual (200:20008)
 - alb (200:20008)
 - bitloadinginfo (200:20008)
 - lov (200:20008)      , [signal_type 200:20008]
 - lcl (200:20008)
 - mib (200:20008)
 - qln (200:20008)
 - aisf (200:20008)
 - freeze-showtime (200:20008)  , [state 200:20008]

xdsl info is very basic but the following command gives full line stats inc errors
{Administrator}=>xdsl info expand=enabled

The following command gives bit loading
{Administrator}[xdsl debug]=>bitloadinginfo

If you want to take it any further I can give you some sample outputs.


« Last Edit: August 10, 2012, 10:41:16 PM by kitz »
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39516
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #23 on: August 10, 2012, 11:11:09 PM »

Quote
If you want to take it any further I can give you some sample outputs.

Thank you, I'd like to see them to find out if this type of router can be incorporated into the program. I seem to recall that Thomson/Speedtouch use their own custom CLI and don't expose the regular Broadcom CLI. But I wonder if there's a command which will take you to the BusyBox shell - it might be 'sh' or 'shell'?
Logged
  Eric

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: rs-ux and rs-w v0.4 released
« Reply #24 on: August 11, 2012, 08:18:26 AM »

Unfortunately it still doesn't work on a XP Pro machine.

I'll have to revisit the relevant section of code then. I'll let you know what progress I make.


I've found the problem. The snapshot filenames included the time in hh:mm:ss format. The colon is acceptable in filenames on Linux systems, but not on Windows systems. I had corrected this in the Windows version, but unfortunately uploaded the earlier executable. :-[
I've now uploaded the corrected Windows version and changed the archive filename to rs-w32-0.4a.zip.

https://docs.google.com/folder/d/0BxbUtOYVZ_SCZ1BnY3RKYnN2b1U/edit

(In the next release I'll change the Linux filenames in the same way to avoid confusion.)



Manual snapshots are now working, being saved in the same folder as rsw.exe

I have only just started using v 0.4a so am awaiting the automated snapshots.
I have ticked all 3.
How often should these be generated?


I notice that rsux.ini is only actually updated on quitting rsw.exe (Triviality, but should it be named rsw.ini for Windows systems?)

Also, I notice that although ticked in the GUI (screenshot attached), the bit-loading snapshot isn't included in rsux.ini


[login]
IPaddress=192.168.1.1
Telnetname=admin
Telnetpassword=admin
Usesecondstage=1
Shelltext=sh

[stats]
Commandindex=2

[graphs]
Samplerate=30000
Hoursperpage=2
Showbitloading=1

[colours]
Graphcolour=14221311
Upcolour=32768
Downcolour=255
Othercolour=16711680

[misc]
DSLType=3

[snapshots]
Snapshotdir=C:\HG612_Modem_Stats\Scripts\rs-w32-0.4\
SNRsnapshot=1
Speedsnapshot=1



Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39516
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #25 on: August 11, 2012, 09:00:53 AM »

Quote
Manual snapshots are now working, being saved in the same folder as rsw.exe

Good, thank you.

Quote
I have only just started using v 0.4a so am awaiting the automated snapshots.
I have ticked all 3.
How often should these be generated?

Automated snapshots don't work correctly in this version, so you might as well untick those options for the time being. Automated snapshots are generated with a frequency defined by the 'Time per page' setting, with a small overlap to ensure that nothing is missed.

Quote
I notice that rsux.ini is only actually updated on quitting rsw.exe (Triviality, but should it be named rsw.ini for Windows systems?)

Fair point. I'll change this in the next version.

Quote
Also, I notice that although ticked in the GUI (screenshot attached), the bit-loading snapshot isn't included in rsux.ini

Noted. Will be corrected. I'll also have the .ini file saved when the 'Save' button is pressed.
Logged
  Eric

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 32216
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: rs-ux and rs-w v0.4 released
« Reply #26 on: August 11, 2012, 12:10:10 PM »


Thank you, I'd like to see them to find out if this type of router can be incorporated into the program. I seem to recall that Thomson/Speedtouch use their own custom CLI and don't expose the regular Broadcom CLI. But I wonder if there's a command which will take you to the BusyBox shell - it might be 'sh' or 'shell'?

Unfortunately I think they do and afaik you cant get direct access to the shell.  This I believe is why when they released one of the versions of the ST585 (6.2 iirc ?) that you couldnt get access to certain information in DMTtool, nor the CLI despite many attempts to try and hack that particular version. :/

Theres no hurry on this eric, as I know that you are probably still tweaking things on the 'main' part of the prog.   I only mentioned it because a few of the ISPs do use the TG582n, which is why I thought I'd bring it up as a possible for the future.. Ive only just put the TG582n back on which is why I thought Id go have a look see what info/commands were available in their CLI.  At first glance it didnt look like full stats and bitloading were available, but using mlp interaction I was able to get a list of the above 'hidden' commands if you do want to make use of them at some time.
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39516
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #27 on: August 11, 2012, 12:51:57 PM »

Quote
Theres no hurry on this eric, as I know that you are probably still tweaking things on the 'main' part of the prog.   I only mentioned it because a few of the ISPs do use the TG582n, which is why I thought I'd bring it up as a possible for the future.

Thanks for that. It does seem a good idea to try to incorporate the TG582n, but as you say, it will have to wait a bit.
Logged
  Eric

tonyappuk

  • Reg Member
  • ***
  • Posts: 589
Re: rs-ux and rs-w v0.4 released
« Reply #28 on: August 11, 2012, 01:31:53 PM »

Just to add my three penn'orth for what it's worth, it doesn't want to log in on my old Speedtouch 546, no matter what i've tried. Routerstats Lite and DMT both log in OK.
Tony
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39516
  • Penguins CAN fly
    • DSLstats
Re: rs-ux and rs-w v0.4 released
« Reply #29 on: August 11, 2012, 03:25:34 PM »

Thanks Tony. I'll put it on the list for investigation, but I'm afraid it's becoming a long list. :)
Logged
  Eric
Pages: 1 [2] 3