目录
1、在kali中使用arp-scan 报错pcap_activate: eth0: That device is not up
2、使用ifconfig eth0 up或者ifconfig -a让eth0网卡出现。
4、只有lo网卡有配置,增加写入ech0网卡dhcp动态获取ip地址的配置
现象:
暴力关闭kali,,再开起来的时候突然上不了网了,ifconfig查看一下,发现只有lo网卡的配置信息。VM配置那里也使用了NAT模式。
解决方案
1、在kali中使用arp-scan 报错pcap_activate: eth0: That device is not up
2、使用ifconfig eth0 up或者ifconfig -a让eth0网卡出现。
看到网卡信息了,但是发现没有获取到ip地址。
3、Sudo 修改配置信息
└─$ sudo vim /etc/network/interfaces
4、只有lo网卡有配置,增加写入ech0网卡dhcp动态获取ip地址的配置
auto eth0
iface eth0 inet dhcp
5、重启服务信息
└─$ /etc/init.d/networking restart