虚拟机中kali 没有网卡无法运行WiFite

1、打开wifite报错无法正常运行

 

 2、输入iwconfig查看没有找到 wlan0网卡

3、输入su root  输入自己的密码 进入root界面

 再次输入

1
2
3
4
5
6
7
8
9
10
11
12
┌──(root㉿kali)-[~]
└─# wget https://mirror2.openwrt.org/sources/compat-wireless-2010-06-28.tar.bz2
--2024-02-02 18:54:15--  https://mirror2.openwrt.org/sources/compat-wireless-2010-06-28.tar.bz2
正在解析主机 mirror2.openwrt.org (mirror2.openwrt.org)... 2a01:4f8:221:3d45::2, 46.4.11.11
正在连接 mirror2.openwrt.org (mirror2.openwrt.org)|2a01:4f8:221:3d45::2|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:2596324 (2.5M) [application/octet-stream]
正在保存至: “compat-wireless-2010-06-28.tar.bz2”
 
compat-wireless-2010-06-28.tar.bz2                   100%[=====================================================================================================================>]   2.48M  1.83MB/s  用时 1.4s   
 
2024-02-02 18:54:18 (1.83 MB/s) - 已保存 “compat-wireless-2010-06-28.tar.bz2” [2596324/2596324])

 4、下载完成后输入下方命令进行解压

tar -xjvf compat-wireless-2010-06-28.tar.bz2

5、解压很快会在几秒内完成

接下来我们需要进入到解压后的文件目录下面去执行配置编译安装命令

┌──(root㉿kali)-[~]
└─# cd compat-wireless-2010-06-28
                                                                                                                                                                                                                   
┌──(root㉿kali)-[~/compat-wireless-2010-06-28]
└─# make unload
┌──(root㉿kali)-[~/compat-wireless-2010-06-28]
└─# make load

6、在kali 中 输入 iwconfig 可以看到出现了新增的WLAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
┌──(root㉿kali)-[~/compat-wireless-2010-06-28]
└─# iwconfig
lo        no wireless extensions.
 
eth0      no wireless extensions.
 
wlan0     IEEE 802.11  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm  
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
           
wlan1     IEEE 802.11  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm  
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
           
hwsim0    no wireless extensions.

 

posted @   星火撩原  阅读(290)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2021-02-02 Kubernetes的基本概念和术语-Deployment
2021-02-02 haproxy 配置文件详解 之 ACL 智能负载均衡
2020-02-02 linux centos7安装mysql8
2020-02-02 centos7环境准备
点击右上角即可分享
微信分享提示