0%

kali网络不可达

出现错误 网络不可达

解决方法 打开网卡配置文件 sudo vim /etc/network/interfaces

1
2
3
4
5
6
7
8
#This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5),

source /etc/network/ interfaces.d/*

#The Loopback network interface
auto lo
iface lo inet Loopback

在后面添加两行代码

1
2
auto eth0
iface eth0 inet dhcp

保存退出重启即可



Reference

https://developer.huaweicloud.com/hero/thread-69909-1-1.html

欢迎关注我的其它发布渠道

------------- 💖 🌞 本 文 结 束 😚 感 谢 您 的 阅 读 🌞 💖 -------------