Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    finding wireless MAC without drivers

    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!

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    The Netherlands
    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.

    New Users, please read this..
    Google first, then ask..

  3. #3
    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?

  4. $spacer_open
  5. #4
    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?
    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.
    Last edited by waterhead; 03-17-2009 at 10:19 PM.
    Please do not send Private Messages to me with requests for help. I will not reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts