免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123
最近访问板块 发新帖
楼主: xhy701
打印 上一主题 下一主题

[网络管理] linux如何用命令查看网卡的型号? [复制链接]

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
21 [报告]
发表于 2012-06-05 19:57 |只看该作者
不是所有的系统都会有这个命令

论坛徽章:
0
22 [报告]
发表于 2012-06-06 11:47 |只看该作者
系统:CentOS6.2
[root@s1 etc]# dmidecode
# dmidecode 2.11
SMBIOS 2.5 present.
33 structures occupying 1421 bytes.
Table at 0x77DE2000.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor:  
        Version: 1.06H
        Release Date: 01/27/2010
        Address: 0xE6740
        Runtime Size: 104640 bytes
        ROM Size: 1024 kB
        Characteristics:
                PCI is supported
                PNP is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                ESCD support is available
                Boot from CD is supported
                BIOS ROM is socketed
                Boot from PC Card (PCMCIA) is supported
                ACPI is supported
                USB legacy is supported
                BIOS boot specification is supported
                Targeted content distribution is supported
        BIOS Revision: 1.0
        Firmware Revision: 1.0

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: HASEE
        Product Name: None
        Version: Rev. A1
        Serial Number: 12345678901234567
        UUID: 00030DF3-BEFB-0000-0000-000000000000
        Wake-up Type: Power Switch
        SKU Number: 1234567890
        Family: Standard

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: HASEE
        Product Name: None
        Version: SI94B-20+SI96A-33
        Serial Number: 1234567890
        Asset Tag: Tag 12345
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: Central
        Chassis Handle: 0xFFFF
        Type: Motherboard
        Contained Object Handles: 0

Handle 0x0003, DMI type 3, 27 bytes
Chassis Information
        Manufacturer: HASEE
        Type: Notebook
        Lock: Not Present
        Version: N/A
        Serial Number: 1234567890
        Asset Tag: No Asset Tag
        Boot-up State: Safe
        Power Supply State: Safe
        Thermal State: Safe
        Security Status: None
        OEM Information: 0x00041234
        Height: 2 U
        Number Of Power Cords: 4
        Contained Elements: 1
        SKU Number: <BAD INDEX>

Handle 0x0004, DMI type 4, 40 bytes
Processor Information
        Socket Designation: uPGA 479M
        Type: Central Processor
        Family: Core 2
        Manufacturer: Intel
        ID: 7A 06 01 00 FF FB EB BF
        Signature: Type 0, Family 6, Model 23, Stepping 10
        Flags:
                FPU (Floating-point unit on-chip)
                VME (Virtual mode extension)
                DE (Debugging extension)
                PSE (Page size extension)
                TSC (Time stamp counter)
                MSR (Model specific registers)
                PAE (Physical address extension)
                MCE (Machine check exception)
                CX8 (CMPXCHG8 instruction supported)
                APIC (On-chip APIC hardware supported)
                SEP (Fast system call)
                MTRR (Memory type range registers)
                PGE (Page global enable)
                MCA (Machine check architecture)
                CMOV (Conditional move instruction supported)
                PAT (Page attribute table)
                PSE-36 (36-bit page size extension)
                CLFSH (CLFLUSH instruction supported)
                DS (Debug store)
                ACPI (ACPI supported)
                MMX (MMX technology supported)
                FXSR (FXSAVE and FXSTOR instructions supported)
                SSE (Streaming SIMD extensions)
                SSE2 (Streaming SIMD extensions 2)
                SS (Self-snoop)
                HTT (Multi-threading)
                TM (Thermal monitor supported)
                PBE (Pending break enabled)
        Version: Intel(R) Core(TM) 2 processor   
        Voltage: 1.2 V
        External Clock: 200 MHz
        Max Speed: 2200 MHz
        Current Speed: 2200 MHz
        Status: Populated, Enabled
        Upgrade: Socket 478
        L1 Cache Handle: 0x0005
        L2 Cache Handle: 0x0007
        L3 Cache Handle: Not Provided
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Part Number: Not Specified
        Core Count: 2
        Core Enabled: 2
        Thread Count: 2
        Characteristics:
                64-bit capable

Handle 0x0005, DMI type 7, 19 bytes
Cache Information
        Socket Designation: L1 Cache
        Configuration: Enabled, Not Socketed, Level 1
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 32 kB
        Maximum Size: 32 kB
        Supported SRAM Types:
                Other
        Installed SRAM Type: Other
        Speed: Unknown
        Error Correction Type: Single-bit ECC
        System Type: Instruction
        Associativity: 8-way Set-associative

Handle 0x0006, DMI type 7, 19 bytes
Cache Information
        Socket Designation: L1 Cache
        Configuration: Enabled, Not Socketed, Level 1
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 32 kB
        Maximum Size: 32 kB
        Supported SRAM Types:
                Other
        Installed SRAM Type: Other
        Speed: Unknown
        Error Correction Type: Single-bit ECC
        System Type: Data
        Associativity: 8-way Set-associative

Handle 0x0007, DMI type 7, 19 bytes
Cache Information
        Socket Designation: L2 Cache
        Configuration: Enabled, Not Socketed, Level 2
        Operational Mode: Write Back
        Location: Internal
        Installed Size: 1024 kB
        Maximum Size: 1024 kB
        Supported SRAM Types:
                Other
        Installed SRAM Type: Other
        Speed: Unknown
        Error Correction Type: Single-bit ECC
        System Type: Unified
        Associativity: 8-way Set-associative

Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: None
        Internal Connector Type: None
        External Reference Designator: USB 1
        External Connector Type: Access Bus (USB)
        Port Type: USB

Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: None
        Internal Connector Type: None
        External Reference Designator: USB 2
        External Connector Type: Access Bus (USB)
        Port Type: USB

Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: None
        Internal Connector Type: None
        External Reference Designator: USB 3
        External Connector Type: Access Bus (USB)
        Port Type: USB

Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: None
        Internal Connector Type: None
        External Reference Designator: Audio 1
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port

Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: None
        Internal Connector Type: None
        External Reference Designator: Audio 2
        External Connector Type: Mini Jack (headphones)
        Port Type: Audio Port

Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: None
        Internal Connector Type: None
        External Reference Designator: CRT
        External Connector Type: DB-15 female
        Port Type: Video Port

Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: None
        Internal Connector Type: None
        External Reference Designator: MODEM
        External Connector Type: RJ-11
        Port Type: Modem Port

Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
        Internal Reference Designator: None
        Internal Connector Type: None
        External Reference Designator: LAN
        External Connector Type: RJ-45
        Port Type: Network Port

Handle 0x0010, DMI type 9, 13 bytes
System Slot Information
        Designation: PCI Slot 1
        Type: 32-bit PCI
        Current Usage: Available
        Length: Long
        ID: 1
        Characteristics:
                5.0 V is provided
                PME signal is supported

Handle 0x0011, DMI type 9, 13 bytes
System Slot Information
        Designation: PCI Slot 2
        Type: 32-bit PCI
        Current Usage: Available
        Length: Long
        ID: 2
        Characteristics:
                5.0 V is provided
                PME signal is supported

Handle 0x0012, DMI type 10, 16 bytes
On Board Device 1 Information
        Type: Sound
        Status: Disabled
        Description: SiS 7012 PCI Sound Chip
On Board Device 2 Information
        Type: Ethernet
        Status: Disabled
        Description: SiS 191 EtherNet Chip
On Board Device 3 Information
        Type: Unknown
        Status: Disabled
        Description: SiS 7013 Modem Chip
On Board Device 4 Information
        Type: Unknown
        Status: Disabled
        Description: SiS 7001 OHCI USB Chip
On Board Device 5 Information
        Type: Unknown
        Status: Disabled
        Description: SiS 7002 EHCI USB Chip
On Board Device 6 Information
        Type: Unknown
        Status: Disabled
        Description: SiS 180 SATA Control Chip

Handle 0x0013, DMI type 11, 5 bytes
OEM Strings
        String 1: This is a SMBIOS 2.5 BIOS
        String 2: Some of the structures are included
        String 3: for demonstration purposes only

Handle 0x0014, DMI type 12, 5 bytes
System Configuration Options
        Option 1: Jumper Settings can be described here.
        Option 2: Ex: JPXX Cache size select
        Option 3: Ex:      1-2  256K Cache
        Option 4: Ex:      2-3  512K Cache

Handle 0x0015, DMI type 15, 29 bytes
System Event Log
        Area Length: 16 bytes
        Header Start Offset: 0x0000
        Header Length: 16 bytes
        Data Start Offset: 0x0010
        Access Method: General-purpose non-volatile data functions
        Access Address: 0x0000
        Status: Valid, Not Full
        Change Token: 0x000000A2
        Header Format: Type 1
        Supported Log Type Descriptors: 3
        Descriptor 1: POST error
        Data Format 1: POST results bitmap
        Descriptor 2: Single-bit ECC memory error
        Data Format 2: Multiple-event
        Descriptor 3: Multi-bit ECC memory error
        Data Format 3: Multiple-event

Handle 0x0016, DMI type 16, 15 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 12 GB
        Error Information Handle: Not Provided
        Number Of Devices: 2

Handle 0x0017, DMI type 17, 27 bytes
Memory Device
        Array Handle: 0x0016
        Error Information Handle: No Error
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: DIMM
        Set: 1
        Locator: DIMM1
        Bank Locator: DIMM1
        Type: DDR2
        Type Detail: Synchronous
        Speed: 667 MHz
        Manufacturer: Mfg 0
        Serial Number: 1234-B0
        Asset Tag: Not Specified
        Part Number: SODIMM000

Handle 0x0018, DMI type 17, 27 bytes
Memory Device
        Array Handle: 0x0016
        Error Information Handle: No Error
        Total Width: Unknown
        Data Width: Unknown
        Size: No Module Installed
        Form Factor: DIMM
        Set: 1
        Locator: DIMM2
        Bank Locator: DIMM2
        Type: DDR2
        Type Detail: Unknown
        Speed: 667 MHz
        Manufacturer: Mfg 1
        Serial Number: 1234-B1
        Asset Tag: Not Specified
        Part Number: SODIMM001

Handle 0x0019, DMI type 19, 15 bytes
Memory Array Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x0007FFFFFFF
        Range Size: 2 GB
        Physical Array Handle: 0x0016
        Partition Width: 2

Handle 0x001A, DMI type 20, 19 bytes
Memory Device Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x0007FFFFFFF
        Range Size: 2 GB
        Physical Device Handle: 0x0017
        Memory Array Mapped Address Handle: 0x0019
        Partition Row Position: Unknown
        Interleave Position: Unknown
        Interleaved Data Depth: Unknown

Handle 0x001B, DMI type 20, 19 bytes
Memory Device Mapped Address
        Starting Address: 0x0007FFFFC00
        Ending Address: 0x0007FFFFFFF
        Range Size: 1 kB
        Physical Device Handle: 0x0018
        Memory Array Mapped Address Handle: 0x0019
        Partition Row Position: Unknown
        Interleave Position: Unknown
        Interleaved Data Depth: Unknown

Handle 0x001C, DMI type 22, 26 bytes
Portable Battery
        Location: MAIN
        Manufacturer: GALLOPWIRE
        Manufacture Date: 2010/03/15
        Serial Number: 00033
        Name:     
        Chemistry: Lithium Ion
        Design Capacity: 31680 mWh
        Design Voltage: 14400 mV
        SBDS Version: 1.10
        Maximum Error: 10%
        OEM-specific Information: 0x00000000

Handle 0x001D, DMI type 32, 20 bytes
System Boot Information
        Status: <OUT OF SPEC>

Handle 0x001E, DMI type 33, 31 bytes
64-bit Memory Error Information
        Type: OK
        Granularity: Unknown
        Operation: Unknown
        Vendor Syndrome: Unknown
        Memory Array Address: 0x0000000080000000
        Device Address: 0x0000000080000000
        Resolution: Unknown

Handle 0x001F, DMI type 126, 4 bytes
Inactive

Handle 0x0020, DMI type 127, 4 bytes
End Of Table

论坛徽章:
1
2015年迎新春徽章
日期:2015-03-04 09:58:11
23 [报告]
发表于 2014-06-24 10:09 |只看该作者
这个查出来之后怎么查看网卡型号呢?好像找不到回复 2# q1208c


   

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
24 [报告]
发表于 2014-06-24 10:12 |只看该作者
回复 23# MissYMOnce

dmidecode 查看不到网卡的信息. 因为它查到的是主板相关的信息.

如果查看网卡, 需要 lspci .
   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP