Kali无法上网解决方法

在虚拟机内Kali无法上网

0x01 此次问题环境

Vmware16

kali2021.3

0x02 问题原因

ifconfig查询看不到eth0网卡

0x03解决方法

方法一:输入下面指令

ifconfig eth0 up #启动eth0网卡
ifconfig -a         #查看ip地址
dhclient eth0     #eth0网卡自动获取iP    
            
 

方法二:还原虚拟机默认网卡设置

原文地址:https://www.cnblogs.com/Gouwa/p/15631975.html