First, check the network adapter model.
[Python] view plaincopy
- [Root @ localhostsam] # lspci-nn | grep-inet
- . 0 Networkcontroller [0280]: RealtekSemiconductorCo., Ltd. RTL8188CE802.11b/g/nWiFiAdapter [10ec: 8176] (rev01)
- . 0 Ethernetcontroller [0200]: QualcommAtherosAR8152v2.0FastEthernet [1969: 2062] (revc1)
This command is used to list all PCI devices. From the output, we can see that there are two network adapters, including wireless network adapters that cannot be used normally. The model is RTL8188CE. Pay attention to the red part. This is a device identifier, representing the Vendor: device ID, that is, 10ec is the provider ID and 8176 is the Device ID. This identifier pair is used to find the required kernel module.
Second, find the required kernel module.
ELRepo provides hardware-related software packages for redhat enterprise and derivative releases, such as various drivers. ELRepo: DeviceIDs provides a ing list from the Vendor: Device ID to the kmod package name. Use the Vendor: Device ID found in the previous step to locate the kmod package name that needs to be used. For example, [10ec: 8176] finds the following results:
R8192ce_pci.ko
Pci 10EC: 092D kmod-r8192ce
Pci10EC: 8176kmod-r8192ce
Pci 10EC: 8177 kmod-r8192ce
Pci 10EC: 8178 kmod-r8192ce
Pci 10EC: 8191 kmod-r8192ce
So we know we should install the kmod-r8192ce package.
Step 3: Install the kernel module kmod.
Follow the ELRepo instructions to install the kmod-r8192ce. The details are as follows:
1. Import the public key. Note the case sensitivity.
[Python] view plaincopy
- Rpm -- importhttp: // elrepo.org/RPM-GPG-KEY-elrepo.org
2. Install the ELRepo library.
Copy[Python] view plaincopy
- Rpm-Uvhhttp: // elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm
3. Install kmod-r8192ce.[Python] view plaincopy
- Yuminstallkmod-r8192ce
Finally, restart the system, and the wireless network will be connected.