RTL8192cu from source for CentOS 5

Issues related to hardware problems
Post Reply
apolonio
Posts: 16
Joined: 2010/04/27 14:05:12
Contact:

RTL8192cu from source for CentOS 5

Post by apolonio » 2013/02/23 10:37:25

I got another Wifi USB unit today and it was the second one based on the RTL8192cu chipset.

I know that it is available via ELRepo but put together something in case someone wanted to install from source.

http://www.apolonio.com/node/40

In case anyone else is interested.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: RTL8192cu from source for CentOS 5

Post by TrevorH » 2013/02/25 10:31:59

Why would anyone [u]want[/u] to install from source when the driver is available from ELRepo?

ELRepo version: survives kernel upgrades, does not require a development environment to be installed, well maintained and regularly updated.

Source install: breaks every time the kernel is updated, requires a huge list of development packages to be installed, will never get updated unless you go out and get the new source and start over.

apolonio
Posts: 16
Joined: 2010/04/27 14:05:12
Contact:

Re: RTL8192cu from source for CentOS 5

Post by apolonio » 2013/03/04 20:33:46

I wanted to fit CentOS on a system with 128MB of Flash and 1GB of RAM and needed to trim down the kernel and remove some other things in there.

Also, I have another environment/build process with no 3rd party repos, no dag, no atrpms, no elrepo. No CentOS plus either, so I needed to figure it out from source.

Just sharing information in case someone ever needs to go this route like how I had to.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

RTL8192cu from source for CentOS 5

Post by gerald_clark » 2013/03/04 21:05:28

How can compiling from source possibly require less RAM and disk space than a precompioled module?
Your arguments hold no water.

apolonio
Posts: 16
Joined: 2010/04/27 14:05:12
Contact:

Re: RTL8192cu from source for CentOS 5

Post by apolonio » 2013/03/04 22:26:32

On this smaller system, I compile it on another machine, and just copy the /lib/modules/(kernel), I confused the issue when I mentioned that, so in hindsight I should not have said anything regarding the project I am working on.

You ask when someone can't use elrepo, my response is because maybe they can't use a 3rd party repo, just the stock CentOS (or RHEL). I wasn't sure if the rpm installed firmware, I checked and IIRC it didn't.

Also, I did this to share what I went through, there may be another Wifi adapter out there that is not in ELREPO, maybe someone can benefit from what I went through.

Post Reply