mt7601 Build Instructions

=======================================================================
Build Instructions:  
====================

1>tar

# tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgz

    go to "./DPB_RT2870_Linux_STA_x.x.x.x" directory.   

2> Makefile Edit

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> os/linux/config.mk Edit 

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

备注 :

'HAS_WPA_SUPPLICANT=y'

'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'

4>compile driver source code

# make

5> /etc config 

$cp RT2870STA.dat  /etc/Wireless/RT2870STA/RT2870STA.dat

备注:若没有此路径,就先创建再拷贝

6> load driver

go to "os/linux/" directory.

# insmod mt7601Usta.ko

7> unload driver   

# ifconfig ra0 down
# rmmod mt7601Usta


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值