kali default network-manager although very convenient, but also occasionally give us some unnecessary trouble, for example, I spoof always fail when testing mitmf function, when it was given access to github solution is to disable network-manager , usually accustomed to automatic configuration with network-manager network, how to disable the Unicom network after it? After a access to information, are summarized as follows:
1. disable network-manager
service network-manager stop
2. Configure the network interface
gedit /etc/network/interfaces
Paste the following:
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wireless.conf
as the picture shows:
Run wpa_passphrase essid essid is your hotspot name here, such as chinanet ***, then enter the password, he will generate a string configuration code
Then gedit /etc/wpa_supplicant/wireless.conf
The string of copy over the top
Then service networking restart to