rtl8188eus icon indicating copy to clipboard operation
rtl8188eus copied to clipboard

Make error

Open KedarJoshi11 opened this issue 4 years ago • 152 comments

Hi

After cloning, when I run the make && make install command, it throws the following error.

/bin/sh: 1: bc: not found make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.0-kali3-amd64/build M=/root/rtl8188eus modules make[1]: *** /lib/modules/5.4.0-kali3-amd64/build: No such file or directory. Stop. make: *** [Makefile:2047: modules] Error 2

Please help. This Wireless LAN isn't even showing up when I do ifconfig. My other adapter of Netgear is working fine.

image

KedarJoshi11 avatar Jul 02 '20 16:07 KedarJoshi11

same here: image

mg-lopez avatar Jul 02 '20 23:07 mg-lopez

You have to install the linux headers

sudo apt-get install linux-headers-$(uname -r)

SmillerMP avatar Jul 03 '20 02:07 SmillerMP

You have to install the linux headers

sudo apt-get install linux-headers-$(uname -r)

image

See this, can you help me find headers for this version?

KedarJoshi11 avatar Jul 03 '20 07:07 KedarJoshi11

same here: image

Can you tell me which wireless adapter you are using?

KedarJoshi11 avatar Jul 03 '20 07:07 KedarJoshi11

@KedarJoshi11 Try with this comand

sudo apt-get install build-essential linux-headers-$(uname -r)

I use the tl-wn722n v3, but I think it has nothing to do with the adapter

SmillerMP avatar Jul 03 '20 13:07 SmillerMP

@KedarJoshi11 Try with this comand

sudo apt-get install build-essential linux-headers-$(uname -r)

I use the tl-wn722n v3, but I think it has nothing to do with the adapter

@SmillerMP

I used the command you suggested. Still the same result, how do you think this can be resolved?

KedarJoshi11 avatar Jul 03 '20 14:07 KedarJoshi11

@KedarJoshi11 Try with this comand

sudo apt-get install build-essential linux-headers-$(uname -r)

I use the tl-wn722n v3, but I think it has nothing to do with the adapter

image

see this.

KedarJoshi11 avatar Jul 03 '20 14:07 KedarJoshi11

5.4.0-kali3-amd64

I need to find a header file for this version.

KedarJoshi11 avatar Jul 03 '20 14:07 KedarJoshi11

can you install programs?

Try to install screenfetch

sudo apt-get install screenfetch

And post the result

And yes you need the linux headers for that version

SmillerMP avatar Jul 03 '20 14:07 SmillerMP

same here: image

Can you tell me which wireless adapter you are using?

I am using the TL-WN722N v2

mg-lopez avatar Jul 03 '20 14:07 mg-lopez

same here: image

Can you tell me which wireless adapter you are using?

I am using the TL-WN722N v2

For Arch Linux users use sudo pacman -S linux56-headers for the latest 5.6 headers

mg-lopez avatar Jul 03 '20 15:07 mg-lopez

@KTM888

sorry I don't know that much about Arch Linux

SmillerMP avatar Jul 03 '20 16:07 SmillerMP

@KedarJoshi11 @KTM888 You have to search the linux headers for your system

SmillerMP avatar Jul 03 '20 16:07 SmillerMP

the headers work fine but, when i try to set it to monitor mode i get an error Screenshot_20200703_170427 i did sudo ifconfig wlp0s20f0u2 down && sudo airmon-ng check kill && sudo iwconfig wlp0s20f0u2 mode monitor, however i can set as auto mode by using the command sudo iwconfig wlp0s20f0u2 mode auto Screenshot_20200703_170714

mg-lopez avatar Jul 03 '20 16:07 mg-lopez

@KTM888 You must to put your adapter on monitor mode with the comands:

sudo airmon-ng check kill
sudo ip link set (adapter name) down
sudo iw dev (adapter name) set type monitor

SmillerMP avatar Jul 03 '20 16:07 SmillerMP

@KedarJoshi11 @KTM888 You have to search the linux headers for your system

Yes, I know. But I can't find them at the moment the version I am using apparently there are none. I can't find them on the internet at the moment.

uname -r gives this result.

5.4.0-kali3-amd64

Can't find headers for this even on that long list of page where headers for different versions are present.

KedarJoshi11 avatar Jul 03 '20 18:07 KedarJoshi11

same here: image

Can you tell me which wireless adapter you are using?

I am using the TL-WN722N v2

For Arch Linux users use sudo pacman -S linux56-headers for the latest 5.6 headers

not work for me :( , 5.4.50-1-lts kernel

murprakoso avatar Jul 09 '20 10:07 murprakoso

I couldn't find the header files for the my kernel version either. Let me know if you find something that resolves this please.

On Thu, Jul 9, 2020 at 3:41 PM Eko Prakoso [email protected] wrote:

same here: [image: image] https://user-images.githubusercontent.com/66633291/86416076-e500d080-bcc0-11ea-8fcf-f64ab8b375a9.png

Can you tell me which wireless adapter you are using?

I am using the TL-WN722N v2

For Arch Linux users use sudo pacman -S linux56-headers for the latest 5.6 headers

not work for me :( , 5.4.50-1-lts kernel

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aircrack-ng/rtl8188eus/issues/64#issuecomment-656039077, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOGJQ24OFWWY6TKTZLBT7LR2WJVPANCNFSM4OPBRQMQ .

KedarJoshi11 avatar Jul 10 '20 08:07 KedarJoshi11

Hi guys, the problem was fixed, thanks @kimocoder

SmillerMP avatar Jul 13 '20 14:07 SmillerMP

How, can you tell me as well? My wireless adapter is still not working?

On Mon, Jul 13, 2020 at 7:46 PM SmillerMP [email protected] wrote:

Hi guys, the problem was fixed, thanks @kimocoder https://github.com/kimocoder

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aircrack-ng/rtl8188eus/issues/64#issuecomment-657587309, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOGJQ7RFUGNIJXFABYRZ2TR3MJL3ANCNFSM4OPBRQMQ .

KedarJoshi11 avatar Jul 13 '20 14:07 KedarJoshi11

Clone and make again!

SmillerMP avatar Jul 13 '20 16:07 SmillerMP

Clone and make again!

Did this on a completely new installation of Kali 2020.2a. But can't install Linux headers for this one either. Meanwhile, my other Netgear Wireless adapter works perfectly fine on the same system.

image

KedarJoshi11 avatar Jul 13 '20 18:07 KedarJoshi11

You do not have "bc": apt-get install bc U use " infrodnt of echo? why?

kimocoder avatar Jul 13 '20 19:07 kimocoder

You do not have "bc": apt-get install bc U use " infrodnt of echo? why? -->

Hi Christian,

I accidently copied it from the instructions with the quotation mark, then I realized that I already did that before. Anyway, I did apt-get install bc, but I am still getting this error.

image

KedarJoshi11 avatar Jul 13 '20 19:07 KedarJoshi11

Missing the most essential, kernel headers. apt-cache search linux-headers

kimocoder avatar Jul 13 '20 19:07 kimocoder

Missing the most essential, kernel headers. apt-cache search linux-headers

I used this command and then did make && make install. Still the same error.

image

KedarJoshi11 avatar Jul 14 '20 07:07 KedarJoshi11

try sudo apt-get install bc

Tymofei avatar Jul 15 '20 19:07 Tymofei

you can find linux-headers in http://http.kali.org/kali/pool/main/l/linux/

InstanXXteternal avatar Jul 16 '20 13:07 InstanXXteternal

also receiving this error - brutal

barrett092 avatar Jul 24 '20 02:07 barrett092

me too has this prolem , make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.7.0-kali1-amd64/build M=/home/kali/Desktop/rtl8188eus/rtl8188eus modules make[1]: Entering directory '/usr/lib/modules/5.7.0-kali1-amd64/build' make[1]: *** No rule to make target 'modules'. Stop. make[1]: Leaving directory '/usr/lib/modules/5.7.0-kali1-amd64/build' make: *** [Makefile:2313: modules] Error 2 i installed header

venken avatar Jul 27 '20 16:07 venken