centOS6.5 安装后无法启动无线上网


查看无线网卡型号:
[root@mookee rtl8192se_linux_2.6.0019.1207.2010]# lspci |grep Network
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)

准备安装包:
[root@mookee local]# yum install kernel-headers kernel-devel gcc

以下是事先下载好的驱动文件:放在/usr/local/rtl8192目录下
[root@mookee local]# cd rtl8192/ [root@mookee rtl8192]# ls rtl8192se_linux_2.6.0015.0127.2010.tar.gz rtl8192se_linux_2.6.0019.1207.2010 rtl8192se_linux_2.6.0019.1207.2010.tar.gz rtl8712_8188_8191_8192SU_v2.6.6.0.20101111.zip [root@mookee rtl8192]# cd rtl8192se_linux_2.6.0019.1207.2010 [root@mookee rtl8192se_linux_2.6.0019.1207.2010]# ls firmware Makefile realtek rtllib wpa1.conf HAL readme.txt release_note runwpa wpa_supplicant-0.6.9.tar.gz

错误1: [root@mookee rtl8192se_linux_2.6.0019.1207.2010]# make make: *** /lib/modules/2.6.32-431.el6.x86_64/build: 没有那个文件或目录。 停止。 make: *** [all] 错误 2
解决办法: [root@mookee rtl8192se_linux_2.6.0019.1207.2010]# cd /lib/modules/2.6.32-431.el6.x86_64/
[root@mookee 2.6.32-431.el6.x86_64]# rm build -rf
[root@mookee 2.6.32-431.el6.x86_64]# ln -s /usr/src/kernels/2.6.32-754.2.1.el6.x86_64/ build
[root@mookee 2.6.32-431.el6.x86_64]# ls -l
总用量 3524
lrwxrwxrwx.  1 root root     43 8月   5 20:10 build -> /usr/src/kernels/2.6.32-754.2.1.el6.x86_64/
drwxr-xr-x.  2 root root   4096 11月 22 2013 extra
drwxr-xr-x. 11 root root   4096 7月  31 18:36 kernel
-rw-r--r--.  1 root root 589679 7月  31 18:41 modules.alias
-rw-r--r--.  1 root root 565340 7月  31 18:41 modules.alias.bin
-rw-r--r--.  1 root root   1413 11月 22 2013 modules.block
-rw-r--r--.  1 root root     69 7月  31 18:41 modules.ccwmap
-rw-r--r--.  1 root root 200373 7月  31 18:41 modules.dep
-rw-r--r--.  1 root root 291812 7月  31 18:41 modules.dep.bin
-rw-r--r--.  1 root root     68 11月 22 2013 modules.drm
-rw-r--r--.  1 root root    665 7月  31 18:41 modules.ieee1394map
-rw-r--r--.  1 root root    141 7月  31 18:41 modules.inputmap
-rw-r--r--.  1 root root   1236 7月  31 18:41 modules.isapnpmap
-rw-r--r--.  1 root root     29 11月 22 2013 modules.modesetting
-rw-r--r--.  1 root root   1956 11月 22 2013 modules.networking
-rw-r--r--.  1 root root     74 7月  31 18:41 modules.ofmap
-rw-r--r--.  1 root root  75698 11月 22 2013 modules.order
-rw-r--r--.  1 root root 436535 7月  31 18:41 modules.pcimap
-rw-r--r--.  1 root root   6259 7月  31 18:41 modules.seriomap
-rw-r--r--.  1 root root 228286 7月  31 18:41 modules.symbols
-rw-r--r--.  1 root root 289146 7月  31 18:41 modules.symbols.bin
-rw-r--r--.  1 root root 851070 7月  31 18:41 modules.usbmap
lrwxrwxrwx.  1 root root      5 7月  31 18:37 source -> build
drwxr-xr-x.  2 root root   4096 11月 22 2013 updates
drwxr-xr-x.  2 root root   4096 7月  31 18:37 vdso
drwxr-xr-x.  2 root root   4096 11月 22 2013 weak-updates
[root@mookee 2.6.32-431.el6.x86_64]# cd /usr/local/
bin  etc  games  include  lib  lib64  libexec  rtl8192  sbin  share  src


[root@mookee rtl8192]# ls rtl8192se_linux_2.6.0015.0127.2010.tar.gz rtl8192se_linux_2.6.0019.1207.2010 rtl8192se_linux_2.6.0019.1207.2010.tar.gz rtl8712_8188_8191_8192SU_v2.6.6.0.20101111.zip [root@mookee rtl8192]# cd rtl8192se_linux_2.6.0019.1207.2010 [root@mookee rtl8192se_linux_2.6.0019.1207.2010]# ls firmware Makefile realtek rtllib wpa1.conf HAL readme.txt release_note runwpa wpa_supplicant-0.6.9.tar.gz [root@mookee rtl8192se_linux_2.6.0019.1207.2010]# make make[1]: Entering directory `/usr/src/kernels/2.6.32-754.2.1.el6.x86_64' CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_core.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_regd.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_rfkill.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_eeprom.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_wx.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_cam.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_pm.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_pci.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_ps.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_dm.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_debug.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_ethtool.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl8192s/r8192S_dev.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl8192s/r8192S_Efuse.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl8192s/r8192S_phy.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl8192s/r8192S_firmware.o /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl8192s/r8192S_firmware.c: 在函数‘FirmwareSetH2CCmd’中: /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl8192s/r8192S_firmware.c:722: 警告:格式‘%d’需要类型‘int’,但实参 3 的类型为‘long unsigned int’ CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl8192s/r8192S_rtl6052.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl8192s/r8192S_hwimg.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl8192s/r8192S_led.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl8192s/r8192S_mp.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl8192s/r8192S_scan.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/rtllib_rx.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/rtllib_softmac.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/rtllib_tx.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/rtllib_wx.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/rtllib_module.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/rtllib_softmac_wx.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/rtl819x_HTProc.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/rtl819x_TSProc.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/rtl819x_BAProc.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/dot11d.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/rtllib_crypt.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/rtllib_crypt_tkip.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/rtllib_crypt_ccmp.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/rtllib_crypt_wep.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/wapi.o CC [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/../../rtllib/wapi_interface.o LD [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/r8192se_pci.o Building modules, stage 2. MODPOST 1 modules CC /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/r8192se_pci.mod.o LD [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/r8192se_pci.ko.unsigned NO SIGN [M] /usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/r8192se_pci.ko make[1]: Leaving directory `/usr/src/kernels/2.6.32-754.2.1.el6.x86_64' [root@mookee rtl8192se_linux_2.6.0019.1207.2010]# make install make[1]: Entering directory `/usr/src/kernels/2.6.32-754.2.1.el6.x86_64' Building modules, stage 2. MODPOST 1 modules make[1]: Leaving directory `/usr/src/kernels/2.6.32-754.2.1.el6.x86_64' make[1]: Entering directory `/usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192' make -C /lib/modules/2.6.32-431.el6.x86_64/build M=/usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010 CC=gcc modules make[2]: Entering directory `/usr/src/kernels/2.6.32-754.2.1.el6.x86_64' Building modules, stage 2. MODPOST 0 modules make[2]: Leaving directory `/usr/src/kernels/2.6.32-754.2.1.el6.x86_64' find /lib/modules/2.6.32-431.el6.x86_64 -name "r8192se_*.ko" -exec ls -l {} \; find /lib/modules/2.6.32-431.el6.x86_64 -name "r8192se_*.ko" -exec rm {} \; install -p -m 644 r8192se_pci.ko /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/wireless/ depmod -a make[1]: Leaving directory `/usr/local/rtl8192/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192' [root@mookee rtl8192se_linux_2.6.0019.1207.2010]#

 

posted @ 2018-08-05 20:36  MokeyChan  阅读(522)  评论(0编辑  收藏  举报