LinuxQuestions.org
Visit Jeremy's Blog.
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


Reply
  Search this Thread
Old 05-22-2009, 05:40 AM   #1
keshavgopinath
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 0
Question NIC problem


Right now i using the version of the kernel is

kernel /vmlinuz -2.6.18-8.el5

my version of linux is

Redhat Enterprise Linux 5

In my office using the NIC card is

Realteck RTL8168c(p)/8111c(p) pci=E
gigabit-ethernet Nic

if i need to upgrade the linux version or
what i want to do for this issue
pls give right soluation for this issue
 
Old 05-22-2009, 08:35 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Possibly download and install the Driver from realtek
 
Old 05-22-2009, 02:06 PM   #3
keshavgopinath
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
when i try to install the r8169 version of NIC, i got an error

make -C src/ clean
make[1]: Entering directory `/usr/r8169-6.010.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers rset modules.order Module.markers
make[1]: Leaving directory `/usr/r8169-6.010.00/src'
make -C src/ modules
make[1]: Entering directory `/usr/r8169-6.010.00/src'
make -C /lib/modules/2.6.18-8.el5/build SUBDIRS=/usr/r8169-6.010.00/src modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.18-8.el5/build: No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/r8169-6.010.00/src'
make: *** [modules] Error 2

one more

make -C src/ clean
make[1]: Entering directory `/usr/r8169-6.010.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers rset modules.order Module.markers
make[1]: Leaving directory `/usr/r8169-6.010.00/src'
make -C src/ modules
make[1]: Entering directory `/usr/r8169-6.010.00/src'
make -C /lib/modules/2.6.18-8.el5/build SUBDIRS=/usr/r8169-6.010.00/src modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.18-8.el5/build: No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/r8169-6.010.00/src'
make: *** [modules] Error 2

please some one help me to solve this problem
 
Old 05-22-2009, 03:32 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
It looks to me like you don't have the kernel source installed.
 
Old 05-22-2009, 04:16 PM   #5
NeddySeagoon
Gentoo support team
 
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 41
keshavgopinath,

You need the r8169 kernel module for that NIC.
I think kernel 2.6.18 predates that NIC by a long way, so yes, you need a kernel update.

If you feel lucky, try
Code:
modprobe r8169
its harmless if it fails.
 
Old 05-26-2009, 12:24 AM   #6
keshavgopinath
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by NeddySeagoon View Post
keshavgopinath,

You need the r8169 kernel module for that NIC.
I think kernel 2.6.18 predates that NIC by a long way, so yes, you need a kernel update.

If you feel lucky, try
Code:
modprobe r8169
its harmless if it fails.

thanks, but i need to install which version of kernel is suite for me and how can i find that version of kernel pls help me
 
Old 05-26-2009, 07:58 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
uname -r to check version of kernel

http://www.cyberciti.biz/faq/rhel5-i...l-source-code/
 
  


Reply

Tags
help, pls



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
Problem with NIC abiye Linux - Hardware 5 11-30-2006 11:16 AM
Bi-NIC problem mstrswrd06 Linux - Networking 1 09-09-2006 04:42 PM
nic problem tonybaloney Slackware 6 10-27-2005 09:51 PM
2 External Nic, 1 Internal Nic Router Problem trevanda Linux - Networking 0 10-13-2004 01:20 AM
3 nic problem, 1 nic don't work ldp Linux - Networking 3 07-20-2004 12:24 PM

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

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