[root@localhost ~]# ifconfig wlp2s0 down
[root@localhost ~]# macchanger -r wlp2s0
Current MAC: xx:xx:xx:xx:xx:xx (unknown)
Permanent MAC: xx:xx:xx:xx:xx:xx (unknown)
New MAC: 22:0d:81:f1:d3:82 (unknown)
[root@localhost ~]# ifconfig wlp2s0 up
[root@localhost ~]# macchanger -s wlp2s0
Current MAC: 22:0d:81:f1:d3:82 (unknown)
Permanent MAC: xx:xx:xx:xx:xx:xx (unknown)
ifconfig wlp2s0
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.40 netmask 255.255.255.0 broadcast 192.168.1.255
ether 22:0d:81:f1:d3:82 txqueuelen 1000 (Ethernet)
RX packets 118031 bytes 144457184 (137.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 93120 bytes 20972827 (20.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
操作系统是Fedora 26,路由器是ZyXEL P-2601HN-F1。
有wifi信号但无法上网。我缺少什么?谢谢。
答案1
您的 Wi-Fi 适配器可能无法更改其 MAC 地址。您应该使用另一个适配器和监控软件(例如kismet
.