Topic: Repeater with a MR3040 and a RT5370

I have a TPLink TL-MR3040, Flashed with OpenWRT Chaos Calmer 15.05, and want it to use a USB Wifi adapter (I have a few RT5370's sitting around, but willing to get what's needed), and would like to configure it as a wifi repeater, where the WAN side uses the USB adapter, and will have a different IP range than the LAN side. I came across directions to make a repeater, but I don't know how to get the MR3040 to recognize the USB Wifi adapter. After searching, all I can find is that it looks like it's supported.

Thanks for any help!

Re: Repeater with a MR3040 and a RT5370

You can use sources like wikidevi to find info on the hardware
https://wikidevi.com/wiki/Ralink_RT5370 … nce_Design
This indicates a "2800" Linux driver.

Goto Luci=> system => software
Update the package repository
Search for 2800.

Not sure what you need from the results or how well it works.

PC-Engines ALIX 2D13 CC 15.05 RC2 (Router - OpenVPN Server)
HooToo TM02 CC 15.05 (Travel Router - OpenVPN Client)
GLi-AR150 CC15.05/GLi 2.13 (Travel Router - OpenVPN Client)
Kingston MLWG2 CC15.05 (Travel Router - OpenVPN Client, mini-DLNA)

Re: Repeater with a MR3040 and a RT5370

Thanks for the response. I searched for 2800, and installed kmod-rt2800-usb. However, after reboot the extra interface hasn't shown up in Luci. Is there something else I need to do? Although I played around with DDWRT back in the day, I'm very new to OpenWRT. Thanks!

Re: Repeater with a MR3040 and a RT5370

If the only thing you have installed is this kmod, then it will not work.  You need to install USB Basic support first.

https://wiki.openwrt.org/doc/howto/usb.essentials
https://wiki.openwrt.org/start?do=search&id=usb

PC-Engines ALIX 2D13 CC 15.05 RC2 (Router - OpenVPN Server)
HooToo TM02 CC 15.05 (Travel Router - OpenVPN Client)
GLi-AR150 CC15.05/GLi 2.13 (Travel Router - OpenVPN Client)
Kingston MLWG2 CC15.05 (Travel Router - OpenVPN Client, mini-DLNA)

Re: Repeater with a MR3040 and a RT5370

Thanks for the response. I checked the links, but it seems USB support was already installed. I ran ifconfig, but it doesn't look like the USB device is showing up. I'm trying different RT5370 based adapters, but nothing yet. Anything else I can check? Thanks.

Re: Repeater with a MR3040 and a RT5370

I just realized that in Luci->System->LED Configuration, it shows in USB Device the wifi adapter. It shows a Realtek adapter when plugged in, and nothing when unplugged, so something seems to be working. Any idea on how I can actually use it?
Thanks!

Re: Repeater with a MR3040 and a RT5370

execute this on terminal

opkg update
opkg install kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmod-rt2x00-usb

reboot
loigin to luci, go network tab and wifi tab should be available, set it up as you like.

8 (edited by mk24 2017-03-21 00:35:26)

Re: Repeater with a MR3040 and a RT5370

Also
iw list
Scroll up and confirm you see two big blocks, for two phy's (phy 0 and phy1).  Phy0 will usually be the built in radio and phy1 the USB.

If you do have two radios now, rebuild your wireless config file:
rm /etc/config/wireless
wifi detect > /etc/config/wireless

This will require you to reconfigure all wireless.  Thus you should be connected by ethernet to avoid becoming bricked out.

It only makes sense to use a USB adapter if you need a big antenna on it to reach the AP that you're trying to get Internet from.  If you are in good radio range, you can do what you originally set out to do simply by making two wifi interfaces on the built-in radio.

Re: Repeater with a MR3040 and a RT5370

Thanks for the replies. It hasn't worked, so I think i'll give up and not use an external USB Wifi adapter. My original thought was to make it easy to change MAC addresses on the WAN side. Having the option for an antenna was a bonus.

Re: Repeater with a MR3040 and a RT5370

You can make a spoof MAC address for any interface, independently of the others.  Put option macaddr 'nn:nn...' in the interface block in /etc/config/wireless.