购买the Ralink’s RT5370 adapter 保证硬件没问题
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
在选择
Kernel modules > Wireless Drivers > kmod-rt2800-usb
插入usb无线网卡之后,查看
ifconfig -a
,发现没有rt5730无线网卡,cat /etc/config/wireless
, the file looks like that:
Kernel modules > Wireless Drivers > kmod-rt2800-usb
... ...
config wifi-iface
- Then we modify the wireless by
rm /etc/config/wireless
and generate the new config bywifi 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
-
the result is like this pic
luci界面.png -
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