Kali Linux system to solve the wireless network card can not connect WIFI module tutorial:

Note: Kali Linux system WIFI module can sometimes be due to environmental weather resulting in WIFI module does not recognize the problem and connected, because the router blacklist and reboot times or a misconfigured property changes caused by unstable network connections reason.

The first:

Change the network card configuration file:

12336594-23b70049f60ccb66.png
Jane from the bottom of the picture book App

Interfaces.d modify the configuration file:

auto wlan0

iface wlan0 inet dhcp

wpa-conf /etc/wpa_supplicant/wireless.conf

12336594-68789551e6dbd9c6.png
Jane from the bottom of the picture book App

Changing the DNS properties file:

12336594-caa4153b688a0fa9.png
Jane from the bottom of the picture book App


12336594-2d4ccda652a495c8.png
Jane from the bottom of the picture book App

Change the automatic processing blacklist file attributes:

12336594-3560504cfe1be429.png
Jane from the bottom of the picture book App
12336594-4abe9cc0a2a73cf8.png
Jane from the bottom of the picture book App

Restart network services:

12336594-e9046466fa671371.png
Jane from the bottom of the picture book App

NetworkMannager.conf modify the configuration file:

managed=false | true

Controls whether interfaces listed in the 'interfaces' file  are

managed  by  NetworkManager.  If  set  to true, then interfaces

listed in  NetworkManager are managed by

NetworkManager.

If  set  to  false,  then  any  interface  listed  in  NetworkManager will be ignored by NetworkManager. Remember that

NetworkManager controls the default route, so because the inter‐

face is ignored, NetworkManager may assign the default route  to

some  other  interface.  When the option is missing, false value

is taken as default

注:重启结果失败!!!

第二种:

查看无线网卡:

root@kali:~# iwconfig
root@kali:~# ifconfig
12336594-619c10333e12ff81.png
图片发自简书App
注:显示本机地址,无线网卡开启失败!

重启无线网卡:

root@kali:~# ifconfig wlan0 up

搜索SSID及ESSID信号:

root@kali:~#iw dev wlan0 scan | grep SSID
root@kali:~# iwlist scanning | grep ESSID
12336594-7b9afc9edc72d539.png
图片发自简书App


12336594-e70feb3f4817d657.png
图片发自简书App

连接无线网络ESSID:

root@kali:~# iwconfig wlan0 essid "TP-LINK_F74A"
root@kali:~# iwconfig wlan0 key "123456"
root@kali:~# iwconfig wlan0 ap auto
root@kali:~# iwconfig wlan0 192.168.01.104
root@kali:~# reboot
12336594-f1e17d7dc432ade4.JPG
图片发自简书App
注:重启失效,无法开启WIFI模块!

第三种:

移出ideapad无线模块:

root@kali:~# sudo modprobe -r ideapad_laptop 

杀掉所有进程:

root@kali:~# rfkill list all  

如下提示:

2:phy0: Wireless LANSoft blocked: noHard blocked:no3:hci0: BluetoothSoft blocked: yesHard blocked: no

注:即WIFI模块工作正常

赋予属性文件权限:

root@kali:~# sudo chmod 777 /etc/rc.local

Add a profile:

root@kali:~# leafpad etc/rc.local

echo "123" |sudo modprobe -r ideapad_laptop

Note: When you execute sudo command to enter a password, the command must be run before the exit 0.

Restart:

root@kali:~# reboot

Fourth:

View routing address:

root @ times: ~ # ruote -n
12336594-7da859dfaa42e8ea.JPG
Jane from the bottom of the picture book App

Disabling network-manager:

root@kali:~# service network-manager stop

Configuring network interface cards:

root@kali:~# leafpad /etc/network/interfaces

Modify the configuration file:

auto wlan0

iface wlan0 inet dhcp

    wpa-conf /etc/wpa_supplicant/wireless.conf

ESSID generated keys:

root@kali:~# wpa_passphrase essid

/Etc/wpa_supplicant.con modify the configuration file:

root@kali:~#  cat /etc/wpa_supplicant.conf

Modify the configuration file:

root @ times: ~ # Leafpad /etc/wpa_supplicant/wireless.conf
root@kali:~# service networking restart

Fifth:

Note: reinstall the system, restore WIFI module!

Reproduced in: https: //www.jianshu.com/p/067542a3da64

Guess you like

Origin blog.csdn.net/weixin_34293911/article/details/91234291