MAC Address
Ubuntu China
ubuntu-user at ubuntu.org.cn
Fri Oct 28 03:41:38 UTC 2005
On Friday 28 October 2005 12:50, Ubuntu China wrote:
> Hi all,
>
> Do you have any ideas hoe I can get the mac addresses of my machines? my
> linksys router has conked out and Im getting a new one. But I dont know how
> to get the mac addresses so I can input it into the new one.
>
> Charles
/sbin/ifconfig <interface>
eg,
/sbin/ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:12:AB:12:CD:34
inet addr:192.168.184.100 Bcast:192.168.184.255 Mask:255.255.255.0
inet6 addr: fe80::212:f0ff:fe99:ef85/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:714197 errors:0 dropped:8 overruns:0 frame:0
TX packets:163791 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:228745948 (218.1 MiB) TX bytes:13371439 (12.7 MiB)
Interrupt:21 Base address:0x8000 Memory:c8400000-c8400fff
See the bit "HWaddr 00:12:AB:12:CD:34" in the first line? That's the
interface's MAC address. Note - this one is spoofed to protect the
innocent :)
HTH,
James
--
Lewis's Law of Travel:
The first piece of luggage out of the chute doesn't belong to anyone,
ever.
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list