1> $tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgz
go to "./DPB_RT2870_Linux_STA_x.x.x.x" directory.
2> In Makefile
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
define the linux kernel source include file path LINUX_SRC
modify to meet your need.
3> In os/linux/config.mk
define the GCC and LD of the target machine
define the compiler flags CFLAGS
modify to meet your need.
** Build for being controlled by NetworkManager or wpa_supplicant wext functions
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
=> #>cd wpa_supplicant-x.x
=> #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
** Build for being controlled by WpaSupplicant with Ralink Driver
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
=> #>cd wpa_supplicant-0.5.7
=> #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d
4> $make
# compile driver source code
# To fix "error: too few arguments to function ˉiwe_stream_add_event"
=> $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c
5> $cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat
6> load driver, go to "os/linux/" directory.
#[kernel 2.4]
# $/sbin/insmod rt2870sta.o
# $/sbin/ifconfig ra0 inet YOUR_IP up
#[kernel 2.6]
# $/sbin/insmod rt2870sta.ko
# $/sbin/ifconfig ra0 inet YOUR_IP up
7> unload driver
$/sbin/ifconfig ra0 down
$/sbin/rmmod rt2870sta
谢谢了
6 个解决方案
#1
求好心人指点呀
#2
都那么忙嘛
#3
同求,求指导,系统是WINCE的
#4
哥们,就是告诉你解压软件包,然后再安装(根据系统需求配置环境变量),更新驱动,这点英文并不难,仔细看下就可以解决了啊!
#5
请问大侠,我在使用USB WIFI的时候出现下面这个错误是怎么回事啊。
BulkOutDataPacket failed: ReasonCode=-2!
>>BulkOut Req=0x6b1f, Complete=0x6b1e, Other=0xed
>>BulkOut Header:bc 4 0 44 e0 0 87 80
BulkOutDataPacket failed: ReasonCode=-2!
>>BulkOut Req=0x6b1f, Complete=0x6b1e, Other=0xee
>>BulkOut Header:bc 4 0 44 e0 0 87 80
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=1!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=2!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=3!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=4!
BulkOutDataPacket failed: ReasonCode=-2!
>>BulkOut Req=0x6b1f, Complete=0x6b1e, Other=0xef
>>BulkOut Header:bc 4 0 44 e0 0 87 80
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=5!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=6!
BulkOutDataPacket failed: ReasonCode=-2!
>>BulkOut Req=0x6b1f, Complete=0x6b1e, Other=0xed
>>BulkOut Header:bc 4 0 44 e0 0 87 80
BulkOutDataPacket failed: ReasonCode=-2!
>>BulkOut Req=0x6b1f, Complete=0x6b1e, Other=0xee
>>BulkOut Header:bc 4 0 44 e0 0 87 80
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=1!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=2!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=3!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=4!
BulkOutDataPacket failed: ReasonCode=-2!
>>BulkOut Req=0x6b1f, Complete=0x6b1e, Other=0xef
>>BulkOut Header:bc 4 0 44 e0 0 87 80
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=5!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=6!
#6
上面步骤都分好了,这英文不难啊,一眼不会看多几眼就懂啦
#1
求好心人指点呀
#2
都那么忙嘛
#3
同求,求指导,系统是WINCE的
#4
哥们,就是告诉你解压软件包,然后再安装(根据系统需求配置环境变量),更新驱动,这点英文并不难,仔细看下就可以解决了啊!
#5
请问大侠,我在使用USB WIFI的时候出现下面这个错误是怎么回事啊。
BulkOutDataPacket failed: ReasonCode=-2!
>>BulkOut Req=0x6b1f, Complete=0x6b1e, Other=0xed
>>BulkOut Header:bc 4 0 44 e0 0 87 80
BulkOutDataPacket failed: ReasonCode=-2!
>>BulkOut Req=0x6b1f, Complete=0x6b1e, Other=0xee
>>BulkOut Header:bc 4 0 44 e0 0 87 80
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=1!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=2!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=3!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=4!
BulkOutDataPacket failed: ReasonCode=-2!
>>BulkOut Req=0x6b1f, Complete=0x6b1e, Other=0xef
>>BulkOut Header:bc 4 0 44 e0 0 87 80
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=5!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=6!
BulkOutDataPacket failed: ReasonCode=-2!
>>BulkOut Req=0x6b1f, Complete=0x6b1e, Other=0xed
>>BulkOut Header:bc 4 0 44 e0 0 87 80
BulkOutDataPacket failed: ReasonCode=-2!
>>BulkOut Req=0x6b1f, Complete=0x6b1e, Other=0xee
>>BulkOut Header:bc 4 0 44 e0 0 87 80
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=1!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=2!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=3!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=4!
BulkOutDataPacket failed: ReasonCode=-2!
>>BulkOut Req=0x6b1f, Complete=0x6b1e, Other=0xef
>>BulkOut Header:bc 4 0 44 e0 0 87 80
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=5!
Qidx(0), not enough space in MgmtRing, MgmtRingFullCount=6!
#6
上面步骤都分好了,这英文不难啊,一眼不会看多几眼就懂啦