[KALI]虚拟机中运行的Linux系统实现使用物理内置网卡

您所在的位置:网站首页 无线网卡能连接路由器吗 [KALI]虚拟机中运行的Linux系统实现使用物理内置网卡

[KALI]虚拟机中运行的Linux系统实现使用物理内置网卡

2024-07-05 05:21| 来源: 网络整理| 查看: 265

这个也是找了许多文章总结的,仅供参考

1、首先打开kali,使用root运行 2、进入etc,打开“networks”这个文件

vim networks

进入到这个文件以后,删除所有内容,改为以下内容

# 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 #the primary network interface #allow-hotlpug eth0 #iface eth0 inet dhcp auto eth0 iface eth0 inet dhcp #iface eth0 inet static #address 192.168.1.10 #gateway 192.168.1.1 #netmask 255.255.255.0

3、打开虚拟机的“虚拟网路编辑器”

编辑→虚拟网络编辑器→更改设置

4、将VMnet信息中的“桥接模式”改为一张物理的网卡(可以是无线的也可以是以太网的)

5、虚拟机设置中“网络配置器”如下图: 在这里插入图片描述 6、重启虚拟机



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3