mfruba / kernel

152 stars 103 forks source link

Error when "Make" #7

Open caraneday opened 7 years ago

caraneday commented 7 years ago

Hi

uname -a

Linux kali 4.9.0-kali4-amd64 #1 SMP Debian 4.9.30-2kali1 (2017-06-22) x86_64 GNU/Linux

~/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417

make

"**" "NO SKRC,we will use default KSRC" "**" make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.9.0-kali4-amd64/build M=/root/Desktop/kernel/drivers/TL-WN722N_v2.0-Ralink/rtl8188EUS_linux_v4.3.0.8_13968.20150417 modules make[1]: /lib/modules/4.9.0-kali4-amd64/build: No such file or directory. Stop. Makefile:1367: recipe for target 'modules' failed make: [modules] Error 2

What can I do? I just bought the TL-WN722N(ES) Ver:1.0 because I did read on the internet it works on Kali :( I am desperate, I don't want to waste my money on buying something that wont work

mfruba commented 7 years ago

Read instruction in README before giving questions :| If you will have other problems, read answers in other reported open/closed issues before opening new one.

Is that so hard?

Rajssss commented 7 years ago

sir im having the same problem... please help me to figure it out.. im a beginner on kali.

Rajssss commented 7 years ago

ok i have solved it...

copied the build folder to /lib/modules/4.9.0-kali4-amd64. thats it.

you should close the issue now..!

caraneday commented 7 years ago

Read instruction in README before giving questions :| If you will have other problems, read answers in other reported open/closed issues before opening new one.

Is that so hard?

Yes, it is hard for me to understand. I am not an expert, not even a beginer. Can you please help me?

ghost commented 7 years ago

@caraneday i am having the same issue, please let me know if u find a solution

ghost commented 7 years ago

@Rajssss , please can you provide some more detail about where to extract and place the contents and what commands to run.

Rajssss commented 7 years ago

I have found the problem... Its with the headers. Check the headers... Tell me what your uname -a rive and whatbis your headers version also try to do a distro upgrade and update.

I though i have not tried it.

ghost commented 7 years ago

On Tue, 18 Jul 2017 at 9:35 AM, Rajssss notifications@github.com wrote:

I have found the problem... Its with the headers. Check the headers... Tell me what your uname -a rive and whatbis your headers version also try to do a distro upgrade and update.

I though i have not tried it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mfruba/kernel/issues/7#issuecomment-315955664, or mute the thread https://github.com/notifications/unsubscribe-auth/AcwzszV4v5-DZJw9Ieqg4t_GJvaOqWM2ks5sPDXxgaJpZM4OMyIC .

Thank you verryy much for replying , Yes this is about the headers, my kernal version is 4.9.0-kali3-amd64 while the headers available are for 4.9.0-kali4-amd64 , After I looked for solutions on the internet I found that because it is running on Live USB with persistence even after the update the kernel that Linux will boot on is the one from the downloaded ISO. But then i found this post: https://unix.stackexchange.com/questions/364457/how-to-change-the-boot-kernel-of-a-usb-live-w-persistent-running-kali . This guy seems to have found a solution but i am unable to follow his steps , i used the same command as him but it makes a .bin file not an image file, and i dont understand where he moved the inidrt. file from. Can you please read his answer and elaborate the steps. I would be very Thankful.

ghost commented 7 years ago

Actually, instead of messing around with the boot files, i downloaded a new weekly image which has by default 4.9.0-kali4-64 kernel version, then i downloaded the kernel headers without a problem and installed the lwfinger rtl8188eu driver peacefully and finally the router sprang to life . I can use internet and surf on the web but now the problem is that when i try to put it in monitor mode by # airmon-ng start wlan0, there are some processes that need to be killed , but as soon as i kill those processes my router turns off. Then i have to reboot to get it back on but still cant get it into monitor mode 😢

SebastianSmolorz commented 7 years ago

If you are running airmon-ng check kill then by killing those processes you are turning off your Netowork Manager, this means you will no longer be able to access the internet or do anything other than use the airmon/aircrack suite that requires network access. Most of the time it is not actually necessary to run check kill, only do so if you experience any problems with airmon.

ghost commented 7 years ago

@Sebastian Smolorz, yes you are right but the problem is that i cannot get it into monitor mode... img_1426 img_1430 img_1432 img_1440 img_1434 img_1436

arsalan86 commented 7 years ago

I've tried everything under the sun.

I think the hardware does not support monitor mode. I returned my adapter.

Rajssss commented 7 years ago

Guys i have found the problem and the solution! As @iMakeMyOwnRulez said it a damn problem with the headers. Its a bug. The latest kernel version is kali3 but it always give you kali3 even after a distro upgrade or reinstalling your system from the stable iso on kali website.. So, i have downloaded a weekly build and install it.. And till now not a single error..
Although. airmon-ng give ????? In driver section and also airmon-ng start wlan0gives error..?

ghost commented 7 years ago

@Rajssss , you may know me by the name Ali Arif on other forums, and yes you are right, i also downloaded the new weekly image and it is kali4 so no need to upgrade. And yes there are no more errors while installing the drivers, but now my problem is that i cant get it into monitor mode, i dont get the wlan0mon interface after typing # airmon-ng start wlan0 . Any guesses???

Rajssss commented 7 years ago

Hey.... @mfurba wrote something more after insmod... What is that for.. I think it is for Access Point set up...? May be. Or? Does this make any sense?

ghost commented 7 years ago

@Rajassss, i was thinking the same because i skipped all that stuff. Anyways have you got your's to work in monitor mode?

Rajssss commented 7 years ago

Hell no!😓

Rajssss commented 7 years ago

And my airmon-ng shows??? In driver.. But your shows rtl8188eu

???

ghost commented 7 years ago

Besides monitor mode i can surf the internet and use it just fine , is your situation the same? if so , we have a common purpose , we have to stay in contact , would you mind giving me your personal email? or contact me , my email is aliarif12333@gmail.com

Rajssss commented 7 years ago

Sure, Rajeshkumbhakar20@gmail.com My name is Rajesh Kumbhakar. And I am also able to surf the Internet..!

Rajssss commented 7 years ago

But you driver showd as rtl8188eu but mine it doesn't?

Luismi74 commented 7 years ago

same issues here, dont know what to do 👎

Oz-Shalev commented 7 years ago

Any luck guys? I have been trying to make my TP-LINK TL-WN722N V2.0 to work for the past 2 weeks and no luck from no solution presented in any forum... Have any of you tried to add "sudo" to your commands?

Oz-Shalev commented 7 years ago

Do any of you know if TP-LINK TL-WN722N V1.10 Works with Linux on monitor mode and all of that because I saw it has the Atheros AR9271 chipset but I don't want to buy another USB Internet adapter without knowing if it works..

Luismi74 commented 7 years ago

I heard that V1.00 works fine cause is atheros. And yes bro I added all my sudo commands, no luck. asked for refund and bought a D-link one with another chipset that is certified to work

ghost commented 7 years ago

Yes, the TP-LINK TL-WN722N V1 does work out of the box, And typing sudo before commands is only required if you are not running as a root user....and no luck so far. 😭 Well i do know the reason why its not working (its bout the PHY interface, for some reason the system cant recognize it, you can check it by typing airmon-ng , and you'll see "null" under PHY), but cant find a solution for it. You can try to ask bout it by posting on some forum and if you do , dont forget to share the link with us. Good Luck

ownmask commented 7 years ago

so i am trying to install the driver on kali with kernel 4.9.0-kali3-686-pae and i get this error. i fallow the instructions on the README and also tried what @Rajssss did moving the file in to the kernel in to it and it didnt work i still get this error. any suggestions.

"**" "NO SKRC,we will use default KSRC" "**" make ARCH=i386 CROSS_COMPILE= -C /lib/modules/4.9.0-kali3-686-pae/build M=/lib/modules/4.9.0-kali3-686-pae/kernel/drivers/net/wireless modules make[1]: /lib/modules/4.9.0-kali3-686-pae/build: No such file or directory. Stop. Makefile:1367: recipe for target 'modules' failed make: [modules] Error 2

Oz-Shalev commented 7 years ago

Did the new one you bought work? And if so which one is it and also I asked about the V1.10 because it is everywhere I look and it is Atheros

נשלח מהאפליקציה 'דואר' עבור Windows 10

מאת: Luis Miguel Parent Bonilla נשלח: יום ראשון 20 אוגוסט 2017 22:51 אל: mfruba/kernel עותק: OzLinux; Comment נושא: Re: [mfruba/kernel] Error when "Make" (#7)

I heard that V1.00 works fine cause is atheros. And yes bro I added all my sudo commands, no luck. asked for refund and bought a D-link one with another chipset that is certified to work — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.


הודעת דוא"ל זו נבדקה לאיתור וירוסים על ידי תוכנת האנטי-וירוס של avast.

https://www.avast.com/antivirus

New4nc3 commented 7 years ago

in my case, best solution was next: uname -r sudo apt-get install linux-header-{your version of uname -r}git

ghost commented 6 years ago

@New4nc3 can you explain it in more detail on what to do?

ACROBAT41 commented 6 years ago

Is there any solution yet??? for TP-LINK TL-WN722N V2.0 to work...

D4rkCh4n commented 5 years ago

I HAVE FOUND THE SOLUTION !!! Kimcoder was kind enough to fix this Compilation error for us. It turns out that there was some type error in the Make file as a result the make compilation was failing. Clone from this link and follow his steps mentioned. Git clone https://github.com/aircrack-ng/rtl8188eus.git Be sure to update and upgrade your system before procedding

ghost commented 5 years ago

@D4rkCh4n Did you test this ?

D4rkCh4n commented 5 years ago

Yes, tested and it's Working great with aircrack suite.

ghost commented 5 years ago

Thank you so much for sharing , it finally worked for me too.

On Mon, Sep 9, 2019, 5:53 AM D4rkCh4n notifications@github.com wrote:

Yes, tested and it's Working great with aircrack suite.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mfruba/kernel/issues/7?email_source=notifications&email_token=AHGDHM57M4DZ34AIZMTWI5TQIWNA5A5CNFSM4DRTEIBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6F7C4I#issuecomment-529265009, or mute the thread https://github.com/notifications/unsubscribe-auth/AHGDHM6KMLXBYQ2ANROO6Z3QIWNA5ANCNFSM4DRTEIBA .

Rajssss commented 5 years ago

Thank you so much for sharing , it finally worked for me too. On Mon, Sep 9, 2019, 5:53 AM D4rkCh4n @.***> wrote: Yes, tested and it's Working great with aircrack suite. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#7?email_source=notifications&email_token=AHGDHM57M4DZ34AIZMTWI5TQIWNA5A5CNFSM4DRTEIBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6F7C4I#issuecomment-529265009>, or mute the thread https://github.com/notifications/unsubscribe-auth/AHGDHM6KMLXBYQ2ANROO6Z3QIWNA5ANCNFSM4DRTEIBA .

wew, so after so long, can u summarize what u did?

ghost commented 5 years ago

Thank you so much for sharing , it finally worked for me too. On Mon, Sep 9, 2019, 5:53 AM D4rkCh4n @.***> wrote: Yes, tested and it's Working great with aircrack suite. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#7?email_source=notifications&email_token=AHGDHM57M4DZ34AIZMTWI5TQIWNA5A5CNFSM4DRTEIBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6F7C4I#issuecomment-529265009>, or mute the thread https://github.com/notifications/unsubscribe-auth/AHGDHM6KMLXBYQ2ANROO6Z3QIWNA5ANCNFSM4DRTEIBA .

wew, so after so long, can u summarize what u did?

@Rajssss , you can find the instructions in the Readme file : https://github.com/aircrack-ng/rtl8188eus.git Just follow the instructions and you'll be good to go!