Closed yoavst closed 8 years ago
I think that's all. Let me know if you figure it out so I can integrate your patch.
I am not a kernel developer. This is just a mirror for the official driver with some patches that I've found laying around the Web that made it compile on my Raspberry Pi 2.
Den ons 29 juni 2016 13:31Yoav Sternberg notifications@github.com skrev:
Ubuntu 16.04:
git clone https://github.com/Mange/rtl8192eu-linux-driver/ cd rtl8192eu-linux-driver make # added an ignore to date error on makefile sudo make install reboot
lsusb:
bus 001: Device 003: ID 2357:0108
Have I missed a step?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Mange/rtl8192eu-linux-driver/issues/6, or mute the thread https://github.com/notifications/unsubscribe/AAAGP-FQIeEOdaEok_NriQ25qL105uM9ks5qQlejgaJpZM4JBCTl .
Well, I'm Java developer, not C developer :(
I've contacted TP-Link and asked them for help. If there is something useful to this repo, I'll reopen the issue.
Thank you. Good luck!
Den ons 29 juni 2016 19:10Yoav Sternberg notifications@github.com skrev:
Well, I'm Java developer, not C developer :(
I've contacted TP-Link and asked them for help. If there is something useful to this repo, I'll reopen the issue.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/Mange/rtl8192eu-linux-driver/issues/6#issuecomment-229423370, or mute the thread https://github.com/notifications/unsubscribe/AAAGPzaJ6gm2mVPbUgY6k-nfwd2CwA_Oks5qQqcDgaJpZM4JBCTl .
They've pointed that the driver should only work with Linux (kernel 2.6.18 ~ 3.10.10)
. So I've checked their driver on Ubuntu 12.04 and it does work. I'll ask them to work on an update.
Thanks!
Den tor 30 juni 2016 20:30Yoav Sternberg notifications@github.com skrev:
They've pointed that the driver should only work with Linux (kernel 2.6.18 ~ 3.10.10). So I've checked their driver on Ubuntu 12.04 and it does work. I'll ask them to work on an update.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/Mange/rtl8192eu-linux-driver/issues/6#issuecomment-229747972, or mute the thread https://github.com/notifications/unsubscribe/AAAGPz9KSdgv2_xzuRLNPQ6BAlUKY-iPks5qRAtCgaJpZM4JBCTl .
Hello Mange this commit should work for yoavst https://github.com/jeremyb31/rtl8192eu-linux-driver/commit/56ccb6b05cff08de1beddbbd03efdb36eff1416d
It was pulled from http://www.tp-link.com/res/down/soft/TL-WN821N(EU)_V5_160315_Linux.zip for a poster on ubuntuforums
I've installed your driver @jeremyb31 ,
+ {USB_DEVICE(0x2357, 0x0108),.driver_info = RTL8192E}, /* TP-Link - Cameo */
Bus 001 Device 003: ID 2357:0108
...
So it still doesn't recognize it as a wireless adapter.
Maybe it is because I've tried to install other drivers before?
Check dkms status
There might be another version installed using dkms and causing issues. You can also check modinfo 8192eu | grep 0108
root@ubuntu:~# dkms status
root@ubuntu:~# lsusb
Bus 001 Device 002: ID 2357:0108
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@ubuntu:~# modinfo 8192eu | grep 0108
alias: usb:v2357p0108d*dc*dsc*dp*ic*isc*ip*in*
root@ubuntu:~# lsmod
Module Size Used by
cfg80211 565248 0
8192eu 929792 0
vmw_vsock_vmci_transport 28672 1
vsock 36864 2 vmw_vsock_vmci_transport
snd_ens1371 28672 2
snd_ac97_codec 131072 1 snd_ens1371
gameport 16384 1 snd_ens1371
ac97_bus 16384 1 snd_ac97_codec
coretemp 16384 0
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
aesni_intel 167936 0
snd_pcm 106496 2 snd_ac97_codec,snd_ens1371
aes_x86_64 20480 1 aesni_intel
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 32768 2 snd_ens1371,snd_seq_midi
snd_seq 69632 2 snd_seq_midi_event,snd_seq_midi
lrw 16384 1 aesni_intel
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_pcm,snd_seq
gf128mul 16384 1 lrw
snd 81920 11 snd_ac97_codec,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_ens1371,snd_seq_device
glue_helper 16384 1 aesni_intel
vmw_balloon 20480 0
ablk_helper 16384 1 aesni_intel
joydev 20480 0
input_leds 16384 0
soundcore 16384 1 snd
cryptd 20480 2 aesni_intel,ablk_helper
serio_raw 16384 0
nfit 32768 0
shpchp 36864 0
vmw_vmci 65536 2 vmw_vsock_vmci_transport,vmw_balloon
8250_fintek 16384 0
i2c_piix4 24576 0
mac_hid 16384 0
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 49152 3 lp,ppdev,parport_pc
autofs4 40960 2
hid_generic 16384 0
usbhid 49152 0
hid 118784 2 hid_generic,usbhid
vmwgfx 237568 3
ttm 98304 1 vmwgfx
drm_kms_helper 139264 1 vmwgfx
syscopyarea 16384 1 drm_kms_helper
psmouse 126976 0
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
drm 360448 6 ttm,drm_kms_helper,vmwgfx
mptspi 24576 2
mptscsih 40960 1 mptspi
ahci 36864 0
libahci 32768 1 ahci
e1000 135168 0
mptbase 102400 2 mptspi,mptscsih
scsi_transport_spi 32768 1 mptspi
pata_acpi 16384 0
fjes 28672 0
rfkill list all; lshw -c net
It should work as the module has the correct alias line
Oh, well. It does work! Just not shown on lsusb
as recognized. Thank you very much!
@Mange I think it worth merging ;)
Do you have a link to the source code for it? I could check it out then.
Den lör 16 juli 2016 17:22Yoav Sternberg notifications@github.com skrev:
Oh, well. It does work! Just not shown on lsusb as recognized. Thank you very much!
@Mange https://github.com/Mange I think it worth merging ;)
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Mange/rtl8192eu-linux-driver/issues/6#issuecomment-233124713, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAGP874nXAEPydldyz6_3pOxXPHxtQfks5qWPdGgaJpZM4JBCTl .
@Mange you just need to add https://github.com/jeremyb31/rtl8192eu-linux-driver/commit/56ccb6b05cff08de1beddbbd03efdb36eff1416d
Sent a pull request from jermy's repo.
Thanks. I'll get to it the next time I'm at my PC.
Den sön 17 juli 2016 15:55Yoav Sternberg notifications@github.com skrev:
Sent a pull request from jermy's repo.
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Mange/rtl8192eu-linux-driver/issues/6#issuecomment-233183204, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAGP_pBdYSTH-CJ93UH6CYrsJCAEUanks5qWjRUgaJpZM4JBCTl .
Thanks jeremyb31. Works perfectly with TP-Link WN822 V4 on MX-15 with Debian kernel 4.6.0-0.bpo.1-amd64 . I was tearing my hair out trying to compile the download from TP-Link site.
i have this tp link tl wn822n V4 iam using kali linux 2016.1 but wlan0 not showing up could any one give me any information to help me install this wn822n v4 i appreciate it
i used this drivers but nothing happend http://www.tp-link.com/en/download/TL-WN822N.html#Driver https://github.com/jeremyb31/rtl8192eu-linux-driver https://github.com/Mange/rtl8192eu-linux-driver/
git clone https://github.com/jeremyb31/rtl8192eu-linux-driver
cd rtl8192eu-linux-driver
sudo make
sudo make install
@yoavst i installed this driver git clone https://github.com/jeremyb31/rtl8192eu-linux-driver but the wireless is working so slow, any help about that please .
I used this driver only for vm and for kali Linux, so idk.
Thank you guys! This driver worked perfectly with my TL-WN822N EU/4.0 on Mint 17.3 with kernel 3.19. A life saver ;)
Works great iwth TL-WN822N on Ubuntu 16.04! Thanks guys!
Thank you all ! It works great with :
git clone https://github.com/jeremyb31/rtl8192eu-linux-driver cd rtl8192eu-linux-driver sudo make sudo make install
Thank you again. Just a small problem, when I reboot my PC I have to unplug/replug my dongle to have the wifi ? Someone has an issue ? Thank you again
Hi I have just compiled this driver for TL-WN822N Ver. 4.0 and it works. However, I cannot start hostapd with this card as it says that it cant set the device into AP mode. Also iw list does not shows any data (I was looking for Supported interface modes: AP) Can this card work as AP ?
Best Regards Marek
@frankipl I have exactly the same device, and the driver posted by @CGarces works like a charm for me in AP mode.
Hi With this module it works as an AP. However, I need to connect 80 devices to my AP, and it seems that this card is only able to connect 19, after connecting 19 devices it does not connect any more, hostapd freezes, even command strace does not show any data, I need to kill -9 hostapd - no... command doesn't work, reboot is needed.
With this config I have tested 6 different usb based wifi cards, so.... it is not easy ;)
Best Regards Marek
Hello,
I tried to install it, but when I enter the make command, this error is showing up:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.9.0-kali4-amd64/build M=/root/rtl8192eu-linux-driver modules make[1]: *** /lib/modules/4.9.0-kali4-amd64/build: No such file or directory. Stop. Makefile:1335: recipe for target 'modules' failed make: *** [modules] Error 2
Anyone knows what to do?
Thank you
@frankipl you can use multiple APs with the same ESSID. Don't know what it's your goal but maybe this would acheive it.
@Gourlae You need the linux-header files to compile. https://unix.stackexchange.com/a/328663/102332 Might be enough help
@jeremyb31 I have kali linux 2017.2 I want use my Tp-link tl-wn822n v 4.0 rtl8192EU firmware I tried to install the driver using this git clone https://github.com/jeremyb31/rtl8192eu-linux-driver cd rtl8192eu-linux-driver sudo make sudo make install But when I use make it shows some error Like Make:***[modules] Error 2 Please help
root@kali:~# cd rtl8192eu-linux-driver root@kali:~/rtl8192eu-linux-driver# make make ARCH=i386 CROSS_COMPILE= -C /lib/modules/4.12.0-kali2-686-pae/build M=/root/rtl8192eu-linux-driver modules make[1]: Entering directory '/usr/src/linux-headers-4.12.0-kali2-686-pae' CC [M] /root/rtl8192eu-linux-driver/core/rtw_cmd.o In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:32:0, from /root/rtl8192eu-linux-driver/core/rtw_cmd.c:22: /root/rtl8192eu-linux-driver/include/osdep_service.h: In function ‘thread_enter’: /root/rtl8192eu-linux-driver/include/osdep_service.h:342:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration] allow_signal(SIGTERM); ^~~~~~~~~~~~ /root/rtl8192eu-linux-driver/include/osdep_service.h: In function ‘flush_signals_thread’: /root/rtl8192eu-linux-driver/include/osdep_service.h:352:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration] if (signal_pending (current)) ^~~~~~~~~~~~~~ /root/rtl8192eu-linux-driver/include/osdep_service.h:354:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration] flush_signals(current); ^~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.12.0-kali2-common/scripts/Makefile.build:307: recipe for target '/root/rtl8192eu-linux-driver/core/rtw_cmd.o' failed make[4]: *** [/root/rtl8192eu-linux-driver/core/rtw_cmd.o] Error 1 /usr/src/linux-headers-4.12.0-kali2-common/Makefile:1532: recipe for target '_module_/root/rtl8192eu-linux-driver' failed make[3]: *** [_module_/root/rtl8192eu-linux-driver] Error 2 Makefile:152: recipe for target 'sub-make' failed make[2]: *** [sub-make] Error 2 Makefile:8: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.12.0-kali2-686-pae' Makefile:1335: recipe for target 'modules' failed make: *** [modules] Error 2
please help
Delete the current rtl8192eu-linux-driver directory and use Mange's version as it appears to have the patches to fix those errors
I want to know something about that Tp-link tl-wn822n which is rtl8192EU chipset does this device support moniter mode or packet injection
A new issue arrived while installing mange's driver
root@kali:~/rtl8192eu-linux-driver# make install install -p -m 644 8192eu.ko /lib/modules/4.12.0-kali2-686-pae/kernel/drivers/net/wireless/ /sbin/depmod -a 4.12.0-kali2-686-pae depmod: ERROR: fstatat(3, buil): No such file or directory
I would try
sudo depmod -a
See if any errors show or you can just add 8192eu to /etc/modules
Thanks guys for your effort in making this all doable. I'm getting what looks like small errors in the makefile log. This may be do to the RPI 4 B 64 OS?
DKMS make.log for rtl8192eu-1.0 for kernel 5.10.17-v8+ (aarch64) Fri 26 Mar 2021 04:41:39 PM CET make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.10.17-v8+/build M=/var/lib/dkms/rtl8192eu/1.0/build modules make[1]: Entering directory '/usr/src/linux-headers-5.10.17-v8+' CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o gcc: error: unrecognized argument in option ‘-mabi=apcs-gnu’ gcc: note: valid arguments to ‘-mabi=’ are: ilp32 lp64 gcc: error: unrecognized command line option ‘-mapcs’; did you mean ‘--specs’? gcc: error: unrecognized command line option ‘-mno-sched-prolog’; did you mean ‘-Wno-sign-promo’? gcc: error: unrecognized command line option ‘-msoft-float’ make[2]: [scripts/Makefile.build:279: /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o] Error 1 make[1]: [Makefile:1804: /var/lib/dkms/rtl8192eu/1.0/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.10.17-v8+' make: *** [Makefile:1700: modules] Error 2
Hi @Neilpmcd
Looks like an issue with ARM64 compilation not something related to this bug on tl-wn822n from 5 years ago.
I'm not sure about the parameters of your make.
Please follow the README.md
Also you can use the command line.
make CONFIG_PLATFORM_ARM_AARCH64=y CONFIG_PLATFORM_I386_PC=n
If still failing, please open a new issue.
Very much appreciated, will do now.
It looked like Mange was combining two directories into one clone command, I wasn't sure I had it right but will go with your take.
Thanks,
Neil.
Makefile:681: arch/aarch64/Makefile: No such file or directory
Now, it really appears like one small steps. The readme and the commands you shared seemed to download all the drivers (I hope you don't mind here, I'm happy to create new):
Building module: cleaning build area... 'make' all KVER=5.10.17-v8+...(bad exit status: 2) Error! Bad return status for module build on kernel: 5.10.17-v8+ (aarch64) Consult /var/lib/dkms/rtl8192eu/1.0/build/make.log for more information.
DKMS make.log for rtl8192eu-1.0 for kernel 5.10.17-v8+ (aarch64) Sun 28 Mar 2021 02:42:27 PM CEST make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/5.10.17-v8+/build M=/var/lib/dkms/rtl8192eu/1.0/build modules make[1]: Entering directory '/usr/src/linux-headers-5.10.17-v8+' Makefile:681: arch/aarch64/Makefile: No such file or directory make[1]: No rule to make target 'arch/aarch64/Makefile'. Stop. make[1]: Leaving directory '/usr/src/linux-headers-5.10.17-v8+' make: [Makefile:2293: modules] Error 2
Ubuntu 16.04:
lsusb:
Have I missed a step?
Answer
@jeremyb31's repo does work.
Then it will be shown on
iwconfig
, although onlsusb
it will show as before.If doesn't work try
rfkill list all; lshw -c net