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: HG612 Modem Stats r2.1 released  (Read 8695 times)

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2720
HG612 Modem Stats r2.1 released
« on: May 15, 2014, 09:14:02 PM »

 15/05/2014:


A version 2.1 revision to the HG612 Modem Stats package has now been released.

It is available here:-

http://www.freewarefiles.com/HG612-Modem-Stats_program_84567.html

Click the Blue Download Now! button & choose one of the Download Mirrors.


It is still currently aimed only at VDSL2/FTTC connections for Microsoft Windows users, using a Huawei HG612 modem or a ZyXel VMG8324-B10A combined modem/router.


The package has been fully tested on XP, Vista, Windows 7 & Windows 8/8.1 systems.



What΄s New in version 2.1:



• Added the option to record extra debugging information.
   Along with Extensive event logging, this option can be turned OFF, with very minimal data stored.

   Turning these options OFF speeds up the programs, so it *may* be necessary
   to apply a different PC speed setting in the event of failed data harvests
   for faster PCs.

•  Added option to choose the PC speed setting.
   FAST actually slows the programs down by adding slight pauses in order
   to ensure the modem can keep pace with the PC.
   SLOW adds no pauses. This speeds up the programs on slower PCs.
   MEDIUM is the middle ground between FAST & SLOW settings.

•  ONGOING_ISRUNNING files are now always deleted, but a record of
   when 2 instances of HG612_stats.exe were running is stored in a log file.

•  Moved various log files to a new folder named Event & Error Logs to keep them together

•  Fixed error in modem_stats.log & in Ongoing stats graphs.
   US_OHFErr(i.e. US CRC) data was incorrectly being stored as DS_OHFErr
   US_OHFErr.png was thus incorrectly plotting DS_OHFErr data
   This error was carried into line_stats__FULL_MONTY_P-xxxxxxxx-xxxx.png

•  Added support for ZyXel VMG8324-B10A combined modem/router.
   
   Not actually tested, but it is believed this option will also
   work with other ZyXel modem/router combinations.

•  Fixed an issue with some user defined folder names that included spaces not beng recognised

•  Added drop down list of modems in the GUI to select from.
   If a modem isn't chosen or if using an older version of the ini file, the programs will default to using the HG612

•  Added the option to choose/create a different folder for the ongoing modem_stats.log & xlogfile.txt

•  Added US OHFErr (FEC) errors graph to FULL__MONTY montage of Ongoing Stats.

•  Added more error checking in get_data() function, forcing a controlled exit if 'stuck' in a loop attempting to obtain data.

•  Cosmetic graph appearance changes

•  Added HG612's firmware version to pbParams stats window.

• Improved efficiency of snapshot graphing program (GRAPH6.exe)
               
   HG612_current_stats.exe now passes a parameter to GRAPH6.exe to confirm
   how the Plink log was generated i.e. via a scheduled or resync event,
   manually generated via HG612_current_stats.exe or by dragging & dropping
   a Plink log onto the GRAPH6.exe program icon.

•  Added support for VDSL2 Profile 8a (as used in the Isle of Man)


New users should simply extract the contents of the zip file to Drive C:, ensuring "Expand Folders" or similar setting is selected for a default setup.

Existing users of version 2.0 should extract all the files & subfolders to the relevant existing folders to ensure the slightly different operation of the package is picked up.

Once all the files are in place, existing users should delete the original HG612 Stats Program task & create a new one via the Settings GUI.

By default, Current (snapshot) data will be harvested & plotted every 8 hours, starting at 06:00 & Ongoing data will be harvested every minute, being plotted at 06:00 each day.

These settings can be easily adjusted or logging and/or automated graphing turned off via the Settings GUI.



As always, your feedback, comments & suggestions for further enhancements are welcomed.


« Last Edit: May 16, 2014, 01:04:07 AM by Bald_Eagle1 »
Logged

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 26676
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: HG612 Modem Stats r2.1 released
« Reply #1 on: May 16, 2014, 01:01:34 AM »

•  Fixed error in modem_stats.log & in Ongoing stats graphs.
   US_OHFErr(i.e. US CRC) data was incorrectly being stored as US_OHFErr
   US_OHFErr.png was thus incorrectly plotting DS_OHFErr data
   This error was carried into line_stats__FULL_MONTY_P-xxxxxxxx-xxxx.png

I'm not sure I understand your explanation of the above . . .  ???
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.

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2720
Re: HG612 Modem Stats r2.1 released
« Reply #2 on: May 16, 2014, 01:05:39 AM »

Thank you b*cat.

Now corrected.

It should have read:-

US_OHFErr(i.e. US CRC) data was incorrectly being stored as DS_OHFErr
Logged

burakkucat

  • Global Moderator
  • Senior Kitizen
  • *
  • Posts: 26676
  • Over the Rainbow Bridge
    • The ELRepo Project
Re: HG612 Modem Stats r2.1 released
« Reply #3 on: May 16, 2014, 01:11:15 AM »

Ah, it now makes sense. Thank you for the fix and the explanation.  :)
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.

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 32087
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HG612 Modem Stats r2.1 released
« Reply #4 on: May 18, 2014, 02:25:49 AM »

Cheers guys.   I think Im already running this if its the same one you sent last week.

Just cant really check anything or change anything atm though. 
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

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2720
Re: HG612 Modem Stats r2.1 released
« Reply #5 on: May 18, 2014, 10:05:17 AM »

I think I'd already fixed it by then.

If US_OHFErr(i.e. US CRC) & DS_OHFErr are identical, it's the old (incorrect) version.


Logged

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 5751
Re: HG612 Modem Stats r2.1 released
« Reply #6 on: May 18, 2014, 05:28:45 PM »

BE see this post here.

http://forum.kitz.co.uk/index.php?topic=13973.msg262824#msg262824

Snapshot graphs broken for me on 2.1

I get a plink file but no graphs.
Logged
Sky Fiber Pro - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

Bald_Eagle1

  • Helpful
  • Kitizen
  • *
  • Posts: 2720
Re: HG612 Modem Stats r2.1 released
« Reply #7 on: May 18, 2014, 05:41:25 PM »

I have responded to the message that you linked to.

Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 32087
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HG612 Modem Stats r2.1 released
« Reply #8 on: May 19, 2014, 01:54:29 PM »

I can confirm that everything seems to have been running flawlessly since my last report to BaldEagle.   Ive had a quick scan through the error logs and I cant see anything glaringly obvious.

For the record, I think its fair to say my PC would be classed as fast
CPU = i7-3770 @ 3.4GHz 3.90 GHz which according to Windows Experience is 7.8
Memory is also 7.8 with Disk transfer rate at 7.9
Im running Windows Pro 7.1

Over the past few weeks I'm happy to report that Ive run HG612 ModemStats under various settings Fast/Medium and with extensive logging on/off without any issues.  To also try and identify any issues the graph snapshots have been running at one hour intervals but this also seems ok.


Because Im aware that there have been a couple of major updates over the past week whilst Ive not been able to get to the PC properly and Ive also been getting any updates direct from BE.... I propose to completely start again from scratch just like anyone installing for the first time would, so that I can set my own prefs such as file location and logging times.


Huge thanks to BaldEagle for his time and effort into producing the scripts and Ronski for the updated Zyxel GUI.  :thumbs:


--------
ETA

Attached full monty stats for the past 7 days.

« Last Edit: May 19, 2014, 02:26:39 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

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 32087
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HG612 Modem Stats r2.1 released
« Reply #9 on: May 19, 2014, 02:24:46 PM »

Quote
I propose to completely start again from scratch just like anyone installing for the first time would, so that I can set my own prefs such as file location and logging times.

Houston, I have a problem.   No stats are being obtained.
On the first run it created a Current-isrunning log in the scripts folder which didnt clear.   This then seemed to cause an issue.   I cleared HG612_stats.exe from Task Manager, but the problem just continually re-occurs on each subsequent run


Code: [Select]
19/05/2014 14:10:00.18 - ONGOING-ISRUNNING-141000-167.TXT - Start of [HG612_stats.exe] - **** Version 2.1 ****
19/05/2014 14:10:00.30 - ONGOING-ISRUNNING-141000-167.TXT - Immediately after ini_parse() - About to determine the OS version. ERROR.LOG status = 0,
19/05/2014 14:10:00.31 - ONGOING-ISRUNNING-141000-167.TXT - *** Windows version = [6.1.7601] ***
19/05/2014 14:10:00.33 - ONGOING-ISRUNNING-141000-167.TXT - In [HG612_stats.exe] - After obtaining the OS version. ERROR.LOG status = 0,
19/05/2014 14:10:00.36 - ONGOING-ISRUNNING-141000-167.TXT - ERROR.LOG successfully opened. Status = 1,
19/05/2014 14:10:00.46 - ONGOING-ISRUNNING-141000-167.TXT - ONGOING-ISRUNNING-141000-167.TXT created. Status = 1,
19/05/2014 14:10:00.60 - ONGOING-ISRUNNING-141000-167.TXT - There are 1 instances of HG612_stats.exe running. Status = 1,
19/05/2014 14:10:00.61 - ONGOING-ISRUNNING-141000-167.TXT - Continuing as there are only 1 instances of HG612_stats.exe running **. Status = 1,
19/05/2014 14:10:00.62 - ONGOING-ISRUNNING-141000-167.TXT - WSAStartup() SUCCESSFUL!!! Status = 1,
19/05/2014 14:10:00.63 - ONGOING-ISRUNNING-141000-167.TXT - getaddrinfo() O.K. Status = 1,
19/05/2014 14:10:00.65 - ONGOING-ISRUNNING-141000-167.TXT - connect() O.K. Status = 1,
19/05/2014 14:10:00.66 - ONGOING-ISRUNNING-141000-167.TXT - *************************************************************************
19/05/2014 14:10:00.67 - ONGOING-ISRUNNING-141000-167.TXT - At start of expect("gin:"), times in loop = 01 *** numbytes = 0
19/05/2014 14:10:00.68 - ONGOING-ISRUNNING-141000-167.TXT - ****** PC_Speed is set as "MEDIUM" in the ini file, times in loop = 01 *** numbytes = 0
19/05/2014 14:10:00.70 - ONGOING-ISRUNNING-141000-167.TXT - At start of expect("gin:"), sleeping for 0.250 seconds *** numbytes = 0
19/05/2014 14:10:00.97 - ONGOING-ISRUNNING-141000-167.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 33
19/05/2014 14:10:00.99 - ONGOING-ISRUNNING-141000-167.TXT - End of expect("gin:")
19/05/2014 14:10:01.01 - ONGOING-ISRUNNING-141000-167.TXT - *************************************************************************
19/05/2014 14:10:01.02 - ONGOING-ISRUNNING-141000-167.TXT - expect("gin:") O.K. Status = 1.
19/05/2014 14:10:01.04 - ONGOING-ISRUNNING-141000-167.TXT - reply(config.Username) O.K. Status = 1.
19/05/2014 14:10:01.05 - ONGOING-ISRUNNING-141000-167.TXT - *************************************************************************
19/05/2014 14:10:01.06 - ONGOING-ISRUNNING-141000-167.TXT - At start of expect("ssword:"), times in loop = 01 *** numbytes = 0
19/05/2014 14:10:01.08 - ONGOING-ISRUNNING-141000-167.TXT - ****** PC_Speed is set as "MEDIUM" in the ini file, times in loop = 01 *** numbytes = 0
19/05/2014 14:10:01.09 - ONGOING-ISRUNNING-141000-167.TXT - At start of expect("ssword:"), sleeping for 0.250 seconds *** numbytes = 0
19/05/2014 14:10:01.36 - ONGOING-ISRUNNING-141000-167.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 17
19/05/2014 14:10:01.38 - ONGOING-ISRUNNING-141000-167.TXT - End of expect("ssword:")
19/05/2014 14:10:01.39 - ONGOING-ISRUNNING-141000-167.TXT - *************************************************************************
19/05/2014 14:10:01.41 - ONGOING-ISRUNNING-141000-167.TXT - expect("ssword:") O.K. Status = 1.
19/05/2014 14:10:01.42 - ONGOING-ISRUNNING-141000-167.TXT - reply(config.Password) O.K. Status = 1.
19/05/2014 14:10:01.43 - ONGOING-ISRUNNING-141000-167.TXT - *************************************************************************
19/05/2014 14:10:01.45 - ONGOING-ISRUNNING-141000-167.TXT - At start of expect("ATP>"), times in loop = 01 *** numbytes = 0
19/05/2014 14:10:01.46 - ONGOING-ISRUNNING-141000-167.TXT - ****** PC_Speed is set as "MEDIUM" in the ini file, times in loop = 01 *** numbytes = 0
19/05/2014 14:10:01.47 - ONGOING-ISRUNNING-141000-167.TXT - At start of expect("ATP>"), sleeping for 0.250 seconds *** numbytes = 0
19/05/2014 14:10:01.74 - ONGOING-ISRUNNING-141000-167.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 5
19/05/2014 14:10:01.76 - ONGOING-ISRUNNING-141000-167.TXT - Still in expect("ATP>") loop, times in loop = 02


Looks like I will have to roll back to HG612 Modem Stats with Spaces.
attached gui settings screenie
« Last Edit: May 19, 2014, 02:30:35 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

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 32087
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HG612 Modem Stats r2.1 released
« Reply #10 on: May 19, 2014, 06:10:57 PM »

Just to confirm Im now running 2.1 build 18/05/2014 20:31:50 with the same issue.

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

Chrysalis

  • Content Team
  • Addicted Kitizen
  • *
  • Posts: 5751
Re: HG612 Modem Stats r2.1 released
« Reply #11 on: May 19, 2014, 07:17:03 PM »

kitz your first post where everything hunky dory is 2.0 or 2.1?

sorry BE I will probably send lgos tommorow now, got busy and now am out of energy due to weather.
Logged
Sky Fiber Pro - Billion 8800NL bridge & PFSense BOX running PFSense 2.4 - ECI Cab - LINE STATISTICS CLICK HERE

Ronski

  • Moderator
  • Kitizen
  • *
  • Posts: 3219
Re: HG612 Modem Stats r2.1 released
« Reply #12 on: May 19, 2014, 07:32:07 PM »

Just to confirm Im now running 2.1 build 18/05/2014 20:31:50 with the same issue.

Try directly running HG612 Run.exe from Windows, also the current stats exe as well. Sometimes Windows UAC stops the programs from running and there's an option not to ask again.
Logged
Formerly restrained by ECI and ali,  now surfing along at 390/36  ;D

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 32087
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HG612 Modem Stats r2.1 released
« Reply #13 on: May 19, 2014, 08:25:51 PM »

Quote
ry directly running HG612 Run.exe from Windows, also the current stats exe as well.

No still doesnt work.  I do get a cmd window which sticks at the following - which i think is the same as in the error log I posted above.


Code: [Select]
In expect("ATP>") loop, loop_ctr = 1
Sleeping for 0.000 seconds

total_sleep_time = 0.000 seconds

In expect("ATP>"), loop_ctr = 1, numbytes = 2. rxbuf =:-



loop_ctr = 2

Still in expect("ATP>") loop, loop_ctr = 02

In expect("ATP>"), loop_ctr = 2, numbytes = 3. rxbuf =:-
  >

loop_ctr = 3

Still in expect("ATP>") loop, loop_ctr = 03

Ive also tried running from the root of c:/  just to make sure theres not any path errors.


The version I have the problem with is the package I downloaded from your site today which was dated 15/05,  updating to the beta 18/05 is still broken for me.

Quote
kitz your first post where everything hunky dory is 2.0 or 2.1?

V2 build date 09/05/2014


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

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 32087
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: HG612 Modem Stats r2.1 released
« Reply #14 on: May 19, 2014, 08:32:00 PM »

Just realised

Quote
In expect("ATP>"), loop_ctr = 1, numbytes = 2. rxbuf =:-

That aint ever going to happen in the Zyxel...   which will probably be why its getting stuck and not reporting any stats.

Confirmed the Zyxel has been selected in the GUI and the .ini file has the following info

Code: [Select]
[Modem]
Modem_Type=                              ZyXel VMG8324-B10A


IP_address =                              192.168.1.1
Username =                                admin
Password =                               xxxxx
Shell =                                   sh

« Last Edit: May 19, 2014, 08:50:00 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
Pages: [1] 2 3