wifi和kali(1)(网卡识别)

1,查看Linux版本和内核版本

cat /etc/issue //系统版本
uname -a //内核版本

2,列表更新和系统升级

sudo apt-get update //更新软件列表信息和下载

sudo apt-get upgrade//升级更新列表里的软件

补充:
dpkg,apt(debian,ubuntu)
rpm,yum(redhat,centos)

3,查看已安装软件

kali(即debian系统系列):
dpkg-l

dpkg-l|grep "package's name"

4,ifconfig和iwconfig查看网卡

如果没有出现:wlan0:...
1,系统未安装驱动
2,VMware USB arbitration service 未开启
3,虚拟机->可移动设备->未选取链接的网卡

iwconfig 查看显示wlan0了(ifconfig没有显示),说明网卡未开启

sudo ifconfig wlan0 up //开启网卡
开启后可以通过 ifconfig 命令查看到wlan0

sudo ifconfig wlan0 down //关闭网卡
此时输入ifconfig命令查看不到wlan0
但iwconfig 命令可以查看到网卡
原文地址:https://www.cnblogs.com/straybirds/p/14877827.html