Gnome Network Manager is a piece of junk. I got problems using my second wireless card, it's an Alpha USB card. If I turned off the PCI wireless card physically the USB card got turned off too. It's a terrible behavior since I want to get working (turned on) only one card and not both. There are a lot of known and weird troubles with GNM so Wicd is a better option if not the best.
As I'm working on Kali I'll omit the commands launched are fired as root. If someone come around here and its distro is Debian or Ubuntu you know you have to make use of sudo command.
After doing apt-get update && apt-get upgrade
We have to install Wicd. Since it is a metapackage we only need to launch:
apt-get install wicd
And it will install wicd-gtk, wicd-curses, wicd-cli, wicd-client too.
Next, we have to stop and remove Gnome NM:
service network-manager stop
update-rc.d network-manager disable
apt-get purge network-manager
After the last command, appear that some packages were installed automatically and they are not useful anymore, so to remove them just launch:
apt-get autoremove
It's known that trying to connect to any wireless network with Wicd while GNM it is installed some people have problems with Wicd related to "bad password" so, after have installed Wicd remove network-manager.
Now, to start and make Wicd being autostarted at boot time, run these commands:
systemctl start wicd
systemctl enabled wicd
And that's it!
All the steps mentioned above assumes Kali made use of an Internet connection during the installation process, if someone installed using a DVD (and had no Internet connection) perhaps Wicd won't be available to get installed. If it is your case, request a friend or go yourself to a Cafe Internet to search for the latest Kali (2017.1) repositories, copy and paste them in the file: /etc/apt/sources.list and don't forget to apply a comment (with the symbol #) at the beginning of the line belonging to CD/DVD repository.
My source.list file:
deb http://http.kali.org/kali kali-rolling main non-free contrib
References:
https://debian-handbook.info
https://wiki.archlinux.org/index.php/wicd#Autostart
https://wiki.archlinux.org/index.php/Systemd#Using_units
No hay comentarios.:
Publicar un comentario