Closed GoogleCodeExporter closed 9 years ago
Thanks for reporting this issue. Was the WiFi connected while the application
was started? If it was disconnected, it's very likely to be a duplicate of
issue 54 (solved but no new version released yet).
Original comment by u...@urx.ch
on 19 Apr 2013 at 4:23
The WiFi was connected properly (I was able to submit the issue through it :-).
But obviously the interface isn't detected by netprofiles mod now (reboot
doesn't help) - although it had worked previously. In the meantime, I have
downloaded the version, which you have provided within issue 53. In this
version, previously reported "Unhandled exception" doesn't occur (most likely
due to your solved issue 54). However, /a/ no network card is detected, and /b/
another unhandled exception occurs when pressing "Get current settings"
(System.NullReferenceException: Object reference not set to an instance of an
object).
Original comment by Mana...@etw.de
on 19 Apr 2013 at 4:37
It's now clear that this issue is caused by the inability to detect the WiFi
adapter, maybe Windows 8 related. You write it has worked previously, is there
a version that is able to detect your interface?
PS: With the version from issue 53 you will see the issue 54, it has been
solved in revision 95e63a8c2511.
Original comment by u...@urx.ch
on 21 Apr 2013 at 9:02
Indeed, issue 54 has been resolved: Thanks for this!
However, 2 (sub-)issues remain open:
/a/ no network card is detected: No version is currently able to detect my WiFi
adapter. It had worked before I have used (and configured) an Ethernet adapter.
Now, when the Ethernet adapter is inactive (and not displayed - see issue 53)
but the WiFi adapter is active, no adapter is detected.
/b/ in case no network card is detected, "Get current settings" can be pressed
and cause an unhandled exception. Either the button should be greyed out and/or
pressing ignored.
IMHO /b/ may have a low priority, but /a/ doesn't allow me to make use of
netprofiles :-(
PS: ipconfig /all shows Windows IP Configuration
Host Name . . . . . . . . . . . . : PC00XX
Primary Dns Suffix . . . . . . . : xxx.de
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : xxx.de
Wireless LAN adapter Local Area Connection* 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Virtueller Microsoft-Adapter für direktes
WiFi
Physical Address. . . . . . . . . : C8-F7-33-XX-XX-XX
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter WiFi:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Centrino(R) Advanced-N 6235
Physical Address. . . . . . . . . : C8-F7-33-XX-XX-XX
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.1.XX(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : 21 April 2013 10:38:54
Lease Expires . . . . . . . . . . : 01 May 2013 10:38:57
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:XXX(Preferred)
Link-local IPv6 Address . . . . . : fe80:XXX(Preferred)
Default Gateway . . . . . . . . . : ::
DHCPv6 IAID . . . . . . . . . . . : xx
DHCPv6 Client DUID. . . . . . . . : 00-xx
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter isatap.{123BB3DA-xx}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Original comment by Mana...@etw.de
on 21 Apr 2013 at 9:45
Could you try this:
Copy the example VB code from
http://msdn.microsoft.com/en-us/library/windows/desktop/aa394217(v=vs.85).aspx
to a file like NetworkAdapterConfiguration.vbs and then run it from the command
prompt with "cscript NetworkAdapterConfiguration.vbs" and check if it shows
information about your adapter. Maybe you also want to run "cscript
NetworkAdapterConfiguration.vbs > Adapters.txt" to save the output to a file.
If you look at PopulateNetworkCardArray()
https://code.google.com/p/netprofilesmod/source/browse/Net+Profiles+mod/Globals.
vb?r=9dd7765192612263ef73bc3463e94d4f17d3b4ae#260 you see that Net Profiles mod
uses almost the same code that is unchanged since the fork. Maybe you could
post the output for your WiFi adapter here. The most important thing is the
state of IPEnabled, it has to be True.
Original comment by u...@urx.ch
on 24 Apr 2013 at 11:18
Sub-issue /a/ -the critical one- seems to be resolved now:
I have tested various example VB codes shown on the page as well as simple
PowerShell commands, e.g. "PS C:\> Get-WmiObject
win32_networkadapterconfiguration -Filter 'ipenabled = "true"'". In all cases
no WiFi adapter has shown up, although it continued to be visible at MS's
network and sharing center. This behaviour didn't change even when I updated
the device driver to the very last one published by Intel but not yet released
by Dell.
The solution was to uninstall the device driver in the device manager, and scan
for hardware changes. Afterwards, netprofiles mod sees the WiFi adapter :-)))
Sub-issue /b/ remains, but will most likely rarely been hit by users ...
Thx a lot for your support, and sorry for raising the issue although it
probably will be a buggy Win8 / Intel driver interaction.
Original comment by Mana...@etw.de
on 29 Apr 2013 at 8:59
Thank you very much for the interesting results from your tests. Sub-issue /b/
is already solved in r31a4f1b8b641, the test version from issue 53 is built on
the code before this commit. I'll close this issue now and think about
preparing the release of version 0.2.0 :)
Original comment by u...@urx.ch
on 29 Apr 2013 at 10:30
Original issue reported on code.google.com by
Mana...@etw.de
on 19 Apr 2013 at 3:54