PDA

View Full Version : Raspberry Pi 3 and TP Link WN722N v2



ScaredasHell
2017-06-10, 20:35
Hello everyone,

So recently I bought Raspberry Pi 3 and TP Link WN722N v2 wifi dongle and can't get it working on Kali Linux OS. By typing "iwconfig" I only can see wlan0, which is internal RPi's adapter. I want TP Link to work as wlan1. I know that w2 is using Realtek drivers, i'm trying to get them installed, that's where i got into problems.

Tried to follow this guide: https://linuxforums.org.uk/index.php?topic=11261.0 and got stuck - when I try to do "make", i got this error:


root@kali:~/RTL8188EU/rtl8188eu# make
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.4.50-v7/build M=/root/RTL8188EU/r
make[1]: Entering directory '/usr/src/kernel'

WARNING: Symbol version dump ./Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /root/RTL8188EU/rtl8188eu/core/rtw_ap.o
/bin/bash: ./scripts/recordmcount: cannot execute binary file: Exec format error
scripts/Makefile.build:258: recipe for target '/root/RTL8188EU/rtl8188eu/core/rt
make[2]: *** [/root/RTL8188EU/rtl8188eu/core/rtw_ap.o] Error 126
Makefile:1402: recipe for target '_module_/root/RTL8188EU/rtl8188eu' failed
make[1]: *** [_module_/root/RTL8188EU/rtl8188eu] Error 2
make[1]: Leaving directory '/usr/src/kernel'
Makefile:151: recipe for target 'modules' failed
make: *** [modules] Error 2
root@kali:~/RTL8188EU/rtl8188eu#


I just did a fresh install of Kali Linux, ran some commands (apt-get update, apt-get upgrade, apt-get dist-upgrade), don't know what to do next and don't know how to wifi dongle working.. Please help.

Mister_X
2017-06-11, 01:27
As google suggest, try first "make scripts" (in the main directory) or "make recordmcount" (inside the scripts directory).

ScaredasHell
2017-06-11, 12:40
Hi Mister_X, thank you for you answer,

this is what i get:



root@kali:~/Desktop/rtl8188eu# make scripts
make: *** No rule to make target 'scripts'. Stop.
root@kali:~/Desktop/rtl8188eu# make recordmcount
make: *** No rule to make target 'recordmcount'. Stop.
root@kali:~/Desktop/rtl8188eu#



Any other solutions?

alpha_scrub
2017-07-06, 02:11
I am having a similar issue. TP-Link works fine on my windows desktop. But for some reason the Raspberry Pi 3 or Kali isn't detecting the adapter. I also ran the same three commands in addition to apt-get install kali-linux-full . My iwconfig also only shows wlan0, the wireless connection to my router I used to download packages. I read it was "plug and play" but apparently it isn't. Am I missing something?

re4son
2017-07-07, 04:48
I can't get my hand on one of those babies for testing so I took a wild shot in the dark and it looks promising:https://pbs.twimg.com/media/DEGx3B2XoAA16p8.jpg:medium

Testers needed: Please install the "testing" release of my kernel and let me know if it works:

https://whitedome.com.au/re4son/re4son-kernel/

Happy hacking

adolfaka
2017-07-22, 06:58
Could not configure TL-WN722N v2 on RPi 3B with Linux kali 4.9.24-Re4son-v7+ #20 SMP Wed Jul 12 21:33:35 AEST 2017 armv7l GNU/Linux. Please help setup!

http://upload.akusherstvo.ru/thumbs/1341165.png (http://upload.akusherstvo.ru/image1341165.png)

Waspberry Pee
2017-07-26, 20:56
Hi ScaredasHell,

I have exactly the same hardware as you, and I'm also having the same problem. If your Raspberry Pi 3 is a model B, then according to this page : http://elinux.org/RPi_USB_Wi-Fi_Adapters you might need a powered USB hub. Moreover, on my TP-Link TL-WN722N the green led is not lit when I plug it to the Rasp (but it is when plugged to a Windows PC), so I suspect this is indeed a power supply issue.

Apparently the v2 model of this dongle has different specs (not the same chipset) from the v1 which causes some compatibility problems with Linux distros.
Here are the v1 specs : https://wikidevi.com/wiki/TP-LINK_TL-WN722N
And here the v2 : https://wikidevi.com/wiki/TP-LINK_TL-WN722N_v2

I hope this will help you :D