Find your MAC address with ifconfig

by
on
October 30, 2008

You can find the MAC address of your system at the command line by using the ifconfig command. The ifconfig command will show you information on all your network interfaces. If no arguments are given ifconfig displays the status of the currently active interfaces.

You have to run this command as root or use sudo.

# ifconfig
wlan0     Link encap:Ethernet  HWaddr a1:b2:c3:d4:e5:f6  
          inet addr:192.168.2.11  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
          RX packets:4007 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4246 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3292271 (3.1 MiB)  TX bytes:994922 (971.6 KiB)

Your MAC address is displayed in the HWaddr field.

No Comments
system administration
, , , ,

Related posts:

  1. Find your IP address with ifconfig
  2. Setup SSH access between VirtualBox Host and Guest VMs
  3. Find the MAC address on a Windows machine
  4. How to SSH into Ubuntu LiveCD
  5. Display hostname and IP address in C

Comments (0)

No comments yet

Trackbacks (0)

No trackbacks yet

Leave a Comment

(displayed with your post)
(will not be published)
(optional)

Copyright 2008-2010 WiredRevolution.com. All rights reserved.