11-04-2018, 12:27 AM
So as you all should know, cuda support was depreciated over preference of opencl. So Anyone trying to get the latest in Kali update to work with your Nvidia driver you should have had some issues installing the cuda toolkit as there is no longer a repository for it.
But there is a way, and I got it working today and thought I would share the steps to get hashcat running with cuda support using the latest kali distro. Hope this is in the right location. I am a beginner, so if I make a few mistakes, please be gentle. Cheers
----
Kali 2018.3 Nvidia Driver Installation:
apt-get update
apt-get upgrade && apt-get dist-upgrade
reboot
apt-get install linux-headers-$(uname -r)
reboot
apt-get install nvidia-driver nvidia-xconfig
(now open the text edior to edit the conf file)
nano /etc/modprobe.d/nvidia-blacklists-nouveau.conf
(delete everything and poste the following):
blacklist nouveau
blacklist lbm-nouveau
options nouveau modset=0
alias nouveau off
alias lbm-nouveau off
(save and exit nano)
update-initramfs -u
reboot
apt-get install hashcat-nvidia
nvidia-smi
This should get you up and running and with no black screen on your final reboot.
I had managed to get the nvidia drivers to install and work on reboot ONLY when removing nouvea driver FIRST then rebooting BEFORE installing the nvidia driver, but there still was no cuda-toolkit...
edit: this did in fact dl and install the 390.87 driver btw...
But there is a way, and I got it working today and thought I would share the steps to get hashcat running with cuda support using the latest kali distro. Hope this is in the right location. I am a beginner, so if I make a few mistakes, please be gentle. Cheers
----
Kali 2018.3 Nvidia Driver Installation:
apt-get update
apt-get upgrade && apt-get dist-upgrade
reboot
apt-get install linux-headers-$(uname -r)
reboot
apt-get install nvidia-driver nvidia-xconfig
(now open the text edior to edit the conf file)
nano /etc/modprobe.d/nvidia-blacklists-nouveau.conf
(delete everything and poste the following):
blacklist nouveau
blacklist lbm-nouveau
options nouveau modset=0
alias nouveau off
alias lbm-nouveau off
(save and exit nano)
update-initramfs -u
reboot
apt-get install hashcat-nvidia
nvidia-smi
This should get you up and running and with no black screen on your final reboot.
I had managed to get the nvidia drivers to install and work on reboot ONLY when removing nouvea driver FIRST then rebooting BEFORE installing the nvidia driver, but there still was no cuda-toolkit...
edit: this did in fact dl and install the 390.87 driver btw...