centos6.2 Text Interface installation configuration Wireless Card Tutorial

Source: Internet
Author: User

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"

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.