NIC reports type incorrectly?



Is there a better way than AdapterType / AdapterTypeId to identify a
NICs type? I am trying to distinguish between wired and wireless (802.3
and 802.11) NICs on a system, but some seem to report themselves
incorrectly to WMI. Specificly, when I run a script generated with
Scriptomatic on an HP/Compaq nc6000 I get this:

AdapterType: Ethernet 802.3
AdapterTypeId: 0
AutoSense:
Availability: 3
Caption: [00000013] HP WLAN 802.11a/b/g W500
ConfigManagerErrorCode: 0
ConfigManagerUserConfig: False
CreationClassName: Win32_NetworkAdapter
Description: HP WLAN 802.11a/b/g W500
DeviceID: 13
ErrorCleared:
ErrorDescription:
Index: 13

Installed: True
LastErrorCode:
MACAddress: 00:11:0A:81:EA:28
Manufacturer: HP
MaxNumberControlled: 0
MaxSpeed:
Name: HP WLAN 802.11a/b/g W500
NetConnectionID: Wireless Network Connection
NetConnectionStatus: 7
NetworkAddresses:
PermanentAddress:
PNPDeviceID:
PCI\VEN_168C&DEV_0013&SUBSYS_00E50E11&REV_01\4&39A85202&0&20F0
PowerManagementCapabilities:
PowerManagementSupported: False
ProductName: HP WLAN 802.11a/b/g W500
ServiceName: WLAN_400_500_SERVICE
Speed:
Status:
StatusInfo:
SystemCreationClassName: Win32_ComputerSystem
SystemName: [removed]

TimeOfLastReset: 9/22/2005 1:13:35 PM

As you can see, this is pretty contradictory. I know there has to be a
way to tell for sure (without grepping the name for stuff like "WLAN"
etc..) because Windows needs to determine whether to use wired or
wireless logic on it. So what's the deal guys?

.



Relevant Pages

  • Re: 169 IP conflict on wireless!
    ... but software upgrades and future WLAN features are mentioned ... accessing it from a wireless device. ... Have you used the web browser interface to complete a router setup? ... on a wired connection you should be able to connect to it by typing ...
    (microsoft.public.windows.vista.networking_sharing)
  • Sonicwall TZW questions
    ... My basic setup is that LAN and WLAN (wireless LAN) users will be able to ... Only company PCs are on the LAN, but the WLAN is public and is accessible by ... Is this a bug in the TZW? ... When WGS is turned on (and I have at least one WGS ...
    (comp.security.firewalls)
  • Re: Completely OT, but need help!
    ... If I ask Vista to diagnose the problem it tells me that the WLAN is ... the latest WLAN drivers from Medion's web-site - but when I try to ... I regularly have wireless problems. ... It is probably a good idea to download the most up to date wireless driver ...
    (uk.legal)
  • Re: Doesnt anyone Know anything about roaming?
    ... I assume you use WZC on the Windows XP clients (and not a third party WLAN ... Then the selection of the SSID is done by WZC, ... make sure everything you buy conforms to the dominant wireless ... >> you can mix brands, operating systems, even network a Mac to a Windows PC ...
    (microsoft.public.internet.radius)
  • [Full-Disclosure] Re: (AUSCERT AA-2004.02) AUSCERT Advisory - Denial of Service Vulnerability
    ... problem, which affects almost every network as Ethernet, WLAN, but also ... > PDA and a commonly available wireless networking card may cause ... > that makes identification and localisation of the attacker difficult. ...
    (Full-Disclosure)