LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-20-2005, 01:22 PM   #1
belkins
Member
 
Registered: Apr 2003
Posts: 60

Rep: Reputation: 15
NIC Identification


I've noticed when I insert different wireless PCMCIA NICs and do an ifconfig sometimes they show up as wifi0, wlan0, ath0, etc.....

What differentiates the hardware??? Is it the way the kernel identifies the chipset?

I would expect when you insert a wireless NIC it would always show up as wifi0, wifi1, etc....

Thank you.
 
Old 05-21-2005, 07:28 AM   #2
vijfita
LQ Newbie
 
Registered: May 2005
Distribution: Redhat 9.0
Posts: 24

Rep: Reputation: 15
Hi,

If your question is "What differentiates the hardware?" then I shal try to answer it .....otherwise, this may not be much relevant ...


The different hardware are differentiated only by the interface they are associated to .


One interesting thing about kernels is that they provide standard interfaces to differnet devices, meaning they assume a black box, which takes some input and which gives some output. Keeping in view this blakc box, the whole kernel is done assuming that the black box functionality is available already. It is upto the device drivers (for the particular device given by the interface) to fill the inside of the blackbox to ACTUALLY PROVIDE the services that the box claims to give.

For example, kernels define a standard interface for ethernet cards, and every ethernet card that you install in the system aims to fill in the interface black box that has already been provided with the kernel. These interface names are given (usually) in sequential order i.e. eth0,eth1 etc.

Did you observe that even though the interface names have a common index, different ethernet cards may have differnet set of drivers ? This is possible only because even if both drivers are different, they just implement the interface of an ethernet card provided by the kernel.

With this, I can tell you that the chipset or any other hardware may not be a problem as long as the kernel cna have a standard interface for it, and the chipsset driver can actually fill in the interface blackbox.

Hope this answered the question.

Regards.
 
Old 05-24-2005, 02:31 PM   #3
belkins
Member
 
Registered: Apr 2003
Posts: 60

Original Poster
Rep: Reputation: 15
vijfita,

Yes! That helped a lot in answering my question.

Thank you for taking the time to reply!

Brian
 
  


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
computer identification tableyou Linux - Newbie 2 11-09-2005 09:53 PM
Processor Identification?? trey85stang Linux - Hardware 3 09-29-2005 12:15 AM
identification of USB 1.1 or 2.0 on my PC jaggus Linux - Hardware 0 09-15-2004 03:47 AM
Chipset Identification Drake88 Linux - Hardware 1 04-28-2004 01:29 AM
RPM Identification shooter Linux - General 1 02-09-2002 04:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:08 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
Open Source Consulting | Domain Registration