Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: [ActiveDir] [Half OT] WMI on Server Core (RTM)
Prev Next
You are not authorized to post a reply.

AuthorMessages
guyt1799190425User is Offline

Posts:36

02/27/2008 11:46 AM  


There is a chance that I have found some WMI bugs on Server Core that
make working with WIN32_NetworkAdapter and
WIN32_NetworkAdapterConfiguration classes quite challenging.
Specifically the following properties are always empty:



- WIN32_NetworkAdapter :: NetConnectionID (the name of an
interface as it appears in control panel)

- WIN32_NetworkAdapter :: NetConnectionStatus (well, without it
you cannot check whether an interface is online or offline) - something
that you need when turning DHCP on a specific interface - if the
interface is offline, calling EnableDHCP method on
WIN32_NetworkAdapterConfiguration instance will result in the interface
getting a static IP (0.0.0.0) with subnet mask of 255.0.0.0



Currently I can only test it on WMWare - any chance anyone can verify
this on a real box ? You do not really need to run any scripts - just
execute:

C:\>Wmic nic get name,netconnectionid,netconnectionstatus

For IP enabled interfaces you should see something like:



Name
NetConnectionID NetConnectionStatus

Broadcom NetXtreme 57xx Gigabit Controller Local Area
Connection 7

Dell Wireless 1390 WLAN Mini-Card Wireless
Network Connection 2

VMware Virtual Ethernet Adapter for VMnet1 VMware
Network Adapter VMnet1 2

VMware Virtual Ethernet Adapter for VMnet8 VMware
Network Adapter VMnet8 2



If NetConnectionID and NetConnectionStatus are empty, you are also
subject to the issue.



TIA,

Guy




tlemmiksooUser is Offline

Posts:0

02/27/2008 2:07 PM  
Yes, my connection ID and Status are blank. Nic is Broadcom 440x
Todd Lemmiksoo
Network Administrator

All-Mode Communications, Inc.
1725 Dryden Road
Freeville, New York 13068
(607) 347-4164 x440
1-877-ALLMODE (toll free)
http://www.all-mode.com <http://www.all-mode.com/>


________________________________

From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Guy Teverovsky
Sent: Wednesday, February 27, 2008 11:31 AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] [Half OT] WMI on Server Core (RTM)





There is a chance that I have found some WMI bugs on Server Core that
make working with WIN32_NetworkAdapter and
WIN32_NetworkAdapterConfiguration classes quite challenging.
Specifically the following properties are always empty:



- WIN32_NetworkAdapter :: NetConnectionID (the name of an
interface as it appears in control panel)

- WIN32_NetworkAdapter :: NetConnectionStatus (well, without it
you cannot check whether an interface is online or offline) - something
that you need when turning DHCP on a specific interface - if the
interface is offline, calling EnableDHCP method on
WIN32_NetworkAdapterConfiguration instance will result in the interface
getting a static IP (0.0.0.0) with subnet mask of 255.0.0.0



Currently I can only test it on WMWare - any chance anyone can verify
this on a real box ? You do not really need to run any scripts - just
execute:

C:\>Wmic nic get name,netconnectionid,netconnectionstatus

For IP enabled interfaces you should see something like:



Name
NetConnectionID NetConnectionStatus

Broadcom NetXtreme 57xx Gigabit Controller Local Area
Connection 7

Dell Wireless 1390 WLAN Mini-Card Wireless
Network Connection 2

VMware Virtual Ethernet Adapter for VMnet1 VMware
Network Adapter VMnet1 2

VMware Virtual Ethernet Adapter for VMnet8 VMware
Network Adapter VMnet8 2



If NetConnectionID and NetConnectionStatus are empty, you are also
subject to the issue.



TIA,

Guy




guyt1799190425User is Offline

Posts:36

03/01/2008 2:06 PM  
Thanks. I'll run some more tests and will submit a bug.



Guy



From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Todd Lemmiksoo
Sent: Wednesday, February 27, 2008 9:03 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] [Half OT] WMI on Server Core (RTM)



Yes, my connection ID and Status are blank. Nic is Broadcom 440x

Todd Lemmiksoo
Network Administrator

All-Mode Communications, Inc.
1725 Dryden Road
Freeville, New York 13068
(607) 347-4164 x440
1-877-ALLMODE (toll free)
http://www.all-mode.com <http://www.all-mode.com/>



________________________________

From: ActiveDir-owner@mail.activedir.org
[mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Guy Teverovsky
Sent: Wednesday, February 27, 2008 11:31 AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] [Half OT] WMI on Server Core (RTM)



There is a chance that I have found some WMI bugs on Server Core that
make working with WIN32_NetworkAdapter and
WIN32_NetworkAdapterConfiguration classes quite challenging.
Specifically the following properties are always empty:



- WIN32_NetworkAdapter :: NetConnectionID (the name of an
interface as it appears in control panel)

- WIN32_NetworkAdapter :: NetConnectionStatus (well, without it
you cannot check whether an interface is online or offline) - something
that you need when turning DHCP on a specific interface - if the
interface is offline, calling EnableDHCP method on
WIN32_NetworkAdapterConfiguration instance will result in the interface
getting a static IP (0.0.0.0) with subnet mask of 255.0.0.0



Currently I can only test it on WMWare - any chance anyone can verify
this on a real box ? You do not really need to run any scripts - just
execute:

C:\>Wmic nic get name,netconnectionid,netconnectionstatus

For IP enabled interfaces you should see something like:



Name
NetConnectionID NetConnectionStatus

Broadcom NetXtreme 57xx Gigabit Controller Local Area
Connection 7

Dell Wireless 1390 WLAN Mini-Card Wireless
Network Connection 2

VMware Virtual Ethernet Adapter for VMnet1 VMware
Network Adapter VMnet1 2

VMware Virtual Ethernet Adapter for VMnet8 VMware
Network Adapter VMnet8 2



If NetConnectionID and NetConnectionStatus are empty, you are also
subject to the issue.



TIA,

Guy




You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > [ActiveDir] [Half OT] WMI on Server Core (RTM)



ActiveForums 3.7
Friends

Friends

VisualClickButoton
Members

Members

MembershipMembership:
Latest New UserLatest:MrPTSai
New TodayNew Today:0
New YesterdayNew Yesterday:0
User CountOverall:5234

People OnlinePeople Online:
VisitorsVisitors:44
MembersMembers:0
TotalTotal:44

Online NowOnline Now:

Ads

Copyright 2009 ActiveDir.org
Terms Of Use