该命令sudo ether-wake xx:xx:xx:xx:xx:xx
打印
sendto: Network is down
对于我插入的所有 MAC 地址。我找不到任何有关如何解决此问题的信息 - 我显然已连接到我运行命令的 PC 上的 WLAN(sendto 和 ether-wake是只要接收器有 LAN 电缆连接,就可以通过无线发送魔法包,对吧?)。
这是ifconfig
向我展示的:
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 1003 bytes 88142 (86.0 KiB)
RX errors 0 dropped 3 overruns 0 frame 0
TX packets 1003 bytes 88142 (86.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:99:2c:9a txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.11 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::aed1:b8ff:febf:9eb9 prefixlen 64 scopeid 0x20<link>
ether ac:d1:b8:bf:9e:b9 txqueuelen 1000 (Ethernet)
RX packets 35078 bytes 30784921 (29.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 3645
TX packets 29962 bytes 5021667 (4.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 19
我认为wlp2s0
这就是我所看到的被称为 的内容eth0
,如下所示:
dmesg | grep eth0
[ 5.199702] eth0: Broadcom BCM43b1 802.11 Hybrid Wireless Controller 6.30.223.248 (r487574)
[ 5.306314] wl 0000:02:00.0 wlp2s0: renamed from eth0
顺便说一句,我不知道重命名是如何发生的,也不知道我该如何改变它。这有可能是问题所在吗?