openwrt 826 挂载RT5370 usb无线网卡

  1. 购买the Ralink’s RT5370 adapter 保证硬件没问题

  2. make menuconfig后,选择以下

Base system > busybox > Customize busybox options > Linux System Utilities:
lspci
lsusb
Base system > wireless-tools

其中,也可以opkg 安装usbutils,用lsusb的话更加详细

Using the lsusb it’s detected like that:

1 Bus 001 Device 002: ID 148f:5370
  1. 在选择 Kernel modules > Wireless Drivers > kmod-rt2800-usb

  2. 插入usb无线网卡之后,查看ifconfig -a,发现没有rt5730无线网卡,cat /etc/config/wireless, the file looks like that:

Kernel modules > Wireless Drivers > kmod-rt2800-usb
... ...
config wifi-iface
  1. Then we modify the wireless by rm /etc/config/wireless and generate the new config by wifi config /etc/config/wireless.

    The new file is like this
config wifi-device 'radio0'
config wifi-iface 'default_radio0'
config wifi-device 'radio1'
config wifi-iface 'default_radio1'

Of course, set the disabled to 0 to set up the wifi, you could boot it in luci or by ifconfig wlan1 up

  1. the result is like this pic


    luci界面.png
  2. online by the wireless network interface.

    a. scan the wireless netwrok by and add the network that created by phone named "zttty"
    b. create network and select the net type is "client WDS".
    the result like follow.

    无线配置模式.png

reference

  1. https://blog.3mdeb.com/2017/2017-05-12-installing-openwrt-on-apu3-platform/
  2. http://blog.chinaunix.net/uid-9688646-id-5083506.html
  3. https://www.jianshu.com/p/461d361b33f4
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • NAME dnsmasq - A lightweight DHCP and caching DNS server....
    ximitc阅读 2,936评论 0 0
  • TABLE OF CONTENTS Introduction 7 Overview of FortiCloud 7...
    Bouw阅读 2,501评论 0 0
  • 这是一个人的队伍和一个人的战争,是自己与自己的斗争。
    喜之郎_951d阅读 200评论 0 0
  • 今天上午,奶奶、妈妈带着我和二宝一起去菜市场。我们刚进菜市场,奶奶就给二宝看中了一双小袜套,因为二宝要学走路了...
    田田糖糖阅读 175评论 0 1