aircrack-ng / rtl8188eus

RealTek RTL8188eus WiFi driver with monitor mode & frame injection support
926 stars 397 forks source link

Error while sudo make on kali 2022.4 (6.1.0 kernel) #231

Closed AnonymVJT closed 1 year ago

AnonymVJT commented 1 year ago

Hi there, I recently bought this TP link adapter. i tried almost "everything" and it is not functional - it drives me little crazy now. I am on virtualbox machine and when i try using the latest kali with the latest kernel (6.1.0-kali5-amd64) its giving me this weird error while sudo make command is executed (i am using tutorial via david bombal).

Newes kernel - weird error + error 2

And when I tried using older kernel, error 2 happend while sudo make command. (there i have newest kernel too how i see, but this error happens on older kernel mainly)

Old kernel - error 2

It may mainly be because when i try installing linux headers via both commands

sudo apt-get install linux-headers-uname -r sudo apt-get install linux-headers-5.10.0-kali6-amd64

it is giving error "unable to locate package linux-headers-.....

I will be glad for any solutions. thanks for your time.

AnonymVJT commented 1 year ago

So in the end I find solution. My fix: Do it normally as David Bombal.

Make sure you all applications up to date

when you get to installing headers (sudo apt-get install linux-headers-uname -r or sudo apt-get install linux-headers-5.10.0kali6-amd64) skip it

In git clone command you have to write instead of aircrack-ng KanuX-14 (thats the user, who repair it)

And the last change: DO NOT reboot after exiting root

Thats worked for me. My machine: VirtualBox Machine, Kali Linux 2022.4 (kernel 6.1.0-kali5)

Thanks KanuX for the fix, ur my hero.