Re: how to compile a wifi driver
I worked on this for quite a while and finally, finally got it to make and install. Perhaps some of the steps I will outline are redundant, but that's what worked for me.
DISCLAIMER: I do not use the Realtek 8192SE, so I cannot tell if this drives the device properly; these steps merely build the module you linked.
All the steps in 'Code' blocks are terminal commands. Please enter each individually. This assumes you have internet access on the computer on which the module is to be compiled and installed.
Code:
sudo apt-get install build-essential linux-source-2.6.31 linux-headers-generic
cd /usr/src
sudo tar -xvjf linux-source-2.6.31.tar.bz2
sudo ln -s /usr/src/linux-source-2.6.31 /usr/src/linux
cd ~
mkdir Realtek
cd Realtek
wget http://launchpadlibrarian.net/33927923/rtl8192se_linux_2.6.0010.1012.2009.tar.gz
tar -xvzf rtl8192se_linux_2.6.0010.1012.2009.tar.gz
cd rtl8192se_linux_2.6.0010.1012.2009
make
sudo su
make install
I have assumed you are running kernel 2.6.31-xx. Find out with:It will be something like this:The source you need is the first part only, in this case, 2.6.31. If your running kernel is different, customize these commands to match.
Some of these steps will take a few moments and spit out many lines of text. Please be patient. Please stop and post back with a question if you see the dreaded 'Error.' Next do:
Code:
modprobe r8192se_pci
iwconfig
Do you now have a wireless interface, wlan0, perhaps? Can you click the Network Manager and connect?
EDIT: Added additional required packages.
Last edited by chili555; December 3rd, 2009 at 12:07 AM.
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
Bookmarks