Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 22 Jun 2018, 02:07
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
How to compile rtl8192eu driver?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
Wognath

Joined: 19 Apr 2009
Posts: 405

PostPosted: Sun 09 Apr 2017, 13:22    Post subject:  How to compile rtl8192eu driver?
Subject description: for tplink TL-WN822N v4
 

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)" Sad

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 Sad
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12095
Location: Stratford, Ontario

PostPosted: Sun 09 Apr 2017, 14:20    Post subject:  

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.
Back to top
View user's profile Send private message 
Wognath

Joined: 19 Apr 2009
Posts: 405

PostPosted: Sun 09 Apr 2017, 17:22    Post subject:  

Thank you for the quick reply.
Have you installed the kernel sources SFS?
** Embarassed **
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?
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12095
Location: Stratford, Ontario

PostPosted: Sun 09 Apr 2017, 17:57    Post subject:  

Quote:
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.
Back to top
View user's profile Send private message 
Wognath

Joined: 19 Apr 2009
Posts: 405

PostPosted: Sun 09 Apr 2017, 19:35    Post subject:  

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 Sad

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
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12095
Location: Stratford, Ontario

PostPosted: Sun 09 Apr 2017, 20:04    Post subject:  

In PeasyWiFi, read the basic instructions. Then click Config and change the interface to wlan1. Restart.

Quote:
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.
Back to top
View user's profile Send private message 
Wognath

Joined: 19 Apr 2009
Posts: 405

PostPosted: Sun 09 Apr 2017, 20:35    Post subject:  

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.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 10591
Location: Charleston S.C. USA

PostPosted: Mon 10 Apr 2017, 00:50    Post subject:  

Quote:
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

_________________
I have found, in trying to help people, that 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 Shocked
Back to top
View user's profile Send private message 
Wognath

Joined: 19 Apr 2009
Posts: 405

PostPosted: Mon 10 Apr 2017, 17:37    Post subject:  

@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 Rolling Eyes When they disabled it, WPA connection works. Thanks again.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12095
Location: Stratford, Ontario

PostPosted: Mon 10 Apr 2017, 19:35    Post subject:  

Wognath wrote:
@rcrsn51 There's no problem with the driver. The router had a mac filter Rolling Eyes 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.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0502s ][ Queries: 11 (0.0039s) ][ GZIP on ]