Originally Posted by
scotthotz
If you are planning to use NVIDIA Graphics Driver just for better disply and 3D rendering then it is almost finished. But if you want to run applications that uses NVIDIA CUDA for processing (if your graphics card supports CUDA) then you will also need to install CUDA drivers as below
Thanks scotthotz for following up on this guide. You probably should edit your 1st post and all info there instead of in a separate post to make it easier to follow.
I'm not sure how you've tested it, but this guide is correct upto the point of installing NVIDIA Driver and CUDA Toolkit. Following you guide, if you try
you get just CPU's listed there. Which means only cudahashcat will be able to use GPU but not other programs that doesn't have native GPU processing built in.
You need to remove pyrit
Code:
apt-get remove pyrit
p.s don't worry about the kali-linux-full line.
Download pyrit and cpyrit from http://pyrit.googlecode.com and install them manually. Then again, it seems this new pyrit puts its binaries in wrong folder than you'd expect.
/usr/local/bin/pyrit instead if /usr/bin/pyrit.
Solution: Softlink them or add path to profile
Softlinking:
Code:
ln -s /usr/local/bin/pyrit /usr/bin/pyrit
or Add path:
if you want only to specific user edit ~/.bash_profile or ~/.bashrc and put there
Code:
export PATH=$PATH:/usr/local/bin
if you want for all users edit /etc/profile and scroll down until you see something like
Code:
PATH="/bin:/usr/bin:/sbin:/usr/sbin" export PATH
Append to the end /usr/local/bin. it will be
Code:
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin"
Once these all done, then following is what you get
Code:
root@kali:~# pyrit list_cores
Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+
The following cores seem available...
#1: 'CUDA-Device #1 'GeForce 210''
#2: 'CPU-Core (SSE2)'
#3: 'CPU-Core (SSE2)'
#4: 'CPU-Core (SSE2)'
and benchmark follows with my GeForce 210 card:
Code:
root@kali:~# pyrit benchmark
Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+
Running benchmark (2744.1 PMKs/s)... -
Computed 2744.11 PMKs/s total.
#1: 'CUDA-Device #1 'GeForce 210'': 853.1 PMKs/s (RTT 3.0)
#2: 'CPU-Core (SSE2)': 648.1 PMKs/s (RTT 2.8)
#3: 'CPU-Core (SSE2)': 647.6 PMKs/s (RTT 2.9)
#4: 'CPU-Core (SSE2)': 658.5 PMKs/s (RTT 3.0)
root@kali:~#
and the best part of this new nvidia driver, you don't need to mess with grub.cfg file as per official docu. I hope someone updates official docu it urges users to use
Code:
sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
command that will keep adding unnecessary parameters(older NVIDIA driver's needed it, new one doesn't require that line) to grub.cfg for no reason(the more you run, the more it adds). Should really remove that line in official docu. Personally, I rather tell people to manually edit a file than providing an automated solution because that's where things goes really wrong. Happy to corrected in any of my instructions.
The community covered this whole process few releases back, but I'll try to put together a guide at some point today ... or maybe just update my existing one. Enjoy