how to get mac address

Jonathan Murray jmurray at whoi.edu
Tue Jan 12 18:14:37 UTC 2010


open a terminal try ifconfig

the hardware address will show up as something like this:

in this case it's HWaddr 00:1d:c0:6e:27:17

:~$ifconfig

eth0      Link encap:Ethernet  HWaddr 00:1d:c0:6e:27:17
           inet addr:192.168.65.3  Bcast:192.168.65.255  Mask:255.255.255.0
           inet6 addr: fe80::21c:c0ff:fe6d:2712/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:16685006 errors:0 dropped:0 overruns:0 frame:0
           TX packets:21821654 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:9445836864 (9.4 GB)  TX bytes:27481960874 (27.4 GB)
           Memory:e3200000-e3220000




Vadkan Jozsef wrote:
> How can I get the MAC address of a computer, if it isn't in the same
> network segment?
> 
> e.g.: can I get the MAC from a normal, public IP?
> 
> There is no solution for this?
> 
> Thank you!
> 





More information about the ubuntu-users mailing list