LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   NIC problem (https://www.linuxquestions.org/questions/linux-hardware-18/nic-problem-727762/)

keshavgopinath 05-22-2009 05:40 AM

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

farslayer 05-22-2009 08:35 AM

Possibly download and install the Driver from realtek

keshavgopinath 05-22-2009 02:06 PM

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

H_TeXMeX_H 05-22-2009 03:32 PM

It looks to me like you don't have the kernel source installed.

NeddySeagoon 05-22-2009 04:16 PM

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.

keshavgopinath 05-26-2009 12:24 AM

Quote:

Originally Posted by NeddySeagoon (Post 3549726)
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

farslayer 05-26-2009 07:58 AM

uname -r to check version of kernel

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


All times are GMT -5. The time now is 01:02 AM.