So this weekend I decided to install Fedora 9 (64 bit version) on my laptop. After some time I installed it successfully, and am currently dual booting Vista with Fedora 9. Unfortunately on Fedora 9 both my wireless and my ethernet card aren't picked up by the OS, meaning drivers need to be installed for them. I look up drivers for my ethernet card which is a Realtek RTL8102E. I eventually find one off the Realtek Website, but notice the file is a tar.bz2, which I have no idea how to work considering I'm pretty new at this whole Linux thing. Luckily there's a readme in the file in the folder, but it doesn't seem to work according to their instructions. Does anyone have any idea how to install this driver?
I did download that file, I downloaded it again and tried it from the top, this is what I did...
[Khurram@localhost ~]$ cd /home/Khurram/Desktop [Khurram@localhost Desktop]$ tar vjxf r8101-1.010.00.tar.bz2 r8101-1.010.00/ r8101-1.010.00/readme r8101-1.010.00/Makefile r8101-1.010.00/src/ r8101-1.010.00/src/Makefile_linux24x r8101-1.010.00/src/rtl_eeprom.c r8101-1.010.00/src/r8101_n.c r8101-1.010.00/src/rtl_ethtool.h r8101-1.010.00/src/rtl_eeprom.h r8101-1.010.00/src/Makefile r8101-1.010.00/src/r8101.h [Khurram@localhost Desktop]$ cd r8101-1.010.00 [Khurram@localhost r8101-1.010.00]$ sudo make clean modules [sudo] password for Khurram: Khurram is not in the sudoers file. This incident will be reported. [Khurram@localhost r8101-1.010.00]$
I tried the same while in the root, and when I did that it said "sudo: make: command not found.". I figure there's something more to the "Khurram is not in the sudoers file." I just have no idea what.
On fedora/redhat type boxes, you have to put yourself in the sudoers file. Either login as root or use 'su' to change to root when logged in as you. (ie, get to the # prompt). Once there, edit /etc/sudoers with your favorite editor ( nano -w /etc/sudoers )
About halfway down the file you'll see an entry for root that looks something like: root all=(all) all
Below it, copy that line with your username: Khurram all=(all) all
After saving that file, your account now has sudo privs to do anything you want.
It looks like you were on the right track, sudo just hung you up. So you untarred it correctly. If you want to avoid sudo you can do the four steps as root. So before running the following, either just 'su' login directly as 'root' or sudo bash to just give you a root shell. Any of them work.
make clean modules make install depmod -a insmod ./src/r8101.ko
Now, chances are good you don't have the kernel dev modules installed, so you may need to do the following before compiling your driver:
yum install kernel-devel
I believe that should get you all the kernel headers you'll need for the compile.
I ended up setting up my account in the sudo, but still got nowhere. This time when I typed "sudo make clean modules" and typed in the password it gave me "sudo: make: command not found".
I can't yum install anything, considering I'm not connected to the internet on Fedora. I am on Vista which is how I'm posting this, but on Fedora I have zero access to the internet.
Add your install disk as a repository in your package manager and disable the others till you get this problem fixed (you may need to edit the rc files manually). As stated before the kernel-devel files matching your build will be on your disk, install those and double check that you have Development>Development Libraries group installed as well.
Then cd into the source directory
# su Password: ****** # make clean && make modules # make install
As for your wireless card, I wish you luck on that one.
Well I've checked my CD many times, I can't seem to find the kernel-devel file anywhere (Probably because the disk I installed from is a live CD not the DVD install). The one I downloaded from the link Kull gave me above gives me an internal error every time I tried to run the .rpm. Seems like I keep running into problem after problem. I've tried to look if standard updates are downloadable so I can put on a flash drive and open up on Fedora so I can at least get those in to work, no luck there.
So I've decided to try using a program called "madwifi" which apparently works as a driver for my wireless card, and if I can get that to work then I'm set. If not I still have one last resort to try.
Sorry for the double post, but it's sorta necessary.
Turns out, any .rpm file I try to install gives me that same "internal error". Which makes me think that something went wrong during the actual install of Fedora 9. My roommate gave me the idea of installing Fedora 8 first, (which I did before, and my ethernet card was recognized and worked) get all the updates, and then update to Fedora 9 and hopefully that will work.
Ah, there is your problem, don't use the live CD to install anything that is rpm based. Try installing from the install DVD instead of the live CD. It has a lot more drivers and has most of the packages released by redhat at the time the iso was created.