In learning CentOS system, so find some collation reference.
1. View the machine's unlimited network card models and other information
Because it is a USB interface, the command is
#lsusb
This is mainly to see your wireless network card hardware information, I am RTL 8188SU, on Baidu to search for drive and download. Under Linux really do not know how to download, to find a Windows machine, download after the copy to the U disk, and then received the Linux below, and then enter the command
#cd/media to see if the folder name has a space, it does not matter, with * instead on it.
2. Decompression and installation drive
#tar VXPF rtl*.tar.gz
#cd rtl*
#make
#make Install
I have been prompted for errors during the installation process. It seems that the compiler did not install the software, and then no matter, the direct reload system, after reloading will be the system development software loaded in, learning, there is no way, or else to find the installation, and not networking, can not yum installation. After the command is executed, a driver file named 8712u.ko is generated in this directory
3. Copy the driver file to the driver module directory
#cp-P 8712u.ko/lib/modules/2.6.18-128.el5/kernel/drivers/net/
It is said that it can also be placed in the wireless directory, the Wireless folder is also inside the/lib/modules/2.6.18-128.el5/kernel/drivers/net/.
4. Load Drive Module
#insmod/lib/modules/2.6.18-128el5/kernel/drivers/net/8712u.ko
or enter this command: #modprobe 8712u.ko
5. See if the module is loaded successfully
#lsmod | grep 8712u
[Root@localhost net]# Lsmod | grep 8712u
8712u 311196 0
At this time the driver has been installed successfully, open the system-Management-Network dialog box, still do not see the wireless network card information, and then execute the command:
#service NetworkManager Start
Note that the case of Linux is a distinction between the case, the execution of this command, the upper right corner of the connection icon, click to view and select the SSID to access, enter the password can be.
System from the original 6.2 upgrade to 6.3 after the USB wireless card driver automatically lost, follow the steps above to make made install again, found/lib/modules/2.6.18* folder has not, will 8712u.ko copy to/lib/ modules/2.6.32-220.23.1.el6.i686/kernel/drivers/net/, then load the driver module, the wireless card can be used.
Wireless Card configuration file under centos6.2 text interface:
cd/etc/sysconfig/network-scripts/
Touch Ifcfg-auto_tp_link_p//If there is no such document, you need to establish
VI ifcfg-auto_tp_link_p//Edit file
Essid= "Name of the wireless router"
Mode=managed
Key_mgmt=wpa-psk
Type=wireless
Bootproto=none
Defroute=yes
Ipv4_failure_fatal=yes
Ipv6init=no
Name= "I don't know what's here, I put Essid here, anyway, I can surf the Internet."
Uuid=cc7fed62-4973-453f-b7c3-a80d3e4c7be6
Onboot=yes
ipaddr=192.168.1.2
Prefix=24
gateway=192.168.1.1
dns1=192.168.1.1
dns2=202.96.128.86
dns3=202.96.128.166
last_connect=1341690606
There is also a file: Keys-auto_tp_link-p
File contents: wpa_psk= "Connection password for wireless router"