首页 > 其他分享 >kali网卡消失解决

kali网卡消失解决

时间:2023-02-27 11:25:13浏览次数:41  
标签:network loopback kali interfaces 消失 网卡 etc lo

问题:kali网卡消失解决如图

在这里插入图片描述
解决:

1、查看配置文件

└─# cat /etc/network/interfaces
# 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

2、修改配置文件

vi /etc/network/interfaces

在这里插入图片描述
添加网卡

# 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

#ADD
#
auto eth0
iface  eth0 inet dhcp
                          

3、重启服务

/etc/init.d/networking restart

在这里插入图片描述

标签:network,loopback,kali,interfaces,消失,网卡,etc,lo
From: https://www.cnblogs.com/xiaoyunxiaogang/p/17159001.html

相关文章