ÈÐ Wïgê† Ðð† ñåmê

ïñ£ð§ê¢, ïñ£ðrmå†ïðñ §ê¢µr, Ðïgï†ål £ðrêñ§ï¢§, hå¢kïñg, §¥§†êm åÐmïñ阮rå†ïðñ, lïñµx ßlðg


I finally got around to upgrading my desktop from Backtrack 5R3 to the latest Kali Linux.  After about two weeks, I finally set out to get the ati graphics card working so I could do some password cracking.  This turned into fun as the version of fglrx-drivers don’t support my 4500 series graphics card.  The fglrx-drivers-legacy don’t exist in the kali or debian repo’s.  Trying to install from the ati legacy drivers bundle failed.  Here is how I got it working using debian packages:

First add the correct repos:

[codesyntax lang=”bash”]

deb http://ftp.debian.org/debian wheezy-backports main non-free
deb http://ftp.debian.org/debian experimental main non-free contrib

[/codesyntax]

Next run:

[codesyntax lang=”bash”]

apt-get update
apt-get upgrade
apt-get remove --purge fglrx*

[/codesyntax]

Now install the drivers:

[codesyntax lang=”bash”]

aptitude install amd-opencl-icd-legacy fglrx-legacy-atieventsd fglrx-legacy-control fglrx-legacy-driver fglrx-legacy-modules-dkms fglrx-legacy-source libfglrx-legacy libfglrx-legacy-amdxvba1 libgl1-fglrx-legacy-glx

[/codesyntax]

If you get an error that says something about a package that requires version 2 installed but requires version 3…..(sorry, I am doing this from memory), you will need to manually download the files for the correct version (just search for it on google).  I believe it was

glx-alternative-fglrx_0.3.0_amd64.deb and glx-diversions_0.3.0_amd64.deb

Once you have those, the installation will complete successfully.

Next run:

[codesyntax lang=”bash”]

aticonfig --initial
aptitude install amd-opencl-icd-legacy

[/codesyntax]

Reboot…..after the reboot, you should find the fglrx module loaded now:

[codesyntax lang=”bash”]

# lsmod | grep fglrx
fglrx                3205017  91 
button                 12945  1 fglrx

[/codesyntax]

For whatever reason I have yet to figure out why that the video card is kinda slow and unresponsive for about the first 5 minutes after it boots up.  But then after that, everything seems normal.

Once completed, you should be able to list_cores using pyrit, however, oclhashcat* will say gpu drivers are not installed (guess it is time to buy a new video card):

[codesyntax lang=”bash”]

# pyrit list_cores
Pyrit 0.4.1-dev (svn r308) (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:  'CAL++ Device #1 'ATI RV710''
#2:  'CPU-Core (SSE2)'
#3:  'CPU-Core (SSE2)'
#4:  'CPU-Core (SSE2)'

[/codesyntax]

[codesyntax lang=”bash”]

# oclhashcat+ 
GPU drivers are not installed! oclHashcat-plus will not run.
Refer to: http://hashcat.net/forum/forum-23.html

[/codesyntax]

 


Leave a Reply