How to find available network adapters on Ubuntu

Source: Internet
Author: User
Tags macbook
Do you want to know what Nic you are using in Linux? In Linux, it is easy to find the network card manufacturer. Open a terminal and enter the following command: sudolshw-Cnetwork if the command above cannot be used in sudo, do not use sudo's privileged mode. Its output looks strange but useful. *-Networkdescription: Wirelessinterfaceproduct: BCM

Want to knowWhat is the network adapter you are using in Linux?In Linux, it is easy to find the network card manufacturer. Open a terminal and enter the following command:

  1. Sudo lshw-C network

If the above command cannot be used in sudo, do not use sudo's privileged mode. Its output looks strange but useful.

  1. *-Network
  2. Description: Wirelessinterface
  3. Product: BCM4360 802.11 acWirelessNetworkAdapter
  4. Vendor: BroadcomCorporation
  5. Physical id: 0
  6. Bus info: pci @ 3::0:00. 0
  7. Logical name: wlan0
  8. Version: 03
  9. Serial: 9c: f3: 87: c1: 5d: 6a
  10. Width: 64 bits
  11. Clock: 33 MHz
  12. Capabilities: busmaster caplist ethernet physical wireless
  13. Configuration: broadcast = yes driver = wl0 driverversion = 6.30.223.248 (r487574) ip = 192.168.1.23 latency = 0 multicast = yes wireless = IEEE 802.11abg
  14. Resources: irq: 18 memory: b0600000-b0607fff memory: b0400000-b05fffff

As you can see, the wireless network card on my Macbook Air is BCM4360, which is a network card that is easy to detect wireless network problems under Ubuntu.

The lshw command is actually used to list hardware. Therefore, the command name is lshw. With the Network option, only the network hardware is filtered out.

Learn more about Nic

In addition, you can use the lspci command to display information on the PCI bus. You should not run this command in privileged mode. Enter the following command line:

  1. Lspci

The command output looks like this:

  1. 00:00. 0 Host bridge: intelconfigurationhaswell-ult dram Controller (rev 09)
  2. 00:02. 0 VGA compatible controller: intelconfigurationhaswell-ULT IntegratedGraphicsController (rev 09)
  3. 00:03. 0 Audio device: intelconfigurationhaswell-ult hd AudioController (rev 09)
  4. 00:14. 0 USB controller: intelconfiguration8series USB xHCI HC (rev 04)
  5. . 0 Communication controller: intelconfiguration8series HECI #0 (rev 04)
  6. 00: 1b. 0 Audio device: intelconfiguration8series HD AudioController (rev 04)
  7. 00: 1c. 0 PCI bridge: intelconfiguration8series PCI ExpressRootPort1 (rev e4)
  8. 00: 1c. 1 PCI bridge: intelconfiguration8series PCI ExpressRootPort2 (rev e4)
  9. 00: 1c. 2 PCI bridge: intelconfiguration8series PCI ExpressRootPort3 (rev e4)
  10. 00: 1c. 4 PCI bridge: intelconfiguration8series PCI ExpressRootPort5 (rev e4)
  11. 00: 1c. 5 PCI bridge: intelconfiguration8series PCI ExpressRootPort6 (rev e4)
  12. 00: 1f. 0 ISA bridge: intelconfiguration8series LPC Controller (rev 04)
  13. 00: 1f. 3 SMBus: intelconfiguration8seriessmbuscontroller (rev 04)
  14. . 0 Multimedia controller: broadcomconfigurationdevice1570
  15. . 0 Network controller: BroadcomCorporation BCM4360 802.11 acWirelessNetworkAdapter (rev 03)
  16. . 0 SATA controller: marvellpolicygroupltd.88ss9183pcie SSD Controller (rev 14)

These commands list both wired and wireless NICs. You should note that the above output shows that my system does not have a wired Nic. Because I use a Macbook Air, it does not have an Ethernet port.

I hope this article will help you find the network card in your system. You are welcome to raise questions and suggestions.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-01/112331.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.