I just installed fc5, but I cannot find the NIC. It's depressing! But I finally got it out today. Let's share it;
1: Install the kernel source code. I found this part online. For more information, see
1. Check that the GCC and RPM packages are installed.
2. Install the corresponding kernel source code. Because fc5 does not provide the corresponding source code package on the installation disk, you must download it on the official website at the following URL. Ghost (I didn't use this. I'm afraid the ora 5 release is a little different from this one)
3. Compile the kernel source code:
[Root @ sunshine srpms] # rpm-uvh kernel-2.6.15-1.2054_FC5.src.rpm
[Root @ sunshine srpms] # cd/usr/src/RedHat/specs
[Root @ sunshine specs] # rpmbuild-BP -- target $ (uname-m) kernel-2.6.spec
[Root @ sunshine specs] # ls/usr/src/RedHat/build/kernel-2.6.15/
Config. mk linux-2.6.15.i686 vanilla xen-vanilla (possibly i586 my i686)
[Root @ sunshine specs] # cd/usr/src
[Root @ sunshine SRC] # mkdir kernels (no kernels folder is installed by default)
[Root @ sunshine SRC] # ls-L/lib/modules/2.6.15-1.2054 _ fc5/
Total 1152 lrwxrwxrwx 1 Root 47 04-29 build->.../usr/src/kernels/2.6.1 5-1.2054_fc5-i686
Drwxr-XR-x 2 root Root 4096 03-15 05:02 extra
Drwxr-XR-x 10 Root 4096 04-29 Kernel
-RW-r -- 1 Root 239062 04-29 12:09 modules. Alias
-RW-r -- 1 Root 69 04-29 12:09 modules. ccwmap
-RW-r -- 1 Root 238199 04-29 12:09 modules. Dep
-RW-r -- 1 Root 813 04-29 12:09 modules. ieee1394map
-RW-r -- 1 Root 206 04-29 12:09 modules. inputmap
-RW-r -- 1 Root 11158 04-29 12:09 modules. isapnpmap
-RW-r -- 1 Root 182372 04-29 12:09 modules. pcimap
-RW-r -- 1 Root 799 04-29 12:09 modules. seriomap
-RW-r -- 1 Root 104167 04-29 12:09 modules. Symbols
-RW-r -- 1 Root 279653 04-29 12:09 modules. usbmap
Lrwxrwxrwx 1 Root 5 04-29 12:08 source-> buildd
Rwxr-XR-x 2 root Root 4096 03-15 05:02
The updates file to be linked to build is invalid because the file does not exist [root @ sunshine SRC] # cd kernels/
[Root @ sunshine kernels] # ln-S ../RedHat/build/kernel-2.6.15/linux-2.6.15.i686/2.6.15-1.2054 _ FC5-i686
[Root @ sunshine kernels] # ls2.6.15-1.2054 _ FC5-i686
[Root @ sunshine kernels] # cd 2.6.15-1.2054 _ FC5-i686/
[Root @ sunshine 2.6.15-1.2054 _ FC5-i686] # cp configs/kernel-2.6.15-i686.config. config
CP: overwrite ". config "? Y corrected makefile ------------------------------------
[Root @ sunshine 2.6.15-1.2054 _ FC5-i686] # uname-R
(Get 2.6.15-1.2054_fc5) 2.6.15-1.2054 _ fc5, replace extraversion =-prep in makefile with extraversion =-1.2054 _ fc5 -------------------------------------
Continue Compilation: [root @ sunshine 2.6.15-1.2054 _ FC5-i686] # Make mrproper
[Root @ sunshine 2.6.15-1.2054 _ FC5-i686] # Make oldconfig
[Root @ sunshine 2.6.15-1.2054 _ FC5-i686] # Make
[Root @ sunshine 2.6.15-1.2054 _ FC5-i686] # Make modules_install
At this point, we need to compile the kernel.
All of the above are information found online and written on a person's blog (sorry, I didn't remember it at the time ). Where my kernel directory is 2.6.15-1.2054 _ FC5-smp-i686 instead of 2.6.15-1.2054 _ FC5-i686, (do not know why ?)
2: Install Nic; after kernel installation is successful, download NIC Driver; ftp: // 202.65.194.212/CN/NIC/r8168-8.003.00.tar.bz2
Http://www.realtek.com.tw/downloads/downloadsView.aspx? Langid = 3 & pnid = 13 & pfid = 5 & level = 5 & conn = 4 & downtypeid = 3 & getdown = false #2
The downloaded and decompressed file contains a ReadMe file,
Log on to the terminal using su-L and follow the steps in readme,
If I use fc5 to log on with Su, the module command is eg. Lsmod... is unavailable. You can use it when you log on with Su-L. Please advise me;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.