下面是芯片realtek 8176的下载地址

Realtek官网下载对应驱动,或者到下面网址下载
http://www.strapp.co.uk/downloads/RTL819xCU_USB_linux_v3.4.3_4369.20120622.zip
 

[root@rhel5 ~]# unzip RTL819xCU_USB_linux_v3.4.3_4369.20120622.zip

[root@rhel5 ~]# cd RTL8188C_8192C_USB_linux_v3.4.3_4369.20120622/driver/

[root@rhel5 ~]# tar -zxvf rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622.tar.gz -C /usr/local/src/

// 解压驱动到指定的目录
[root@rhel5 ~]# cd /usr/local/src/

[root@rhel5 src]# cd rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/

[root@rhel5 rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622]# make && make install

// 切换到解压的目录并执行安装

[root@rhel5 rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622]# insmod /lib/modules/2.6.18-164.el5/kernel/drivers/net/wireless/8192cu.ko

//实现不重启机器启动网卡驱动
vim /etc/modprobe.conf
alias wlan0 /lib/modules/2.6.18-164.el5/kernel/drivers/net/wireless/8192cu.ko
//编辑模块驱动别名为wlan0
iwconfig       //查看无线网卡wlan0的连接状态
wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated  
          Sensitivity:0/0 
          Retry:off   RTS thr:2347 B   Fragment thr:2346 B  
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0

          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 
 

[root@rhel5 RTL8188C_8192C_USB_linux_v3.4.3_4369.20120622]# cd wireless_tools/

[root@rhel5 wireless_tools]# tar -zxvf wireless_tools.30.rtl.tar.gz -C /usr/local/src/

//解压无线网络工具到指定目录

[root@rhel5 wireless_tools]# cd /usr/local/src/wireless_tools.30.rtl/

[root@rhel5 wireless_tools.30.rtl]#make &&  make install

//安装无线网络工具
[root@rhel5 wireless_tools.30.rtl]# ifconfig wlan0 up   //启用wlan0

[root@rhel5 wireless_tools.30.rtl]# iwconfig wlan0 essid "php-1"   

[root@rhel5 wireless_tools.30.rtl]# cd /usr/local/sbin/

[root@rhel5 sbin]# ll
total 400

-rwxr-xr-x 1 root root  43996 Mar 25 11:06 ifrename

-rwxr-xr-x 1 root root  38919 Mar 25 11:06 iwconfig

-rwxr-xr-x 1 root root  32670 Mar 25 11:06 iwevent

-rwxr-xr-x 1 root root  29729 Mar 25 11:06 iwgetid

-rwxr-xr-x 1 root root  45757 Mar 25 11:06 iwlist

-rwxr-xr-x 1 root root  30193 Mar 25 11:06 iwpriv

-rwxr-xr-x 1 root root  29528 Mar 25 11:06 iwspy

-rwxr-xr-x 1 root root 135552 Mar 23 08:25 vsftpd
[root@rhel5 sbin]# man iwlist
SYNOPSIS
       iwlist interface scanning

       iwlist interface frequency

       iwlist interface rate
       iwlist interface key
       iwlist interface power
       iwlist interface txpower
       iwlist interface retry
       iwlist interface event
       iwlist --help
       iwlist –version

[root@rhel5 wpa_supplicant_hostapd]# unzip wpa_supplicant-0.6.9_wps_patch_20100201_1.zip

[root@rhel5 wpa_supplicant_hostapd]# cd wpa_supplicant-0.6.9

[root@rhel5 wpa_supplicant-0.6.9]# cd wpa_supplicant/

[root@rhel5 wpa_supplicant]# make && make install

//安装wpa验证工具

[root@rhel5 wireless_tools.30.rtl]# iwlist wlan0 scanning

// 搜索周边无线网络
Wpa_supplicant –Dwext –iwlan0 –c/etc/wpa_supplicant/wpa_supplicant.conf  &

// 后台连接wlan0无线网络