I have done some H/W stuff by unplugging all devices and Reset the HH3 to factory defaults and then plugged each device in one by one, what I have noticed is the HG612 is not showing up as as a physical connection on the HH3 under Home network devices as it used to 6 months ago, But HG612 is visible and working fine using 192.168.1.1
As ColinS has mentioned, the HG612 also shows as a device physically attached to my Netgear WNR1000v3 router but it is not shown on my home network (the Netgear router itself is shown on my home network though).
If you are willing to test things out with me, I'll be happy to keep chipping away at this issue until we find a workaround.
I am not aware of any other users experiencing this particular issue, so for the moment, I'll assume it is not directly caused by the v 1.1 software, rather it could be something at your end.
It could simply be that the modem needs a full power off & on to clear things out, the modem COULD have an intermittent fault (not noticed in normal internet use), there is 'something else' running at your end that interferes with v 1.1's data harvesting or even possibly a PC issue.
Looking at your various logs, it seems that the "xdslcmd info --stats" command is accepted by the modem & that the get_data() function occasionally fails.
The get_data() function contains a loop where the data is obtained in chunks, until the '#' symbol is received.
The '#' symbol should only ever be received when all the data has been obtained.
If data is unobtainable at any of the runs through the loop, a 'failure' message is received & the software then moves on to the exit function.
The exit function contains the resync detection code that firstly causes the modem's clock to be reset, then moves on to obtaining the new stats after the resync has completed.
I have now amended that code to avoid spurious resync detection & generation of a Plink log & optional graphing when sync speeds were shown as zero (as would be the case when the get_data() function had failed).
I have also included a bit more debugging code in the get_data() function to hopefully identify exactly at which stage the failure to obtain data occcurred.
This is reported in the "ERROR.LOG_file_ERROR.TXT" file.
It should look something like this when data has been successfully obtained:-
19/09/2013 6:21:17.91 - In get_data(), *** recv() SUCCEEDED *** numbytes = 1023
19/09/2013 6:21:17.93 - In get_data(), this was included in data received:- xdslcmd info --stats
19/09/2013 6:21:18.11 - In get_data(), *** recv() SUCCEEDED *** numbytes = 850
19/09/2013 6:21:18.13 - In get_data(), this was included in data received:- xdslcmd info --stats
19/09/2013 6:21:18.16 - ONGOING-ISRUNNING-062116-058.TXT - After xdslcmd info --pbParams(), ERROR.LOG status = 1
19/09/2013 6:21:18.18 - In get_data(), *** recv() SUCCEEDED *** numbytes = 25
19/09/2013 6:21:18.19 - In get_data(), this was included in data received:- xdslcmd info --pbParams
19/09/2013 6:21:18.39 - In get_data(), *** recv() SUCCEEDED *** numbytes = 991
19/09/2013 6:21:18.41 - In get_data(), this was included in data received:- xdslcmd info --pbParams
ColinS & I have tested this, but have both been unable to cause the get_data() function to fail, leading us to think the issue has to be something at your end.
I use Windows 7 for logging & ColinS uses a server version of Windows.
I don't think it's a Vista specific issue, but I can't actually rule that out, yet.
A different message should appear in the "ERROR.LOG_file_ERROR.TXT" file on failure.
Also, if for some reason the 'wrong' data is obtained, whatever that data happened to be should be recorded in the "ERROR.LOG_file_ERROR.TXT" file.
I have attached another debugging version to this message that covers the aspects mentioned above.
I would be most grateful if you could try it out & provide feedback/copies of various logs etc.
I have to ask though, is it all possible that you have 'other' software and/or scripts/tasks running that might occasionally clash with v 1.1's data harvesting just at the wrong time?
Windows 7 has the option to display 'hidden' tasks. Maybe Vista also has that option?
Whenever the same xdslcmd info --stats is sent a few seconds later, it always appears to have allowed the get_data() function to obtain the data as expected, again leading me to think someting else at your end is causing the issue, but only within the first few seconds of the every minute task starting.
It does seem quite odd that the old & much slower script version works O.K. for you though.
It might just be that on your system(s) a pause here & there is needed to avoid the software attempting to obtain data before the modem is ready to provide it.
If necessary, I could build in some pauses (rather defeating the object of compiled code to speed up the harvesting process) or maybe cause the get_data() function to retry a few times before exiting on failure.