LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2009, 01:53 AM   #1
princeranjith
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
I can't install realtek r8101e driver - help me..


hey I am newbie to linux (rhel5)
I am installed the OS rhel5 kernel 2.6.53.e15
I am using realtek 8101e network adapter, by default it is not detected.

Quote:
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)
So I download the driver in tar format from vendors site

It contains a readme file as follows

Quote:
<Quick install with proper kernel settings>
Check whether the built-in driver, r8169.ko (or r8169.o for kernel 2.4.x), is installed.
# lsmod | grep r8169
If it is installed, please remove it.
# rmmod r8169
note: If the built-in driver cannot removed by rmmod, please edit /etc/modprobe.conf and comment 'alias eth0 r8169'. Then, remmove it again or reboot your computer.

Unpack the tarball :
# tar vjxf r8101-1.aaa.bb.tar.bz2
Change to the directory:
# cd r8101-1.aaa.bb

If you are running the target kernel, then you should be able to do :
# make clean modules (as root or with sudo)
# make install
# depmod -a
# insmod ./src/r8101.ko (or r8101.o for kernel 2.4.x)
I extract the tar file
changing the directory
when i give that command make clean modules it executes some error

Quote:
root@localhost r8101-1.011.00]# make clean modules
make -C src/ clean
make[1]: Entering directory `/root/Desktop/r8101-1.011.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers *.order
make[1]: Leaving directory `/root/Desktop/r8101-1.011.00/src'
make -C src/ modules
make[1]: Entering directory `/root/Desktop/r8101-1.011.00/src'
make -C /lib/modules/2.6.18-53.el5/build SUBDIRS=/root/Desktop/r8101-1.011.00/src modules
/usr/src/kernels/2.6.18-53.el5-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.18-53.el5-i686/scripts/gcc-version.sh: line 12: gcc: command not found
make[2]: gcc: Command not found
make[2]: Entering directory `/usr/src/kernels/2.6.18-53.el5-i686'
CC [M] /root/Desktop/r8101-1.011.00/src/r8101_n.o
/bin/sh: gcc: command not found
make[3]: *** [/root/Desktop/r8101-1.011.00/src/r8101_n.o] Error 127
make[2]: *** [_module_/root/Desktop/r8101-1.011.00/src] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-53.el5-i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/Desktop/r8101-1.011.00/src'
make: *** [modules] Error 2
please help me.... what be the solution
 
Old 03-31-2009, 02:24 AM   #2
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Rep: Reputation: 17
make[2]: gcc: Command not found

I think you need to install the programs that allow you to compile source code.
I have no clue what this is in redhat.

Maybe the package is called "Development Tools"?

Quote:
yum install gcc
Maybe that will work.

Last edited by Cyberman; 03-31-2009 at 02:27 AM.
 
  


Reply



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
need help to install r8101 realtek network driver dham_sizzy Linux - Hardware 2 01-17-2009 04:13 AM
ethernet card realtek 8139 driver does not install puzld Linux - Networking 10 12-29-2008 07:10 AM
Install driver Realtek 8211B onboard NIC booberandpuzz Linux - Newbie 8 04-29-2008 02:55 PM
realtek r8101e not detected in rhel5 kernel 2.6x jagvinder Linux - Newbie 1 04-07-2008 12:41 AM
Realtek ALC650 driver install THX1138 Linux - Hardware 6 01-02-2004 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:43 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