LinuxQuestions.org
Review your favorite Linux distribution.
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
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
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
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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: 40
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
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

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

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


Reply

Tags
help, pls


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
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


All times are GMT -5. The time now is 09:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration