红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Debian

??怎么得到系?的 MAC地址?

发布时间:2009-02-10 13:30:13来源:红联作者:Earth_Nie
RT ??!!
文章评论

共有 2 条评论

  1. sgx 于 2009-02-11 16:06:15发表:

    china@debian:~$ su
    Password:
    debian:/home/china# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:0c:76:02:f1:30
    inet addr:172.16.208.111 Bcast:172.16.208.255 Mask:255.255.255.0
    inet6 addr: fe80::20c:76ff:fe02:f130/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:39227 errors:0 dropped:0 overruns:0 frame:0
    TX packets:9046 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:19191830 (18.3 MiB) TX bytes:835068 (815.4 KiB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:1859 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1859 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:147436 (143.9 KiB) TX bytes:147436 (143.9 KiB)
    红色部分就是你的MAC地址。

  2. RFCOS 于 2009-02-10 15:54:21发表:

    http://www.linuxdiyf.com/bbs/thread-109069-1-1.html