LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 12-03-2007, 12:07 PM   #1
Mystery Man
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
Wifi Adapter Identification


Hi !!

I want to write a C code to identify the wifi adapter installed on the system the code is running on.

Please point me to some links and examples for the same.

Thanks
 
Old 12-03-2007, 05:37 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
There is this marvelous thing called Google - it's worth a try.

Using lspci, it should tell you any details about the current WiFi card. If you want to learn how to probe hardware, use your noggin and don't just ask for the answer. Extrapolate. If lspci lists all devices across the PCI bus, then perhaps looking at the source code for lspci (binutils) would yield some decent codage for probing hardware.
 
  


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
Could it be that my wifi adapter is too old for WPA mamadu.bwana Linux - Wireless Networking 20 10-17-2007 11:33 PM
WiFi adapter complication dingle959 Linux - Hardware 3 03-25-2007 05:27 PM
Integrated WIFI adapter 5had0w Linux - Wireless Networking 1 12-01-2004 10:39 PM
Detect WiFi adapter jeopardyracing Linux - Wireless Networking 2 09-16-2004 01:28 PM
setting up 3com wifi USB adapter ronan Linux - Wireless Networking 2 08-23-2004 05:13 PM


All times are GMT -5. The time now is 04:05 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration