RedHat5.4 compile the NIC Driver and mount the NTFS partition

Source: Internet
Author: User
After the installation of RedHat5, the NIC can work normally at the beginning, but suddenly cannot be connected. If it is suspected that the kernel module has a problem, the NIC driver is to be re-installed. The Google method is as follows: first download the driver source file of the corresponding Nic and enter the driver file directory. Run the following command to start installation: # makecleanmodules # makeinstall # depmod-a # modprober8101 &

After the RedHat 5 is installed, the NIC can work normally at the beginning, but suddenly cannot be connected. It is suspected that the kernel module has a problem, so I plan to re-install the NIC driver. The Google method is as follows:

First download the corresponding NIC driver source file

Enter the driver file directory
Run the following command to start installation:
# Make clean modules
# Make install
# Depmod-
# Modprobe r8101
# Lsmod | grep r8101

After the restart, the system will return to life ~~

###

Because Redhat does not support the NTFS file system by default, the NTFS kernel module must be added.

Uname command to obtain kernel information,

[Root @ localhost ~] # Uname-r-p
2.6.18-164. el5xen i686

Http://www.linux-ntfs.org/download response module

If there is no fully matched module package, you can download the closest package. Be sure to select a 32-bit or 64-bit system.

Installation Module

[Root @ localhost ~] # Rpm-ivh kernel-module-ntfs-2.6.18-128.1.1.el5-2.1.27-0.rr.10.11.i686.rpm
Preparing... ######################################## ### [100%]
1: kernel-module-ntfs-2.6. ######################################## ### [100%]

Next, use the find/-name ntfs command to find the module installation directory and enter the directory to insert the module.

[Root @ localhost ~] # Cd/lib/modules/2.6.18-128.1.1.el5/kernel/fs/ntfs

[Root @ localhost ~] # Insmod ntfs. ko

Now we can mount the NTFS partition successfully.

[Root @ localhost ~] # Mount-t ntfs/dev/sdb1/media/usb

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.