红联Linux门户
Linux帮助

RHEL5下安装USB网卡驱动

发布时间:2009-11-19 10:48:02来源:红联作者:harrsion_jia
我在RHEL5下安装玄翼的USB无线网卡驱动,在接上USB网卡后,电脑电脑没有任何提示,然后我就安着安装驱动说明进行安装:驱动说明如下
Release Date: 2006-02-09, ver 1.2
RTL8187 Linux driver version 1.2

--This driver supports RealTek RTL8187 Wireless LAN driver for
Fedora Core 2/3/4/5, Debian 3.1, Mandrake 10.2/Mandriva 2006,
SUSE 9.3/10.1/10.2, Gentoo 3.1, etc.
- Support Client mode for either infrastructure or adhoc mode
- Support WEP and WPAPSK connection

< Component >
The driver is composed of several parts:
1. Module source code
stack.tar.gz
drv.tar.gz

2. Script ot build the modules
makedrv

3. Script to load/unload modules
wlan0up
wlan0down

4. Script and configuration for DHCP
wlan0dhcp
ifcfg-wlan0
4. Supplicant source code:
wpa_supplicant-0.4.9.tar.gz

5. Example of supplicant configuration file:
wpa1.conf

< Installation >
Runing the scripts can finish all operations of building up modules
from the source code and start the nic.
1. Build up the drivers from the source code
./makedrv

2. load the driver module to kernel and start up nic
./wlan0up
(这个是说明上面的一部分)在我执行./makedrv的时候就出现了以下的错误:
rm -rf /mnt/ieee80211/tmp
make -C /lib/modules/2.6.18-8.e15xen/build M=/mnt/ieee80211 modules
make: *** /lib/modules/2.6.18-8.e15xen/build :没有那个文件或目录。 停止
make : *** [modules] 错误 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /mnt/rt18187/tmp
make -C /lib/modules/2.6.18-8.e15xen/build M=/mnt/rt18187 modules
make: *** /lib/modules/2.6.18-8.e15xen/build :没有那个文件或目录。 停止
make : *** [modules] 错误 2

我就安照提示找到了,build 可是那一个不可编辑的文件,
这个问题要怎么解决,怎么做才能用我的无线网卡???请高手指点
文章评论

共有 2 条评论

  1. zbxnt 于 2009-12-14 20:48:37发表:

    谁知道答案说一声
    我也用无线网卡
    也不会用
    电信的

  2. bindex 于 2009-11-19 11:34:03发表:

    帮顶下