Realtek RTL8168 driver cannot installed on FC5


Results 1 to 4 of 4

Thread: Realtek RTL8168 driver cannot installed on FC5

  1. #1
    Join Date
    Apr 2006
    Location
    Dalian, China
    Posts
    2

    Realtek RTL8168 driver cannot installed on FC5

    Hi ,
    I just installed FC5, but the nework doesnot work.
    The network adaptor is
    Realtek RTL8168/8111 PCI-E Gigabit Ethernet Network Adapter
    Driver version:1.00 in source code from Realtek

    when I install it according to the readme file

    # ./build.sh RTL8168B

    the following information showed up,
    make -C src/ clean
    make[1]: Entering directory `/RTL8168B_8100E/src'
    rm -f *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
    make[1]: Leaving directory `/RTL8168B_8100E/src'
    make -C src/ modules
    make[1]: Entering directory `/RTL8168B_8100E/src'
    make -C /lib/modules/2.6.15-1.2054_FC5smp/build SUBDIRS=/RTL8168B_8100E/src modules
    make: *** /lib/modules/2.6.15-1.2054_FC5smp/build: No such file or directory. Stop.
    make: Entering an unknown directorymake: Leaving an unknown directorymake[1]: *** [modules] Error 2
    make[1]: Leaving directory `/RTL8168B_8100E/src'
    make: *** [modules] Error 2
    insmod: can't read './src/RTL8168B.ko': No such file or directory
    [root@localhost RTL8168B_8100E]#

    Any one can tell me how can I do?
    Thank you very much!

    Shenmin

  2. #2
    Join Date
    May 2003
    Location
    New Jersey
    Posts
    1,257
    Well, from looking over it real quick and taking a guess at it, I'm thinking you just have some incorrect permissions.
    Code:
    make -C /lib/modules/2.6.15-1.2054_FC5smp/build SUBDIRS=/RTL8168B_8100E/src modules
    make: *** /lib/modules/2.6.15-1.2054_FC5smp/build: No such file or directory. Stop.
    make: Entering an unknown directorymake: Leaving an unknown directorymake[1]: *** [modules] Error 2
    make[1]: Leaving directory `/RTL8168B_8100E/src'
    make: *** [modules] Error 2
    In particular, I notice the line
    Code:
    make: *** /lib/modules/2.6.15-1.2054_FC5smp/build: No such file or directory. Stop.
    This probably means it's trying to open up the modules directory for your kernel's libraries and do things. In simple terms, maybe try becoming root and then running the build file.
    The Swain

    dswain

  3. #3
    Join Date
    Apr 2006
    Location
    Dalian, China
    Posts
    2
    Thank you for the rapid response. But I do did it as a root

    I checked and found /lib/modules/2.6.15-1.2054_FC5smp/build is a link, which point to ../../../usr/src/2.6.15-1.2054_FC5-smp-i686, but in my computer there is only /usr/src/redhat

    Thanks anyway!

    Shenmin

  4. #4
    Join Date
    Apr 2001
    Location
    SF Bay Area, CA
    Posts
    14,936
    This forum is for "how I did it" posts, not "how do I do it?" posts.

    Moving to a more appropriate forum.

    That being said, it looks like your "build" symlink points to somewhere that doesn't exist. If you install Fedora's kernel-source package (not kernel-headers, kernel-source -- and make sure it's the same version as your kernel package), that should help.
    Last edited by bwkaz; 04-23-2006 at 03:04 PM.

Posting Permissions

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