Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I was wondering if there's a method of determining a systems MAC address if the adapter was inactive. I can find out the MAC address using ifconfig if the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    2

    Determining network adapter MAC address


    Hello,

    I was wondering if there's a method of determining a systems MAC address if the adapter was inactive. I can find out the MAC address using ifconfig if the adapter is active, but if the adapter is not in use is there a way to determine it's MAC address?

    lspci does not give a lot of info, I can't find any info under /proc.

    thanks.

  2. #2
    Just Joined!
    Join Date
    Oct 2007
    Posts
    37
    You could try:

    Code:
    ifup devicename
    then run:

    Code:
    ifconfig
    I'm not sure, but I hope, this is what you were looking for.

  3. #3
    Just Joined!
    Join Date
    Oct 2007
    Posts
    2
    Thanks for the reply.

    Actually, I would like to know if there's a way to determine the MAC address even without enabling the adapter. I'm doing this for inventory purposes where I would like to find out the number of adapters in a box and their MAC addresses.

    thanks.

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2007
    Posts
    6
    ifconfig -a

    remember man pages are your friend.

Posting Permissions

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