mt7601 Build Instructions
2015-08-21 18:02
435 查看
=======================================================================
Build Instructions:
====================
go to "./DPB_RT2870_Linux_STA_x.x.x.x" directory.
define the linux kernel source include file path LINUX_SRC
modify to meet your need.
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'
备注:若没有此路径,就先创建再拷贝
# insmod mt7601Usta.ko
# rmmod mt7601Usta
Build Instructions:
====================
1>tar
# tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgzgo 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 machinedefine 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
# make5> /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
相关文章推荐
- 2015 Multi-University Training Contest 10 hdu 5412 CRB and Queries
- QTREE - Query on a tree 树链剖分 或者 动态树
- ios UI开发相关转载链接汇总
- UI_iOS应用状态栏样式设置_及导航栏(NavigationBar)透明
- easyui datagrid 客户端搜索、分页、排序
- JDBC:execute(),executeQuery()和executeUpdate()的用法与区别
- UICollectionView--九宫格
- 【从零开始学NGUI 】 (十)Anchor
- 升级Win10 Build 10525激活方面遇到的一些问题解答汇总
- POJ1503Integer Inquiry高精度的加法
- CSS3中Media Queries
- requirejs 同过hack改变文件映射
- Android UI设计:TextView与EditText
- 编写一个类,在main方法中定义一个Map对象(采用泛型),加入若干个对象,然后遍历并打印出各元素的key和value。
- bzoj 3637: Query on a tree VI 树链剖分 && AC600
- 设置自定义UITableViewCell之间的间距
- UIPanGestureRecognizer类中translationInView
- UI设计基础百科
- [SoapUI] Global Scripts For Reusability
- IOS-UIViewContentMode各类型效果