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:

Author Topic: HG612 Plotter Project  (Read 6387 times)

Ixel

  • Kitizen
  • ****
  • Posts: 1282
HG612 Plotter Project
« on: September 08, 2012, 01:05:23 PM »

Hi all,
As of yesterday morning I thought I'd work on a C#.NET variant of a program which I currently have named 'HG612 Plotter'. This program will show you need-to-know details from your unlocked HG612 router/modem, such as SNR, power, speed, errors, and error rates (in per min, per hour, and per day formats). See below for a complete set of planned features (though subject to change of course:

- Need-to-know statistics shown on the GUI:


- A set of graphs (saved manually using the [ S ] button at the top right of the GUI):
http://i.imgur.com/bAuwo.png
http://i.imgur.com/UtV4A.png
http://i.imgur.com/CKgTP.png
http://i.imgur.com/p70oM.png

- Auto-save graphs every midnight (23:59)
- Most statistics are harvested from the 192.168.1.1 webserver as opposed to SSH (which is known to be unreliable sometimes when logging in, though that happens rarely)
- Options to re-sync the modem under certain conditions (e.g. if DS CRC error rate is greater than 15.75 after 8 hours of uptime), change modem parameters, etc.
- Per minute, per hour and per day error rates will attempt to predict the 'end of time period' errors if less than their time period (e.g. less than a day)

I expect there's more that can be done, but so far that's the basics. Suggestions/ideas are welcome, for now this is a preview. I need to finish the interleaving details and program options.
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43467
  • Penguins CAN fly
    • DSLstats
Re: HG612 Plotter Project
« Reply #1 on: September 08, 2012, 03:05:35 PM »

I hope you don't mind my moving this to a more appropriate section of the forum.

This looks interesting. Just one detailed comment - I presume that what you refer to as Downstream Signal and Upstream Signal are actually SNR margin (SNRM)?
Logged
  Eric

Ixel

  • Kitizen
  • ****
  • Posts: 1282
Re: HG612 Plotter Project
« Reply #2 on: September 08, 2012, 03:09:37 PM »

I hope you don't mind my moving this to a more appropriate section of the forum.

This looks interesting. Just one detailed comment - I presume that what you refer to as Downstream Signal and Upstream Signal are actually SNR margin (SNRM)?

No problem. Yes, that is what they are meant to be.
Logged

Ronski

  • Moderator
  • Kitizen
  • *
  • Posts: 4300
Re: HG612 Plotter Project
« Reply #3 on: September 09, 2012, 10:52:26 PM »

Just though I'd say this is looking good  :thumbs:
Logged
Formerly restrained by ECI and ali,  now surfing along at 390/36  ;D

Ixel

  • Kitizen
  • ****
  • Posts: 1282
Re: HG612 Plotter Project
« Reply #4 on: September 09, 2012, 11:08:33 PM »

Just though I'd say this is looking good  :thumbs:

Thanks, it's work in progress but nevertheless is making progress. I'm experimenting with a mini-DLM analysis tool in the settings page which, with customisable thresholds, could be used to try and give you an indication of whether DLM is due to possibly punish your connection or possibly reward your connection, based on the MTBE (mean time between errors).

I might buy a Fritzbox 7390 tomorrow though, I'm wondering if the max stability/max performance sliders actually work on BT's Infinity service for that router.
Logged

burakkucat

  • Respected
  • Senior Kitizen
  • *
  • Posts: 38300
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: HG612 Plotter Project
« Reply #5 on: September 10, 2012, 01:17:18 AM »

Just a quick note from me to say that please be aware that the GUI of the Huawei HG612 tells lies and is a bit mixed-up.  :-X

Baldy_Bird, when permitted some playtime by Mrs Eagle, will be able to tell you all about the GUI issue.  ;)
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: 43467
  • Penguins CAN fly
    • DSLstats
Re: HG612 Plotter Project
« Reply #6 on: September 10, 2012, 07:28:22 AM »

I'm not baldy_bird of course, but I can certainly confirm that the HG612 GUI gets the error rates all wrong, and mixes up FECs, CRCs and HECs.
Logged
  Eric

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2721
Re: HG612 Plotter Project
« Reply #7 on: September 10, 2012, 05:18:26 PM »


Baldy_Bird, when permitted some playtime by Mrs Eagle, will be able to tell you all about the GUI issue.  ;)


Ah, yes. I forgot to mention that. :-[

Very briefly then, before Mrs. E gets home from work, here's a GUI screenshot:-



& here's the xdslcmd info --stats data:-

Code: [Select]
xdslcmd info --stats
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 0
Max: Upstream rate = 4265 Kbps, Downstream rate = 32232 Kbps
Path: 0, Upstream rate = 4388 Kbps, Downstream rate = 27394 Kbps


Link Power State: L0
Mode: VDSL2 Annex B
VDSL2 Profile: Profile 17a
TPS-TC: PTM Mode
Trellis: U:ON /D:ON
Line Status: No Defect
Training Status: Showtime
Down Up
SNR (dB): 6.2 5.9
Attn(dB): 0.0 0.0
Pwr(dBm): 12.6 6.3
VDSL2 framing
Path 0
B: 55 127
M: 1 1
T: 64 37
R: 14 12
S: 0.0650 0.9241
L: 8611 1212
D: 493 1
I: 70 70
N: 70 140
Counters
Path 0
OHF: 58665910 940511
OHFErr: 586 20
RS: 2673968567 1129630
RSCorr: 4061183 9067
RSUnCorr: 22403 0

Path 0
HEC: 5119 0
OCD: 0 0
LCD: 0 0
Total Cells: 1095327994 0
Data Cells: 12653725 0
Drop Cells: 0
Bit Errors: 0 0

ES: 215 21
SES: 0 0
UAS: 19 19
AS: 183850

Path 0
INP: 3.00 0.00
PER: 3.12 17.09
delay: 8.00 0.00
OR: 53.81 27.14

Bitswap: 48382 2108

Total time = 1 days 3 hours 4 min 31 sec
FEC: 4061183 9067
CRC: 586 20
ES: 215 21
SES: 0 0
UAS: 19 19
LOS: 0 0
LOF: 0 0
Latest 15 minutes time = 4 min 31 sec
FEC: 813 0
CRC: 0 0
ES: 0 0
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
Previous 15 minutes time = 15 min 0 sec
FEC: 35359 0
CRC: 4 0
ES: 1 0
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
Latest 1 day time = 3 hours 4 min 31 sec
FEC: 138708 1
CRC: 27 3
ES: 10 3
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
Previous 1 day time = 24 hours 0 sec
FEC: 2335054 39
CRC: 279 10
ES: 108 11
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
Since Link time = 2 days 3 hours 4 min 9 sec
FEC: 4061183 9067
CRC: 586 20
ES: 215 21
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0


HTH..............

« Last Edit: September 10, 2012, 05:23:33 PM by Bald_Eagle1 »
Logged

snadge

  • Kitizen
  • ****
  • Posts: 1450
Re: HG612 Plotter Project
« Reply #8 on: October 09, 2012, 10:36:10 PM »

hey this looks good!!

does it work with ADSL? I will give it a whirl..

aww not shared..any chance of a beta via PM..? :)
« Last Edit: October 09, 2012, 10:58:01 PM by snadge »
Logged
Aquiss - 900/110/16ms - TP-Link AR73

snadge

  • Kitizen
  • ****
  • Posts: 1450
Re: HG612 Plotter Project
« Reply #9 on: December 09, 2012, 11:58:09 PM »

any updates on this tool?
Logged
Aquiss - 900/110/16ms - TP-Link AR73

Ixel

  • Kitizen
  • ****
  • Posts: 1282
Re: HG612 Plotter Project
« Reply #10 on: December 26, 2012, 02:32:36 AM »

any updates on this tool?

I'll attempt to release what I have done in January, been busy lately :(.
Logged

snadge

  • Kitizen
  • ****
  • Posts: 1450
Re: HG612 Plotter Project
« Reply #11 on: December 26, 2012, 06:22:57 PM »

any updates on this tool?

I'll attempt to release what I have done in January, been busy lately :(.

cant wait! :)
Logged
Aquiss - 900/110/16ms - TP-Link AR73

nekri

  • Just arrived
  • *
  • Posts: 1
Re: HG612 Plotter Project
« Reply #12 on: January 29, 2013, 07:03:01 PM »

hi did you maby finish your project and will be shortly available to download.. regards mario
Logged
 

anything