Pyrit icon indicating copy to clipboard operation
Pyrit copied to clipboard

Pyrit NO GPU with ArchLinux

Open darkstaring opened this issue 8 years ago • 7 comments

Hello, i installed this package

aur/cpyrit-cuda-git 0.5.0.r21.g6111f10-1 [installed: 0.5.0.r26.g6cf2c12-1] (14) (0.22) aur/cpyrit-opencl-git 0.5.0.r26.g6cf2c12-2 [installed] (14) (0.45) aur/pyrit-git 0.5.0.r21.g6111f10-1 [installed: 0.5.0.r26.g6cf2c12-1] (33) (0.22)

cuda 8.0.44-3 nvidia 375.26-6 nvidia-cg-toolkit 3.1-4 nvidia-libgl 375.26-2 nvidia-settings 375.26-1 nvidia-utils 375.26-2 opencl-nvidia 375.26-2

But pyrit list_cores says only cpu core... i try edit setup.py, and add OPENCL_INC_DIRS = ['/opt/cuda/include/'] OPENCL_LIB_DIRS = ['/opt/cuda/lib64/'] and '/opt/cuda/include/' in "for path in" but not work....

Can you help me Thank you

darkstaring avatar Feb 02 '17 18:02 darkstaring

Have you enabled CUDA in the config?

JPaulMora avatar Feb 02 '17 19:02 JPaulMora

thank you..i set ~/.pyrit/config now work...thank you Boss :+1: ;)

darkstaring avatar Feb 02 '17 19:02 darkstaring

open file ~/.pyrit/config

JPaulMora avatar Feb 02 '17 19:02 JPaulMora

you have cuda and nvidia driver?

darkstaring avatar Feb 19 '17 20:02 darkstaring

I'm confused - is this issue still open or not? Because I've read a few instances of Pyrit with CUDA not working for Arch Linux users. If it is still open, and someone would like the fix, then please let me know and I will post it.

ghost avatar Mar 02 '17 18:03 ghost

@ghost yes it doesn't work for me if you, do you know how to get it work ?

sawmj avatar Jul 29 '17 13:07 sawmj

I have installed the same stuff as the post creator, and does not work, tried too to compile from source, and nothing too... CUDA is enabled in cofig file...

I get this error when I try to analyze a cap file:

[user@machine]$ primusrun pyrit -r 2018-04-26T04-10-25.cap analyze

Failed to load Pyrit's OpenCL-core ('Failed to enumerate OpenCL-platforms (Unknown CLresult)'). Pyrit 0.5.1 (C) 2008-2011 Lukas Lueg - 2015 John Mora https://github.com/JPaulMora/Pyrit This code is distributed under the GNU General Public License v3+

Traceback (most recent call last): File "/usr/bin/pyrit", line 6, in pyrit_cli.Pyrit_CLI().initFromArgv() File "/usr/lib/python2.7/site-packages/pyrit_cli.py", line 117, in initFromArgv func(self, **options) File "/usr/lib/python2.7/site-packages/pyrit_cli.py", line 160, in new_f import cpyrit.pckttools File "/usr/lib/python2.7/site-packages/cpyrit/pckttools.py", line 132, in scapy.packet.bind_layers(scapy.layers.l2.EAPOL, EAPOL_Key, type=3) AttributeError: 'module' object has no attribute 'EAPOL'

sersajar avatar May 04 '18 10:05 sersajar