Results 1 to 10 of 10

Thread: Identifying NICs and settings on Windows and UNIX

  1. #1
    Taz
    Taz is offline
    Senior Member Taz's Avatar
    Join Date
    Jan 2005
    Location
    London
    Posts
    2,152
    Thanks
    57
    Thanked
    29 times in 27 posts
    • Taz's system
      • Motherboard:
      • Gigabyte Z270 HD3P
      • CPU:
      • Intel Core i5 7600K
      • Memory:
      • Corsair CMK16GX4M2B3200C16R Vengeance LPX 16 GB
      • Storage:
      • Samsung 960 EVO M.2-2280 500GB (PCIe) + 1TB Sandisk Ultra II SSD (SATA)
      • Graphics card(s):
      • Asus NVIDIA GeForce GTX 1070 OC
      • PSU:
      • Corsair CS550M 550W Hybrid
      • Case:
      • NZXT Source 340
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • 34" Asus Designo Curve MX34VQ UWQHD Monitor
      • Internet:
      • Virgin Media M350

    Identifying NICs and settings on Windows and UNIX

    Are there commands available in Windows and UNIX that will dump the following bits of information:

    - NIC type
    - NIC speed
    - NIC duplex settings

    The above information is required for all available NICs on a machine.

    I think that this information may be available with the UNIX 'ifconfig' command but I don't know the Windows equivalent of it. Perhaps a WMI query would be able to get this information on Windows?

  2. #2
    Senior Member gss03's Avatar
    Join Date
    Jul 2003
    Location
    Scotland
    Posts
    725
    Thanks
    6
    Thanked
    28 times in 28 posts

    Re: Identifying NICs and settings on Windows and UNIX

    in windows: ipconfig /all

    Shows all NICs info....doesn't show duplex stuff tho'

  3. #3
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: Identifying NICs and settings on Windows and UNIX

    duplex settings.... not going to get those easily.

    Regretably the windows driver model dosen't abstract that out, so its a per driver setting.

    you *might* find if you've just got a network of intel chips say, you can query the driver via devcon.

    What do you need this info for? Audit? Surely jsut leave the box on auto duplex, and look at what the switch is saying?
    throw new ArgumentException (String, String, Exception)

  4. #4
    Taz
    Taz is offline
    Senior Member Taz's Avatar
    Join Date
    Jan 2005
    Location
    London
    Posts
    2,152
    Thanks
    57
    Thanked
    29 times in 27 posts
    • Taz's system
      • Motherboard:
      • Gigabyte Z270 HD3P
      • CPU:
      • Intel Core i5 7600K
      • Memory:
      • Corsair CMK16GX4M2B3200C16R Vengeance LPX 16 GB
      • Storage:
      • Samsung 960 EVO M.2-2280 500GB (PCIe) + 1TB Sandisk Ultra II SSD (SATA)
      • Graphics card(s):
      • Asus NVIDIA GeForce GTX 1070 OC
      • PSU:
      • Corsair CS550M 550W Hybrid
      • Case:
      • NZXT Source 340
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • 34" Asus Designo Curve MX34VQ UWQHD Monitor
      • Internet:
      • Virgin Media M350

    Re: Identifying NICs and settings on Windows and UNIX

    ^ The info is required as part of an inventory management solution for a client. I can get this info for various flavours of UNIX without too much trouble but Windows is porving to be tricky.

  5. #5
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: Identifying NICs and settings on Windows and UNIX

    Can you get it from the properties menu in system, hardware?

    As you have probably discovered, in linux systems

    ethtool eth0

    will tell you lots of info

    ethtool(8) - Linux man page

    There is also mii-tool

    Manpage of MII-TOOL
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  6. #6
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: Identifying NICs and settings on Windows and UNIX

    The problem with windows is that duplex settings are per driver so you are going to be in a bit of bother trying to extract the info.
    □ΞVΞ□

  7. #7
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,026 times in 677 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: Identifying NICs and settings on Windows and UNIX

    mii-tool is considered deprecated. apparently

    and both ethtool and mii-tool require root privs to get any decent info

  8. #8
    Jay
    Jay is offline
    Gentlemen.. we're history Jay's Avatar
    Join Date
    Aug 2006
    Location
    Jita
    Posts
    8,365
    Thanks
    304
    Thanked
    568 times in 409 posts

    Re: Identifying NICs and settings on Windows and UNIX

    just a thought, you can get this info from your Managed switches.
    □ΞVΞ□

  9. #9
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: Identifying NICs and settings on Windows and UNIX

    jarp, and you have only one place to look/configure.
    throw new ArgumentException (String, String, Exception)

  10. #10
    Registered User
    Join Date
    May 2008
    Posts
    4
    Thanks
    0
    Thanked
    0 times in 0 posts

    Hopefully this will help someone

    I had the same question and I did not have any luck finding the duplex answer using netstat. I did find a way to tell what duplex a NIC is connecting at when it's set to auto for some NIC's. We tested this on a few computers in our corporate network and it seems to rely on the NIC reporting its status to Windows. If you are lucky and have one that does this, then here's how you tell:

    It's easiest to reboot first and create a fresh set of information events right at the top of the list. Then click on Start, right-click on My Computer, and select Manage. Expand the Event Viewer tree under System Tools and highlight System. In the information messages here, there could be a status update from your NIC telling Windows what it's connecting at. For example, my computer has a Broadcom NetXtreme 57xx Gigabit Controller. In the Event Viewer, there are two information events logged at bootup from the source called 'b57w2k'. The top one, when double clicked, has a description of "Broadcom NetXtreme 57xx Gigabit Controller: Network controller configured for 100Mb full-duplex link." This event happens with this card everytime the computer is booted.

    Its as easy as that, provided of course your card reports this information. We do have some NIC's on our network that do not. However, as of yet, I have not seen another way to find it because Windows allows the NIC's driver to run itself and it is not configured by Windows itself.

    Hopefully this information will help someone and save you the amount of time I spent looking for an answer on the internet!

    Also, our managed switches do not tell us whether the NIC has auto detected correctly or not, it just tells us what the switch is trying to run at. It's easy enough to just manually set it through the driver, but this was more of a curiosity question that was posed one day by someone in my department and I wanted to figure out an answer. It might be a little different than what the original poster was looking for, but we were curious if there was a way to tell in Windows, what duplex a NIC set to auto detect was actually connecting on.
    Last edited by wasabe; 15-05-2008 at 08:45 PM. Reason: Left out some information

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •