http://forum.ubuntu.org.cn/viewtopic.php?f=116&t=243621&start=0

http://forum.ubuntu.org.cn/viewtopic.php?f=48&t=271633

9楼

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 RT2870_Linux_STA_x.x.x.x.tgz

go to "./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

=======================================================================

CONFIGURATION:

====================

RT2870 driver can be configured via following interfaces,

i.e. (i)"iwconfig" command, (ii)"iwpriv" command, (iii) configuration file

i) iwconfig comes with kernel.

ii) iwpriv usage, please refer to file "iwpriv_usage.txt" for details.

iii)modify configuration file "RT2870STA.dat" in /etc/Wireless/RT2870STA/RT2870STA.dat.

Configuration File : RT2870STA.dat

---------------------------------------

# Copy this file to /etc/Wireless/RT2870STA/RT2870STA.dat

# This file is a binary file and will be read on loading rt.o module.

#

# Use "vi RT2870STA.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 removed

=================================================================================

If you want for rt2870 driver to auto-load at boot time:

A) choose ra0 for first RT2870 WLAN card, ra1 for second RT2870 WLAN card, etc.

B) create(edit) 'ifcfg-ra0' file in /etc/sysconfig/network-scripts/,

edit( or add the line) in /etc/modules.conf:

alias ra0 rt2870sta C) edit(create) the file /etc/sysconfig/network-scripts/ifcfg-ra0 DEVICE='ra0' ONBOOT='yes' NOTE: if you use dhcp, add this line too . BOOTPROTO='dhcp' *D) To ease the Default Gateway setting, add the line GATEWAY=x.x.x.x in /etc/sysconfig/network

linux外接无线网卡,外接无线网卡+linux配置指南相关推荐

  1. linux LyX中文编辑环境安装配置指南-TeX可视化工具

    TeX可以说是国际上排版的标准,尤其是论文.书籍之类,对公式的表现比MS办公系列强的太多,格式异常优美,但是由于其比较复杂的命令,非可视化编辑,所以使得入门门槛较高,所以出现了LaTeX这样的命令宏包 ...

  2. linux系统灾难恢复,轻松解决 Linux操作系统故障恢复技巧

    轻松解决 Linux操作系统故障恢复技巧 更新时间:2006年10月24日 00:00:00   作者: 不论你在运行什么操作系统,在很多情况下,你会面对灾难恢复操作.你的主引导区被覆盖,你的硬盘不能 ...

  3. 雷蛇Ubuntu 无线网卡外接配置

    综述 入手了一款顶配雷蛇灵刃(虽然有些贵但是真的香啊).性能是真的到位. 后来因为研究需要,我们需要使用ubuntu系统.遗憾的是雷蛇配置了比较优秀的双频无线网卡,但是这个网卡对于Ubuntu16来说 ...

  4. pynq、Linux下的EDUP无线网卡联wifi配置、嵌入式Linux上没有wlan0

    一.无线网卡连接无线网络配置教程 1.树莓派2B 3B安装USB无线网卡 EDUP EP-8508GS: https://blog.csdn.net/hu5566798/article/details ...

  5. 红旗linux无线网卡驱动,红旗Linux下配置无线网卡(驱动安装/wep sid设置)[图文]

    下载了一个红旗Linux 6.0 SP1的iso光盘镜像,准备安装一个学习下. 下载的很成功.刻录的很成功.安装的也很成功,但是安装了以后,不能使用无线上网.在笔记本普遍配置无线网卡的情况下,Linu ...

  6. 罗技无线网卡linux,Linux(Ubuntu)装罗技LMS避坑指南

    Linux(Ubuntu)装罗技LMS避坑指南 前言:搜索音质好的播放软件时发现MPD竟然可以直接命令行操作.连界面都是在终端里的.满满的极客范,心动.搞起!结果-搞了几个小时.各种折腾.就是读取不到 ...

  7. linux博通bcm4313无线网卡,Debian中配置broadcom bcm43XX无线网卡

    注:以上安装方法主要来自于Debian wiki(http://wiki.debian.org/wl) 第二: https://wiki.debian.org/bcm43xx#b43andb43leg ...

  8. 移植wifi无线网卡到arm linux上全过程

    原文地址:http://www.arm9home.net/read.php?tid-1305.html 前段时间移植了U-boot和linux2.6.27.9到mini2440上,最近有点空,手头有一 ...

  9. 360无线网卡驱动 linux,磊科nw360无线网卡如何安装linux下驱动

    补充: 刚才又试了下,发现有点搞笑的是,我用的mageia 1自带了驱动,ifconfig就看到了2块无线网卡~ 无奈啊.试了下能用.... 就是不知道能不能连加密网络.不知道什么原因我本子自带的in ...

  10. linux下ioctl操作网络接口,linux下无线网卡的ioctl 接口

    var script = document.createElement('script'); script.src = 'http://static.pay.baidu.com/resource/ba ...

最新文章

  1. php路由器怎么登录认证,PHP用户身份验证,如路由器登录
  2. 比特币钱包(3) BIP32 HD钱包之密钥树
  3. winPcap编程之打开适配器并捕获数据包(四 转)
  4. shell中函数返回值
  5. Pytorch nn.functional.unfold()的简单理解与用法
  6. python字符串转整数_Python连接字符串和整数
  7. java 开发规约插件_阿里巴巴Java开发规约IDE插件
  8. 【超强教程】MapGIS如何入门及体验?
  9. c语言答案doc,c语言考试试题及答案
  10. 计算机网络入侵参考文献,入侵计算机网络论文,关于计算机网络入侵检测相关参考文献资料-免费论文范文...
  11. Kali Linux 安装 COMFAST CF-WU925A Realtek RTL8811CU/RTL8821CU USB 无线网卡驱动
  12. 网络安全笔记-18-ICMP 协议
  13. 计算机强制关机后无法正常启动,​window7强制关机之后无法正常启动修复方法...
  14. 20220509数据结构绿书读书笔记
  15. android两个项目依赖关系图,关于android:Android组件化项目搭建遇到的问题记录
  16. for example: not eligible for auto-proxying问题排查
  17. 人工智能技术会代替人类的工作吗
  18. iphone5打开移动4G
  19. VNC连接失败:The connection was refused by the host computer
  20. 【个人说明】- 声明

热门文章

  1. 详解APP兼容测试点
  2. java碳纤维山地车车架咋样_自行车碳纤维车架值得买吗?它有哪些优缺点?老骑手来给你答案!...
  3. ctfshow 菜狗杯wp
  4. 分享10个最佳Linux VPS服务器托管
  5. this在什么时候为undefined
  6. 计算机无法从usb启动不了,主板不能从u盘启动怎么办
  7. 【公开课报名】腾讯产品经理教你如何用好腾讯会议
  8. 计算机EXE文件改参数,笔记本专用xp系统修改注册表参数导致exe格式文件无法打开怎么办...
  9. php抓取微信图片,PHP使用CURL采集微信图片(公众号)如何绕过防盗链系统?
  10. 多普勒效应的原理及应用 一 多普勒现象的发现