Find the answer to your Linux question:
Results 1 to 4 of 4
I installed Redhat Enterprise Linux 5 on my office pc. But it show NIC is not configured,there is no file named eth0 in the /etc/sysconfig/network-scripts\ my office pc using Realteck ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    2

    Nic Problem


    I installed Redhat Enterprise Linux 5 on my office pc. But it show NIC is not configured,there is no file named eth0 in the /etc/sysconfig/network-scripts\

    my office pc using Realteck RTL8168C(p)/8111c(p) pci-E gigabit-ethernet NIC
    and
    My kernel version is :kernel /vmlinuz-2.6.18-8.el5

    some of my friends advise me to download the driver from Realteck
    and i did it, i got 2 copy of driver

    1. r8168
    2.r8169


    i tried with these two, that time i got an error, i will paste error for u

    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

    and some one advise me to upgrade the kernel version,if it is the only way then
    pls give right kernel version

  2. #2
    Linux Newbie raghaven.kumar's Avatar
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    209
    what happens when u give 'make clean'
    and then 'make'

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,380
    It seems that you are missing the /lib/modules/2.6.18-8.el5/build directory. You will need to create that I think. I take it your current kernel is 2.6.18-8.el5?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Just Joined!
    Join Date
    May 2009
    Posts
    2

    Nic Problem

    when i tried to make clean modules and make install, i got an error that i mentioned above.I think build is not a directory it is a link file and i can't find the orginallocation of that file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •