lectrode / nwconnectionresetter

Precursor to quick-net-fix. Monitors network connection and attempts fix if disruption detected. Automatically exported from code.google.com/p/nwconnectionresetter
0 stars 0 forks source link

Internet Connection Test issue #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run in continuous mode with limited connectivity
2. Wait for it to attempt to fix the problem

What is the expected output? What do you see instead?
It needs to wait for connection to be enabled before it tests
It tests too rapidly bc network connection is still disabled

Please use labels and text to provide additional information.
This is a rare issue, but an annoying one. Closing the program
and manually enabling the Network Connection results in a fixed 
connection.

I need to find a way to test whether or not the Network Connection
has been enabled or not.

I can't use my SLEEP function because that uses PING which delays the
network connection from being connected after calling the command to 
enable it. 

Original issue reported on code.google.com by electrodexs@gmail.com on 21 Aug 2011 at 1:18

GoogleCodeExporter commented 9 years ago
I might be able to use 
NETSH INTERFACE SHOW INTERFACE %NETWORK% |FIND "Enabled"

OR

NETSH INTERFACE SHOW INTERFACE %NETWORK% |FIND "Connected"

To test if it's connected and/or enabled before testing

Original comment by electrodexs@gmail.com on 21 Aug 2011 at 1:42

GoogleCodeExporter commented 9 years ago
r27 is my attempt at fixing the issue. I won't know if it's fixed until there's 
been a lot of testing (problem is rare occurrence). 

For now, mark as fixed as this should fix it.

Original comment by electrodexs@gmail.com on 21 Aug 2011 at 2:41

GoogleCodeExporter commented 9 years ago
quite a while later and I can say for sure that the fix did indeed fix the 
problem

Original comment by electrodexs@gmail.com on 2 Oct 2011 at 4:58