LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Closed Thread
  Search this Thread
Old 03-22-2011, 10:32 AM   #1
Hassan989
LQ Newbie
 
Registered: Mar 2011
Posts: 25

Rep: Reputation: 0
Installing Ethernet Driver gives me Error


Hi there, I have to admit that i'm very new in linux and after installing my redhat 6.0 there was no internet connection so read some threads that guided me to try and detect my network card which detected nothing. I then went agead to download ethernet realtek ethernet gigabyte card driver for my version of linux. I untar the file and i got the directory r8168-x.x.xxx.xx, a README file so i read the README file and it asked me to run ./autorun.sh which i did but i got the following error:

Check old driver and unload it.
Build the module and install
make: *** /lib/modules/2.6.32-71.el6.x86_64/build: No such file or directory. Stop.
make[1]: *** [modules] Error 2
make: *** [modules] Error 2


kindly guide me through i dont know how to proceed from there!
 
Old 03-22-2011, 10:45 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
First of all, are you completely sure that the device has not been detected? Can you run the following commands (as root)

lspci | grep -i eth (this will give us info about the hardware)
lsmod (this will show the kernel modules that are currently loaded)
ifconfig -a (which will show all network interfaces)

and post the output here, please?

If it turns out that you do indeed need to install the driver manually, the error suggests that you need to install the kernel source package for your distribution (the build directory is usually a symbolic link to the kernel source directory). I'm not that familiar with Red Hat's package management system, so someone else will be able to help you with this.
 
Old 03-22-2011, 10:53 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Double post reported.
 
Old 03-22-2011, 11:03 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,927
Blog Entries: 45

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of: http://www.linuxquestions.org/questi...-error-870233/
 
  


Closed Thread



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
[SOLVED] Installing Ethernet Driver gives me Error Hassan989 Linux - Software 4 03-22-2011 02:34 PM
Installing ethernet card driver Completely Clueless Linux - Wireless Networking 47 04-14-2008 07:35 AM
installing an ethernet card driver shuffdog Linux - Networking 7 06-11-2006 01:30 PM
error while installing bcm4400 RPM ethernet driver ksr Red Hat 1 10-08-2004 02:33 PM
installing ethernet driver help sbcdivision63 Red Hat 3 11-05-2003 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:23 PM.

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