LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-19-2010, 05:45 AM   #1
luvtux
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
How to find whether interface is buitin(onboard) or external(attached on pci slot )??


Hi all,

I want to know if there any way to find out interface of Linux Box(Suse 9>)is onboard or externally attached (pci slot)???.

Note:- This is a problem which I am facing in my work. In onsite server we need to configure n/w card too. So some time when we configure, I'm confusing which interface should be configured. Client insisting us to configure embedded(onboard) interface. How to find out that. Help me !!!

By
LuvTux
 
Old 02-19-2010, 08:42 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,656

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by luvtux View Post
Hi all,

I want to know if there any way to find out interface of Linux Box(Suse 9>)is onboard or externally attached (pci slot)???.

Note:- This is a problem which I am facing in my work. In onsite server we need to configure n/w card too. So some time when we configure, I'm confusing which interface should be configured. Client insisting us to configure embedded(onboard) interface. How to find out that. Help me !!!
There are commands, like lspci and lsusb, to show the different devices connected. You can also fire up Yast, and show the hardware from there, too.

You can run dmesg to see what's been detected, but you'll get spotty results. Often, the onboard interfaces will show up as PCI devices.

But I'm not sure why this is such a problem...if you're onsite, plug the cable into the onboard interface, and it'll be the only one to detect a link. Or remove the PCI card, configure the box, and replace the card when you're done.
 
Old 02-22-2010, 10:34 AM   #3
luvtux
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for help Mr TBOne,
But we are accessing onsite remotely(I am the part of RIM team). So I cannot access server manually. But problem is when ever we try to configure n/w cards using yast we could see two groups of n/w cards. One group of cards have " (copper) ". Is that the indication of externally connected card ???. How can we find which is externally connected and which is onboard. lspci is good command, but normally many other cards may be attached to pci slot than n/w cards. If there any command to find onboard card as it would be more useful. Or if we can get it from any file that can be helpful.
 
Old 02-22-2010, 01:51 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,656

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by luvtux View Post
Thanks for help Mr TBOne,
But we are accessing onsite remotely(I am the part of RIM team). So I cannot access server manually.
That makes no sense. You're either on-site, or you're remote. You can't be both.
Quote:
But problem is when ever we try to configure n/w cards using yast we could see two groups of n/w cards. One group of cards have " (copper) ". Is that the indication of externally connected card ???.
No idea what you're talking about here. Copper? Guess it depends if you're dealing with old fiber cards, versus GigE Copper, so I guess it COULD show up that way, but I've never seen it.
Quote:
How can we find which is externally connected and which is onboard. lspci is good command, but normally many other cards may be attached to pci slot than n/w cards. If there any command to find onboard card as it would be more useful. Or if we can get it from any file that can be helpful.
Did you pay attention to what I wrote before?? You've got the commands, but again, the onboard may show up as PCI. So you won't be able to tell, unless you already KNOW that the onboard interface is (for example), Intel-based, and the external cards are 3Com.

Again, run YAST, look at the interfaces.
 
Old 02-22-2010, 01:58 PM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
You're in luck if the motherboard manufacturer "brands" the firmware. Here's lspci -v output for an Intel motherboard with similar network chips both onboard and on a card:
Code:
02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Intel Corporation Device 0c4a
        Flags: bus master, medium devsel, latency 32, IRQ 23
        I/O ports at b400 [size=256]
        Memory at feaff800 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2
        Kernel driver in use: 8139too
        Kernel modules: 8139too, 8139cp

02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
        Flags: bus master, medium devsel, latency 32, IRQ 22
        I/O ports at b800 [size=256]
        Memory at feaffc00 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at 30000000 [disabled] [size=64K]
        Capabilities: [50] Power Management version 2
        Kernel driver in use: 8139too
        Kernel modules: 8139too, 8139cp
 
  


Reply



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
Can a PCI-e 1x card work in a PCI-e 8x slot? MikeyCarter Linux - Hardware 1 08-24-2009 03:44 PM
Find out which Interface an IP address is attached to helptonewbie Linux - Networking 6 11-08-2007 11:30 AM
PCI card in PCI-X slot not working sheatsm Linux - Hardware 5 12-15-2006 10:45 AM
PCI-X Raid card wont fit in motherboards PCI Express x16 slot???? abefroman Linux - Hardware 4 12-01-2006 08:24 AM
Diabling onboard sound card and enabling pci slot sound card abhatia Linux - Hardware 4 01-12-2004 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:25 AM.

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
Open Source Consulting | Domain Registration