Backtrack5安装ThinkPad RTL8192ce-SE无线网卡驱动


我是使用Unetbootin工具将Backtrack5安装到SD卡上的。但是我发识别无线网卡,网上找了好久,终于解决了这个问题,现在将处理的过程分享给大家。此方法同样可解决Linux系统下ThinkPad 系列或其他使用RTL无线网卡的机器。

1.首先介绍以下我机器的环境:

OS:Backtrack 5(基于Ubuntu Linux 10.04)

CPU:Intel(R) Core(TM) i3 CPU       M 380  @ 2.53GHz

Wireless INC:
设备描述:11b/g/n  Wireless LAN Mini-PCI Express Adapter II
硬件ID:
PCI\VEN_10EC&DEV_8172&SUBSYS_E02010EC&REV_10
PCI\VEN_10EC&DEV_8172&SUBSYS_E02010EC
PCI\VEN_10EC&DEV_8172&CC_028000
PCI\VEN_10EC&DEV_8172&CC_0280
服务:rtl8192se
制造商:Realtek Semiconductor Corp.

2.查看系统内核

root@root:~# uname -a
Linux root 2.6.39.4 #1 SMP Thu Aug 18 13:38:02 NZST 2011 i686 GNU/Linux
3.检测/lib/modules/2.6.39.4是否有build文件的链接,没有就新建一个。这是在后面编译compat-wireless需要用到。

root@root:~# ls /lib/modules/2.6.39.4
root@root:~# ln -s /usr/src/linux-source-2.6.39.4 /lib/modules/2.6.39.4/build

4.下载最新的compat-wireless,我现在的是compat-wireless-2011-11-22

http://wireless.kernel.org/en/users/Download

5.解压文件包

root@root:/media/Bak/LinuxSoftware/Driver# tar -jxvf compat-wireless-2011-11-22.tar.bz2
6.编译并安装compat-wireless

root@root:/media/Bak/LinuxSoftware/Driver# cd compat-wireless-2011-11-22

运行下面的命令,可以显示支持的设备。

root@root:/media/Bak/LinuxSoftware/Driver/compat-wireless-2011-11-22# ./scripts/driver-select  

root@root:/media/Bak/LinuxSoftware/Driver/compat-wireless-2011-11-22# ./scripts/driver-select
Usage: ./scripts/driver-select [ <driver-name> | <driver-group-name> | restore ]
Supported 802.11 drivers:
    ath5k
    ath9k
    ath9k_htc
    carl9170
    ath6kl
    b43
    zd1211rw
    rt2x00
    wl1251
    wl12xx
    brcmsmac
    brcmfmac

Supported group drivers:
    atheros <  ath5k ath9k carl9170 zd1211rw ath6kl >
    ath <  ath5k ath9k carl9170 ath6kl >
    brcm80211 <  brcmsmac brcmfmac >
    iwlagn <  iwlagn >
    rtl818x <  rtl8180 rtl8187 >
    rtlwifi <  rtl8192ce >
    wl12xx <  wl1251 wl12xx (SPI and SDIO)>

Supported group drivers: Bluetooth & Ethernet:
    atlxx <  atl1 atl2 atl1e atl1c >
    bt <  Linux bluetooth drivers >
Restoring compat-wireless:
    restore: you can use this option to restore compat-wireless to the original state
我的无线网卡是rtl8192ce/se,所以我选择rtlwifi。

root@root:/media/Bak/LinuxSoftware/Driver/compat-wireless-2011-11-22# ./scripts/driver-select   rtlwifi

root@root:/media/Bak/LinuxSoftware/Driver/compat-wireless-2011-11-22# make

root@root:/media/Bak/LinuxSoftware/Driver/compat-wireless-2011-11-22#make install

然后根据屏幕的提示信息装载设备驱动。然后重新启动以下机器。

7.连接无线网络

Wicd是一个机能管理有线网络,也可以管理无线网络的软件。我们使用命令启动wicd。

root@root:~# /etc/init.d/wicd start

设置wicd在系统启动的时候就自动启用:

root@root:~#update-rc.d wicd defaults

运行Wicd Network Manager,要注意配置以下相应的参数。

在Preferences->General Settings,将Wireless interface设置为wlan0

在Preferences->Advanced Settings,保持默认就可以了。

Driver::wext

Backend:external

这样,在Wicd Network Manager 中Refresh,就可以发现相应的无线网络了。点击相应的无线网络的“属性”。勾选使用加密,选择加密方式并输入密码,就可以正常的连接到无线网络了。

相关内容