LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-17-2010, 05:45 AM   #1
spiderjim
LQ Newbie
 
Registered: Nov 2009
Location: Sheffield, England
Distribution: Fedora 12
Posts: 8

Rep: Reputation: 0
Error when trying to install wireless driver using "make" in FC12


Hi,

The relevant details of my setup are:

Samsung R522 laptop
Realtek RTL8192E wireless network controller (PCI)
Fedora 12, kernel 2.6.32.9-70.fc12.i686 (automatically updated using software update)

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/

Quote:
total 3.1M
lrwxrwxrwx 1 root root 46 2010-03-16 22:53 build -> ../../../usr/src/kernels/2.6.32.9-70.fc12.i686
drwxr-xr-x 2 root root 4.0K 2010-03-03 05:28 extra
drwxr-xr-x 11 root root 4.0K 2010-03-16 22:53 kernel
-rw-r--r-- 1 root root 498K 2010-03-16 22:53 modules.alias
-rw-r--r-- 1 root root 486K 2010-03-16 22:53 modules.alias.bin
-rw-r--r-- 1 root root 1.7K 2010-03-03 05:28 modules.block
-rw-r--r-- 1 root root 69 2010-03-16 22:53 modules.ccwmap
-rw-r--r-- 1 root root 202K 2010-03-16 22:53 modules.dep
-rw-r--r-- 1 root root 296K 2010-03-16 22:53 modules.dep.bin
-rw-r--r-- 1 root root 92 2010-03-03 05:28 modules.drm
-rw-r--r-- 1 root root 221 2010-03-16 22:53 modules.ieee1394map
-rw-r--r-- 1 root root 218 2010-03-16 22:53 modules.inputmap
-rw-r--r-- 1 root root 15K 2010-03-16 22:53 modules.isapnpmap
-rw-r--r-- 1 root root 29 2010-03-03 05:28 modules.modesetting
-rw-r--r-- 1 root root 1.8K 2010-03-03 05:28 modules.networking
-rw-r--r-- 1 root root 74 2010-03-16 22:53 modules.ofmap
-rw-r--r-- 1 root root 76K 2010-03-03 05:28 modules.order
-rw-r--r-- 1 root root 327K 2010-03-16 22:53 modules.pcimap
-rw-r--r-- 1 root root 1.2K 2010-03-16 22:53 modules.seriomap
-rw-r--r-- 1 root root 178K 2010-03-16 22:53 modules.symbols
-rw-r--r-- 1 root root 231K 2010-03-16 22:53 modules.symbols.bin
-rw-r--r-- 1 root root 758K 2010-03-16 22:53 modules.usbmap
lrwxrwxrwx 1 root root 5 2010-03-16 22:53 source -> build
drwxr-xr-x 2 root root 4.0K 2010-03-03 05:28 updates
drwxr-xr-x 2 root root 4.0K 2010-03-16 22:53 vdso
drwxr-xr-x 2 root root 4.0K 2010-03-03 05:28 weak-updates
[/quote]

Last edited by spiderjim; 03-17-2010 at 07:01 AM. Reason: Updating info
 
Old 03-17-2010, 07:16 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Firstly the make orders are in the wrong order, they should be
make
make install
make clean

Secondly, the directory /lib/modules/2.6.32.9-70.fc12.i686/build
is a link to /usr/src/kernels/2.6.32.9-70.fc12.i686

What have you got in /usr/src/kernels/2.6.32.9-70.fc12.i686 ?

Try running the command the right way around.

You may need to install kernel-devel

rpm -q kernel-devel

if not installed then

yum install kernel-devel
 
Old 03-17-2010, 08:15 AM   #3
spiderjim
LQ Newbie
 
Registered: Nov 2009
Location: Sheffield, England
Distribution: Fedora 12
Posts: 8

Original Poster
Rep: Reputation: 0
Hi, thanks for the reply.

Quote:
Originally Posted by smoker

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
 
Old 03-17-2010, 08:21 AM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
You did not list
/usr/src/kernels/2.6.32.9-70.fc12.i686
you listed
/lib/modules/2.6.32.9-70.fc12.i686/

Install kernel-devel and see if it works.
 
Old 03-17-2010, 11:17 AM   #5
spiderjim
LQ Newbie
 
Registered: Nov 2009
Location: Sheffield, England
Distribution: Fedora 12
Posts: 8

Original Poster
Rep: Reputation: 0
Sorry, right you are!

There is no file or folder /usr/src/kernels/2.6.32.9-70.fc12.i686 . In fact, the folder /usr/src/kernels/ is empty.

I'll update what happens when I install kernel-devel in a few hours when I've had chance to do it.

Thanks again for your help!
 
Old 03-17-2010, 03:01 PM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555
Quote:
Originally Posted by smoker View Post
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.

Sasha
 
Old 03-17-2010, 03:04 PM   #7
spiderjim
LQ Newbie
 
Registered: Nov 2009
Location: Sheffield, England
Distribution: Fedora 12
Posts: 8

Original Poster
Rep: Reputation: 0
SUCCESS!

I'm now surfing wire free!

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
 
Old 03-17-2010, 03:13 PM   #8
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
No problem, glad I could help.
Can you mark this thread as Solved for the benefit of others ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error: Error for wireless request "Set Mode" (8B06) : invalid argument "roaming" penguin chick Linux - Wireless Networking 5 08-22-2008 01:16 PM
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 06:25 PM
error on "make"command; ralink 2500 driver jimbrook Linux - Wireless Networking 2 05-23-2005 10:58 PM
Kernel make bzImage error "undefined reference" w/ Prism2.5 USB driver under 2.6 joachimvb Mandriva 1 09-24-2004 07:43 PM
Error "make: *** No rule to make target `install'. Stop." help Ohmn Mandriva 8 07-02-2004 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration