小编Jag*_*shi的帖子

如何在 ubuntu 16.04 中获取 MAC 地址?

我尝试了几个命令,但都不起作用,请参阅命令:

khalilullah@khalilullah-W65-67SZ:~$ sudo ifconfig
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:65536  Metric:1
          RX packets:164 errors:0 dropped:0 overruns:0 frame:0
          TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:12080 (12.0 KB)  TX bytes:12080 (12.0 KB)

khalilullah@khalilullah-W65-67SZ:~$ nmcli device show enp3s0|grep -i hw
Error: Device 'enp3s0' not found.

khalilullah@khalilullah-W65-67SZ:~$ nmcli device show enp3s0 | grep -i hw
Error: Device 'enp3s0' not found.

khalilullah@khalilullah-W65-67SZ:~$ nmcli device show wlp4s0 | grep -i hw
Error: Device 'wlp4s0' …
Run Code Online (Sandbox Code Playgroud)

command-line wireless networking ethernet 16.04

2
推荐指数
1
解决办法
7505
查看次数

标签 统计

16.04 ×1

command-line ×1

ethernet ×1

networking ×1

wireless ×1