⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme_sta

📁 Linux下的RT系列无线网卡驱动,可以直接在x86平台上编译
💻
字号:
* README** Ralink Tech Inc.* * http://www.ralinktech.com*=======================================================================ModelName:===========RT2860 Wireless Lan Linux Driver=======================================================================Driver lName:=============rt2860.o/rt2860.ko=======================================================================Supporting Kernel:===================linux kernel 2.4 and 2.6 series. Tested in Redhat 7.3 or later.=======================================================================Description:=============This is a linux device driver for Ralink RT2860 ABGN WLAN Card.=======================================================================Contents:=============Makefile	        : Makefile*.c					: c files*.h					: header files=======================================================================Features:==========   This driver implements basic IEEE802.11. Infrastructure and adhoc mode with    open or shared or WPA-PSK or WPA2-PSK authentication method.    NONE, WEP, TKIP and AES encryption. =======================================================================Build Instructions:  ====================1> $tar -xvzf DPB_RT2860_Linux_STA_x.x.x.x.tgz    go to "./DPB_RT2860_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	   Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.	** Build for being controlled by WpaSupplicant with Ralink Driver	   Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.4> $make									# compile driver source code5> $cp RT2860STA.dat  /etc/Wireless/RT2860STA/RT2860STA.dat           # !!!check if it is a binary file before loading !!!      6> load driver    #[kernel 2.4]    #    $/sbin/insmod rt2860sta.o    #    $/sbin/ifconfig ra0 inet YOUR_IP up            #[kernel 2.6]    #    $/sbin/insmod rt2860sta.ko    #    $/sbin/ifconfig ra0 inet YOUR_IP up7> unload driver        $/sbin/ifconfig ra0 down	$/sbin/rmmod rt2860sta	=======================================================================CONFIGURATION:  ====================RT2860 driver can be configured via following interfaces, i.e. (i)"iwconfig" command, (ii)"iwpriv" command, (iii) configuration filei)  iwconfig comes with kernel.  ii) iwpriv usage, please refer to file "iwpriv_usage.txt" for details.iii)modify configuration file "RT2860STA.dat" in /etc/Wireless/RT2860STA/RT2860STA.dat.           Configuration File : RT2860STA.dat---------------------------------------# Copy this file to /etc/Wireless/RT2860STA/RT2860STA.dat# This file is a binary file and will be read on loading rt.o module.## Use "vi -b rt61sta.dat" to modify settings according to your need.# # 1.) set NetworkType to "Adhoc" for using Adhoc-mode, otherwise using Infrastructure# 2.) set Channel to "0" for auto-select on Infrastructure mode# 3.) set SSID for connecting to your Accss-point.# 4.) AuthMode can be "WEPAUTO", "OPEN", "SHARED", "WPAPSK", "WPA2PSK", "WPANONE"# 5.) EncrypType can be "NONE", "WEP", "TKIP", "AES"# for more information refer to the Readme file.# #The word of "Default" must not be removedDefaultCountryRegion=5CountryRegionABand=7CountryCode=SSID=Dennis2860APNetworkType=InfraWirelessMode=9Channel=0BasicRate=15BeaconPeriod=100TxPower=100BGProtection=0TxPreamble=0RTSThreshold=2347FragThreshold=2346TxBurst=1WmmCapable=0AckPolicy=0;0;0;0AuthMode=OPENEncrypType=NONEWPAPSK=DefaultKeyID=1Key1Type=0Key1Str=Key2Type=0Key2Str=Key3Type=0Key3Str=Key4Type=0Key4Str=PSMode=CAMFastRoaming=0RoamThreshold=70HT_RDG=1HT_EXTCHA=0HT_OpMode=1HT_MpduDensity=4HT_BW=1HT_AutoBA=1HT_AMSDU=0HT_BAWinSize=64HT_GI=1HT_MCS=33HT_MIMOPSMode=3-----------------------------------------------*NOTE:	WMM parameters			WmmCapable			Set it as 1 to turn on WMM Qos support							AckPolicy1~4		Ack policy which support normal Ack or no Ack								(AC_BK, AC_BE, AC_VI, AC_VO)				All WMM parameters do not support iwpriv command but ˉWmmCapableˇˇ, 	please store all parameter to RT2860STA.dat, and restart driver. 	-----------------------------------------------syntax is 'Param'='Value' and describes below. 1. CountryRegion=value                                 	value		0: use 1 ~ 11 Channel		1: use 1 ~ 13 Channel		2: use 10 ~ 11 Channel		3: use 10 ~ 13 Channel		4: use 14 Channel		5: use 1 ~ 14 Channel		6: use 3 ~ 9 Channel		7: use 5 ~ 13 Channel   	 	                                      2. CountryRegionForABand=value      								value			0: use 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165 Channel		1: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140 Channel		2: use 36, 40, 44, 48, 52, 56, 60, 64 Channel		3: use 52, 56, 60, 64, 149, 153, 157, 161 Channel		4: use 149, 153, 157, 161, 165 Channel		5: use 149, 153, 157, 161 Channel		6: use 36, 40, 44, 48 Channel		7: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165 Channel		8: use 52, 56, 60, 64 Channel		9: use 34, 38, 42, 46 Channel		10 use 34, 36, 38, 40, 42, 44, 46, 48, 52, 56, 60, 64 Channel                                                           3. SSID=value                		value		0~z, 1~32 ascii characters.                    	4. WirelessMode=value	value			0: legacy 11b/g mixed 		1: legacy 11B only 		2: legacy 11A only         //Not support in RfIcType=1(id=RFIC_5225) and RfIcType=2(id=RFIC_5325)		3: legacy 11a/b/g mixed     //Not support in RfIcType=1(id=RFIC_5225) and RfIcType=2(id=RFIC_5325)		4: legacy 11G only		5: 11ABGN mixed		6: 11N only		7: 11GN mixed		8: 11AN mixed		9: 11BGN mixed	   10: 11AGN mixed	                     5. Channel=value	value		depends on CountryRegion or CountryRegionForABand                    	6. BGProtection=value	value		0: Auto 		1: Always on 		2: Always off                    	7. TxPreamble=value  	value		0:Preamble Long		1:Preamble Short 		2:Auto                    	8. RTSThreshold=value	value		1~2347                                                                           	                                       9. FragThreshold=value	value       			256~2346                    	10. TxBurst=value	value		0: Disable		1: Enable11. NetworkType=value	    			value 		Infra: infrastructure mode       	Adhoc: adhoc mode                                                                                                                                                        	                                                          12. AuthMode=value	value		OPEN	 	For open system			SHARED	  	For shared key system			WEPAUTO     Auto switch between OPEN and SHARED		WPAPSK      For WPA pre-shared key  (Infra)		WPA2PSK     For WPA2 pre-shared key (Infra)		WPANONE		For WPA pre-shared key  (Adhoc)		WPA		WPA213. EncrypType=value	value		NONE		For AuthMode=OPEN                    		WEP			For AuthMode=OPEN or AuthMode=SHARED 		TKIP		For AuthMode=WPAPSK or WPA2PSK                    		AES			For AuthMode=WPAPSK or WPA2PSK                     		14. DefaultKeyID=value	value		1~415. Key1=value    Key2=value    Key3=value    Key4=value	value		10 or 26 hexadecimal characters eg: 012345678        5 or 13 ascii characters eg: passd    (usage : "iwpriv" only)     16. Key1Type=vaule    Key2Type=value    Key3Type=vaule    Key4Type=vaule    value		0   hexadecimal type		1   assic type    (usage : reading profile only)17. Key1Str=value    Key2Str=value    Key3Str=vaule    Key4Str=vaule    value		10 or 26 characters (key type=0)		5 or 13 characters  (key type=1)    (usage : reading profile only)	18. WPAPSK=value              		value		8~63 ASCII  		or 		64 HEX characters																                    																		19. WmmCapable=value	value		0: Disable WMM		1: Enable WMM        20. PSMode=value    value    	CAM			    Constantly Awake Mode		Max_PSP		    Max Power Savings		Fast_PSP		Power Save Mode21. FastRoaming=value	value		0				Disabled		1				Enabled22. RoamThreshold=value	value		Positive Interger(dBm)23. HT_RDG=value	value		0				Disabled		1				Enabled24. HT_EXTCHA=value (Extended Channel Switch Announcement)	value		0				Below		1 				Above25. HT_OpMode=value	value		0				HT mixed format		1				HT greenfield format26. HT_MpduDensity=value	value (based on 802.11n D2.0)		0: no restriction
		1: 1/4 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -