How to compile rtl8192eu driver?

Post Reply
Message
Author
Wognath
Posts: 423
Joined: Sun 19 Apr 2009, 17:23

How to compile rtl8192eu driver?

#1 Post by Wognath »

I recently purchased a tp-link TL-WN822N V4 usb wireless adapter, which requires rtl8192eu driver. On the box it says "Operating System: Windows...Mac...Linux" It comes with a drivers disk; however under Linux it just has a text file instructing to go to tplink.com and download the Linux drivers. The drivers there "Support linux(kernel 2.6.18 ~ 3.10.10)" :(

rcrsn51 made a pet of this driver for 3.14.56 kernel here. I'm trying to make a driver for 3.14.20 (Tahr 6.0).

I have tried several driver packages 1 (tplink), 2 (this one has an install script), 3, 4. All of them result in the error
Makefile:#### recipe for target 'modules' failed

I don't know what I'm doing here, but I'd appreciate information and suggestions.
-------------------
Pelo wrote:If you want to buy a Wifi adapter, read the forum well to make the right choice, otherwise you will have spent euros for nothing.
One: the adapter must be listed in the Puppy Linux models
Two: rcrsn51 must have compiled a driver
trop tard :(

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

Have you installed the kernel sources SFS?

What kind of install do you have? full, frugal, save file/folder.

Run the command: lsusb. Identify the vendor:product ID codes, like 0bda:8187.

Wognath
Posts: 423
Joined: Sun 19 Apr 2009, 17:23

#3 Post by Wognath »

Thank you for the quick reply.
Have you installed the kernel sources SFS?
** :oops: **
What kind of install do you have?
frugal, save folder
Run the command: lsusb. Identify the vendor:product ID codes
2357:0108
Kernel sources installed (I thought devx was enough). Using link #4 above, "make" produces 8192eu.ko. The driver only allows me to connect to open wifi. The specs for WL-822N say wpa2-psk is supported. Is there some option I needed to specify?

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#4 Post by rcrsn51 »

The driver only allows me to connect to open wifi
Did you try to connect to a secure network?

What connection manager are you using - Dougal? It will ask you if it's OK to connect with WPA. Answer yes.

I built this driver for Tahr 605 with the source from here and it works fine with WPA using PeasyWiFi.

Wognath
Posts: 423
Joined: Sun 19 Apr 2009, 17:23

#5 Post by Wognath »

Did you try to connect to a secure network? Yes WPA2-PSK CCMP

What connection manager are you using - Dougal? I've tried them all!
Dougal
Load network module/specify 8192eu -> wlan1 appears in list
The first time loaded it asked if this module should be added to wpa list--I answered yes.
Scans networks ok
Load my profile/use -> Status: scanning and Status: associating alternate until "Unable to establish wpa connection" message appears :(

Peasywifi
I/F shows wlan0 and 1 --I don't know how to choose, but wlan0 is turned off
Profile/Scan produces list
Connect my profile -> connection failed message
Connect to open networks/Scan/connect -> Wifi connected message

wpa_supplicant command line: output here

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#6 Post by rcrsn51 »

In PeasyWiFi, read the basic instructions. Then click Config and change the interface to wlan1. Restart.
Connect my profile -> connection failed message
Connect to open networks/Scan/connect -> Wifi connected message
You can try the github driver that I used, but I can't imagine that there would be a big difference.

Try resetting your router. I tried my version with a second WPA2 router and it worked fine.

Wognath
Posts: 423
Joined: Sun 19 Apr 2009, 17:23

#7 Post by Wognath »

click Config and change the interface to wlan1
Edit the profile, yes, I did that.
You can try the github driver that I used
It appears to be identical.
Thanks for your time. If I find my mistake, I'll post it here.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#8 Post by bigpup »

I'm trying to make a driver for 3.14.20 (Tahr 6.0)
If you are really using Tahrpup 6.0.
That version is really buggy.

You really should be using Tahrpup 6.0.5 or 6.0.6.

You can update Tahrpup 6.0.

Click on Quickpet icon on desktop.
Quickpet->Info->Tahrpup bug fixes or tahrpup updates.

After all the bug fixes are installed, good idea to reboot so they all get saved.

Now start the Puppy Package Manager(PPM)
Should be offered the 6.0.2 and 6.0.3 service packs.
Install them.
Reboot.

Should now be totally updated to the date you did this.

Small bug in Tahrpup.
The only place it will show the updated version is in Quickpet->Info, at bottom of window. All other places will still show probably 6.0 or maybe 6.0.2
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Wognath
Posts: 423
Joined: Sun 19 Apr 2009, 17:23

#9 Post by Wognath »

@Bigpup Thanks for the information. I do have the service packs up to 605. I tried 605 itself, but importing my save folder did not go well...
@rcrsn51 There's no problem with the driver. The router had a mac filter :roll: When they disabled it, WPA connection works. Thanks again.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#10 Post by rcrsn51 »

Wognath wrote:@rcrsn51 There's no problem with the driver. The router had a mac filter :roll: When they disabled it, WPA connection works.
Excellent. This has been a good test of the 8192eu driver.

I wonder if the 8192eu chipset is replacing the popular 8192cu (Pelo's favourite) in new retail adapters. I having been gradually building 8192eu PETs for a variety of current and older Puppies.

The problem with new Puppies is the ease with which people can churn out new kernels. There is no way to keep up. So people who buy an 8192eu adapter and expect it to work in their favourite Puppy may be disappointed.

Post Reply