openwrt 826 挂载RT5370 usb无线网卡

2019-12-24  本文已影响0人  岳麓山鸡王
  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
上一篇下一篇

猜你喜欢

热点阅读