Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > finding wireless MAC without drivers

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-17-2009   #1 (permalink)
Just Joined!
 
Join Date: Mar 2009
Posts: 2
finding wireless MAC without drivers

Hello,
I have to get the wireless MAC address from a large number of laptops, so I am trying to create a script I can run to grab the wireless MAC address and drop it onto a text file in a flash drive. Right now my goal is to boot from DSL from USB to keep it as simple as possible, but if you guys have any other suggestions, I can easily go a different route.

After booting to DSL from a USB drive installed via this method. I can go to the system specs in the control panel and see that the system recognizes the wireless cards, and correctly names it, but it does not set it up to the network. ifconfig only returns eth0 and lo, no wlan0.

I'm not interested in getting the wireless working correctly, as some laptops may differ in hardware. I'm just trying to get it to return the wireless MAC, but I don't know if that's possible without going through the configuration step.

Any thoughts? Thanks!
breakfastcereal is offline  


Reply With Quote
Old 03-17-2009   #2 (permalink)
Linux Engineer
 
RobinVossen's Avatar
 
Join Date: Aug 2007
Location: The Netherlands
Posts: 1,319
Send a message via ICQ to RobinVossen Send a message via MSN to RobinVossen
For the Wifi cards its most of the time not ifconifg, but iwconfig.

Else if you want the MAC you can take the card out of the Laptop and hope you see the Sticker. ELSE you can always take the ROM off and Reverce it
But I'd try iwconfig first.

Hope that helps.

Cheers,
Robin
__________________
My webpage: codeinject.org
New Users, please read this..
Google first, then ask..
RobinVossen is offline   Reply With Quote
Old 03-17-2009   #3 (permalink)
Just Joined!
 
Join Date: Mar 2009
Posts: 2
Ah, I'd forgotten about iwconfig as it's been some time since my last linux adventure. I'll give that a try.

I'd prefer not to get the MAC physically considering the large numbers I'm dealing with. What exactly do you mean by get it off the ROM?
breakfastcereal is offline   Reply With Quote
Old 03-17-2009   #4 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
Iwconfig only shows the MAC address of an access point. If config may only show cards that have been configured, but have you tried it with the -a option?
Code:
ifconfig -a
There is one problem that I can forsee in using Damn Small Linux. It uses the old 2.4 kernel, not the 2.6 kernel. Many of the wireless drivers are in the latest version of the 2.6 kernel, so you may want to use something else. For a distro with good wireless, I would recommend Linux Mint. It comes as a Live CD.

Edit: As I mentioned, you may need to configure the cards first. I would boot the LiveCD with a wired internet connection present. This way you can easily install any missing components. If you install the Live CD to a USB stick, then it will save it. After a few times, most of the cards will work automatically.
__________________
Paul

Please do not PM me with requests for help. I will not reply.

Last edited by waterhead; 03-17-2009 at 11:19 PM..
waterhead is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:21 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2