LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2010, 07:35 AM   #1
wertum
Member
 
Registered: Jul 2010
Location: usa
Distribution: ubuntu
Posts: 39

Rep: Reputation: 16
How can I view a list of network adapters?


How can I view a list of network adapters?
 
Old 08-08-2010, 08:00 AM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
Code:
ifconfig -a
for just the physical devices you can try
Code:
lspci
 
Old 08-08-2010, 09:10 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
And if you want to see a list of Linux compatible net adapters:

LQ Linux HCL http://www.linuxquestions.org/hcl/

> Network Cards http://www.linuxquestions.org/hcl/index.php/cat/10

..
 
Old 08-08-2010, 10:22 AM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,073
Blog Entries: 1

Rep: Reputation: 669Reputation: 669Reputation: 669Reputation: 669Reputation: 669Reputation: 669
A list of devices on YOUR SYSTEM? Or a list of devices with supporting drivers?

$ lspci -v | grep -i "network"
$ lspci -v | grep -i "ethernet"
$ lspci -v | grep -i "wireless"

$ lsusb -v | grep -i "network"
$ lsusb -v | grep -i "ethernet"
$ lsusb -v | grep -i "wireless"

I'm not sure of the firewire method. For devices that are at least in part configured on your system.

# ifconfig -a

For those with wireless extensions.

# iwconfig

There's a replacement for iwconfig in the works, but I can't recall it's name at the moment. iwip? If you don't have the drivers for said interfaces loaded, they don't show up in ifconfig -a. If things aren't configured just right, you may have a wireless device that reports no wireless extensions in iwconfig. And other quirks.

If you're looking for a list of supported devices, there's several sites that list those. Which vary from driver to driver. If you ID the VENDOREVICE numbers (lspci -n) and google (google.com) on those you generally get hits pretty painlessly.
 
Old 08-08-2010, 11:19 AM   #5
wertum
Member
 
Registered: Jul 2010
Location: usa
Distribution: ubuntu
Posts: 39

Original Poster
Rep: Reputation: 16
Thank for All.
Shadow_7, Your comment is the best comment!

Last edited by wertum; 08-08-2010 at 11:21 AM.
 
Old 08-08-2010, 01:48 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
If you have the lshw command installed, it's even easier:
Code:
$ lshw -c network
WARNING: you should run this program as super-user.
  *-network               
       description: Ethernet interface
       product: MCP67 Ethernet
       vendor: nVidia Corporation
       physical id: a
       bus info: pci@0000:00:0a.0
       logical name: eth0
       version: a2
       serial: 00:1e:68:46:73:a0
       width: 32 bits
       clock: 66MHz
       capabilities: bus_master cap_list ethernet physical
       configuration: broadcast=yes driver=forcedeth driverversion=0.64 latency=0 maxlatency=20 mingnt=1 multicast=yes
       resources: irq:27 memory:f6488000-f6488fff ioport:30f8(size=8) memory:f6489c00-f6489cff memory:f6489800-f648980f
  *-network
       description: Wireless interface
       product: AR5001 Wireless Network Adapter
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 01
       serial: 00:1f:3a:a3:53:5f
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath5k driverversion=2.6.33.6-147.fc13.x86_64 firmware=N/A ip=192.168.0.2 latency=0 multicast=yes wireless=IEEE 802.11bg
       resources: irq:19 memory:f6000000-f600ffff
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
List of LINUX (ubuntu) compatible USB WLAN adapters robrist Linux - Hardware 6 10-17-2009 10:13 PM
Tryying to keep Konqueror in "Detailed List View", but it always reverts to Icon View jlinkels Linux - Software 3 05-16-2006 08:45 PM
network adapters fakie_flip Linux - Hardware 1 09-01-2005 08:51 AM
for network adapters arben Red Hat 1 02-17-2004 01:33 AM
Multiple Network Adapters... markstevens Linux - Networking 1 06-16-2003 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration