Jul 4, 2011

How to know which network adapter I’m using?

To know the manufacturer of the network adapter of your computer in Linux, type this command in terminal:
sudo lshw -C network
The output of the command may look something like this:

       Description: Wireless interface
       Product: BCM4313 802.11b/g/n Wireless LAN Controller
       Vendor: Broadcom Corporation
       Physical id: 0
       Bus info: pci@0000:03:00.0
       Logical name: wlan0
       Version: 01
       Serial: 70:f1:a1:c2:f2:e9
       Width: 64 bits
       Clock: 33MHz
       Capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       Configuration: broadcast=yes driver=brcm80211 driverversion=2.6.38-8-generic firmware=N/A ip= latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       Resources: irq:17 memory:f0500000-f0503fff
       Description: Ethernet interface
       Product: AR8152 v1.1 Fast Ethernet
       Vendor: Atheros Communications
       Physical id: 0
       Bus info: pci@0000:04:00.0
       Logical name: eth0
       Version: c1
       Serial: b8: ac: 6f:67:11:46
       Capacity: 100Mbit/s
       Width: 64 bits
       Clock: 33MHz
       Capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       Configuration: auto negotiation=on broadcast=yes driver=atl1c driver version= firmware=N/A latency=0 link=no multicast=yes port=twisted pair
       Resources: irq: 43 memory: f0400000-f043ffff ioport: 2000(size=128)
Check the output closely. It gives information about both Wired and Wireless Network Adapter. No need to specify that one with Wireless Interface describes wireless adapter and one with Ethernet Interface describes Wired Network Adapter. As you can see in the output, I have Broadcom’s wireless adapter and Atheros Ethernet (wired) adapter.
Questions, suggestions and feedbacks are welcomed. If you liked the post then please acknowledge it by liking/voting/commenting on the post. Enjoy :)


Post a Comment