Kitz Forum

Broadband Related => Router Monitoring Software => Topic started by: Ixel on September 08, 2012, 01:05:23 PM

Title: HG612 Plotter Project
Post by: Ixel 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:
(https://forum.kitz.co.uk/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F88jEw.png&hash=368129a40800b5d7497ae32c023d18dd25e1cb3c)

- 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.
Title: Re: HG612 Plotter Project
Post by: roseway 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)?
Title: Re: HG612 Plotter Project
Post by: Ixel 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.
Title: Re: HG612 Plotter Project
Post by: Ronski on September 09, 2012, 10:52:26 PM
Just though I'd say this is looking good  :thumbs:
Title: Re: HG612 Plotter Project
Post by: Ixel 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.
Title: Re: HG612 Plotter Project
Post by: burakkucat 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.  ;)
Title: Re: HG612 Plotter Project
Post by: roseway 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.
Title: Re: HG612 Plotter Project
Post by: Bald_Eagle1 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:-

(https://forum.kitz.co.uk/proxy.php?request=http%3A%2F%2Fi.imgbox.com%2Fabw3Yg42.jpg&hash=d1659472b42de47a22303d2fd0778afcc14243ab)

& 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..............

Title: Re: HG612 Plotter Project
Post by: snadge 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..? :)
Title: Re: HG612 Plotter Project
Post by: snadge on December 09, 2012, 11:58:09 PM
any updates on this tool?
Title: Re: HG612 Plotter Project
Post by: Ixel 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 :(.
Title: Re: HG612 Plotter Project
Post by: snadge 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! :)
Title: Re: HG612 Plotter Project
Post by: nekri on January 29, 2013, 07:03:01 PM
hi did you maby finish your project and will be shortly available to download.. regards mario