[SOLVED] Error when trying to install wireless driver using "make" in FC12
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OK, my problem is that my wireless card has never worked - basically there aren't any widely available linux drivers, and there are many threads on getting the RTL8192E to work on many different forums, e.g. here, but none specifically for Fedora, so I think that this thread could potentially help many more users. FYI, my hardwired network connection works perfectly.
Fantastically however, by emailing Realtek support, they'll send you their Linux driver, which most people have claimed works perfectly (although why they haven't just put it on their website is beyond me). SO, I've got a Linux driver for my wireless card.
PROBLEM: When Realtek emailed me to send me the driver, they said to just 'cd' into the driver directory, then do
Quote:
Originally Posted by Realtek support
su
make clean
make
make install
reboot
./wlan0up or ./wlan1up
OK, so I tried to do this and get the following error:
Quote:
Originally Posted by spiderjims FC12 machine
make: *** /lib/modules/2.6.32.9-70.fc12.i686/build: No such file or directory. Stop.
make: *** [all] Error 2
I don't know enough about linux to understand this error. I really don't want to have to recompile my kernel, and I hope there is some way to install this driver with not too much hassle.
Please can someone help me to overcome this error, and install my wireless driver so I can get wireless network access on my Fedora 12 operating system. I've found Fedora 12 really easy to use so far, but this is proving quite hard!
If you need any more info, please ask! Thanks in advance for anyones help!
EDIT: This is the output of 'ls -lh' in the folder which seems to be causing the error, namely /lib/modules/2.6.32.9-70.fc12.i686/
What have you got in /usr/src/kernels/2.6.32.9-70.fc12.i686 ?
The contents of that folder are listed in the OP. There is nothing in the folder /lib/modules except three folders, called 2.6.31.12-174.2.22.fc12.i686, 2.6.31.12-174.2.3.fc12.i686, and 2.6.32.9-70.fc12.i686.
The result of 'rpm -q kernel-devel' is
Quote:
package kernel-devel is not installed
I'm not able to install it immediately, but I'll do it tonight and update this thread. Hopefully the solution will be as simple as you suggest!
Thanks again for your help.
Last edited by spiderjim; 03-17-2010 at 08:16 AM.
Reason: typo
Firstly the make orders are in the wrong order, they should be
make
make install
make clean
If this time (or whichever time) is not the very first time this code has been built, in the same source folder, I would be putting these commands back in the order they were initially in.
It's always good to run `clean` before doing a fresh `make`. If you want to clean the build-output area once you're all done, fine, but clean it before building in it, if it has been built before.
Many, many thanks smoker - I know it was probably quite obvious to some users, but something like installing kernel-devel would never had occured to me.
Also, big thanks to Realtek for supplying the driver - if anyone needs to get hold of this particular driver from Realtek, just email them at wlanfae [AT] realtek.com - they sent me the driver, free of charge, within literally 12 hours.
Quote:
Originally Posted by Quick review of the problem and steps taken to resolve it:
Problem
Realtek RTL8192e PCI wireless network controller failed to connect to wireless networks in Fedora 12.
'lspci' showed the RTL8192e device are present
'iwconfig' showed no wireless devices
Solution
1. Email Realtek technical support, wireless network controller department, at wlanfae@realtek.com, and ask for the Linux driver for your distribution of Linux - they sent me their most recent version, for both 32-bit and 64-bit architecture, which was called rtl8192e_linux_2.6.0013.0127.2010.tar.gz . Download the file.
2. Unzip this file using 'tar -zxvf rtl8192e_linux_2.6.0013.0127.2010.tar.gz '
3. Change into the new directory created, called rtl8192e_linux_2.6.0013.0127.2010.tar.gz.
4. Check kernel-devel package is installed, using 'rpm -q kernel-devel' [Thanks to user smoker for this].
4.a. If the package is installed, just switch to root user using 'su' and continue. If the package is NOT installed, switch to root user using 'su' and install the package using 'yum install kernel-devel' , saying 'yes' in all the right places. [Thanks to user smoker for this].
5. As root, in the rtl8192e folder, type:
5.a. 'make clean'
5.a. 'make'
5.b. 'make install'
5.c. 'make clean'
5.d. 'reboot' [Thanks to users smoker, GrapefruiTgirl and to Realtek technical support for these steps 5.a.-5.d.].
6. Upon rebooting, the system could detect and connect to wireless networks, including using WPA/WPA2 security.
Once again, thanks for all the help!
Last edited by XavierP; 03-17-2010 at 04:33 PM.
Reason: Extra info re: Realtek Support New Extra Info: Realtek mail addy mangled as they probably get enough of their own spam
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.