Tp-link tl-mr3020

Оглавление

To Upgrade

IMPORTANT: To prevent upgrade failures, please read the following before proceeding with the upgrade process

  • Please upgrade firmware from the local TP-Link official website of the purchase location for your TP-Link device, otherwise it will be against the warranty. Please click here to change site if necessary.
  • Please verify the hardware version of your device for the firmware version. Wrong firmware upgrade may damage your device and void the warranty. (Normally V1.x=V1)How to find the hardware version on a TP-Link device?
  • Do NOT turn off the power during the upgrade process, as it may cause permanent damage to the product.
  • To avoid wireless disconnect issue during firmware upgrade process, it’s recommended to upload firmware with wired connection unless there is no LAN/Ethernet port on your TP-Link device.
  • It’s recommended that users stop all Internet applications on the computer, or simply disconnect Internet line from the device before the upgrade.
  • Use decompression software such as WinZIP or WinRAR to extract the file you download before the upgrade.

TL-MR3020(EU)_V3.20_210428

Download

Important Notice

Please upgrade firmware/software from the local TP-Link official website of the purchase location for your TP-Link device, otherwise it may cause upgrade failure or mistakes and be against the warranty.

Still Download  Go to Local Website

Published Date: 2021-08-16 Language: English File Size: 6.47 MB

Modifications and Bug Fixes
1. Fixed compatibility issue with several USB modems
2. Fixed address reservation issue
3. Improved device security and performance

Notes: For TL-MR3020(EU)3.20

TL-MR3020(EU)_V3.20_180907

Download
Published Date: 2018-11-30 Language: English File Size: 6.47 MB

Modifications and Bug Fixes
Fixed some compatibility issues with 3/4G modem. 

Note:
For TL-MR3020(EU) V3.20.

TL-MR3020(EU)_V3.20_171206

Download
Published Date: 2018-01-31 Language: English File Size: 6.45 MB

Modifications and Bug Fixes:
First firmware released. 

Note:
For TL-MR3020(EU)_V3.20.
 

To Use Third Party Firmware In TP-Link Products

Some official firmware of TP-Link products can be replaced by the third party firmware such as DD-WRT. TP-Link is not obligated to provide any maintenance or support for it, and does not guarantee the performance and stability of third party firmware. Damage to the product as a result of using third party firmware will void the product’s warranty.

Open Source Code For Programmers (GPL)

Please note: The products of TP-Link partly contain software code developed by third parties, including software code subject to the GNU General Public Licence (“GPL“), Version 1/Version 2/Version 3 or GNU Lesser General Public License («LGPL»). You may use the respective software condition to following the GPL licence terms.

You can review, print and download the respective GPL licence terms here. You receive the GPL source codes of the respective software used in TP-Link products for direct download and further information, including a list of TP-Link software that contain GPL software code under GPL Code Center.

To Upgrade

IMPORTANT: To prevent upgrade failures, please read the following before proceeding with the upgrade process

  • Please upgrade firmware from the local TP-Link official website of the purchase location for your TP-Link device, otherwise it will be against the warranty. Please click here to change site if necessary.
  • Please verify the hardware version of your device for the firmware version. Wrong firmware upgrade may damage your device and void the warranty. (Normally V1.x=V1)How to find the hardware version on a TP-Link device?
  • Do NOT turn off the power during the upgrade process, as it may cause permanent damage to the product.
  • To avoid wireless disconnect issue during firmware upgrade process, it’s recommended to upload firmware with wired connection unless there is no LAN/Ethernet port on your TP-Link device.
  • It’s recommended that users stop all Internet applications on the computer, or simply disconnect Internet line from the device before the upgrade.
  • Use decompression software such as WinZIP or WinRAR to extract the file you download before the upgrade.

TL-MR3020_V1_150921

Download
Published Date: 2015-09-21 Language: English File Size: 3.46 MB

Modifications and Bug Fixes:

1. Compatible with modem X602D、L850v.
2. Solve the problem of high power.

Notes:

For TL-MR3020 V1

TL-MR3020_V1_140610

Download
Published Date: 2014-06-10 Language: English File Size: 3.69 MB

Modifications and Bug Fixes:

  1. Re-add «Enable Wireless Radio» option.
  2. Fix some known bugs.

Notes:

For TL-MR3020_V1

TL-MR3020_V1_130326

Download
Published Date: 2013-04-18 Language: English File Size: 3.57 MB

Modifications and Bug Fixes:

  1. Added function of deblocking PIN automatically.
  2. Changed the default account and password of PPPoE/L2TP/PPTP/BigPondCable to blank.
  3. Fixed some bugs.
  4. Delete the hidden page.
  5. Delete the WEP from Quick Setup.

Notes:

Suit for TL-MR3020 v1

Hardware

Info

Architecture Mediatek Ralink MIPS 24KEc V5.5
Vendor Mediatek Ralink
Bootloader U-Boot 1.1.3 / Ralink UBoot Version: 4.3.0.0
System-On-Chip MediaTek MT7628NN
CPU/Speed 575 MHz
Flash-Chip GD25Q64B
Flash size 8 MiB
RAM 64 MiB
Wireless EXAMPLE RT2860v2 2.4GHz 802.11bgn
Ethernet 10/100 Mbit/s w/ vlan support
USB 1x 2.0
Serial
JTAG

Flash Layout

0x000000000000-0x000000020000 : "boot"
0x000000020000-0x000000170000 : "kernel"
0x000000170000-0x0000007c0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
0x0000007c0000-0x0000007d0000 : "config"
0x0000007d0000-0x0000007e0000 : "romfile"
0x0000007e0000-0x0000007f0000 : "rom"
0x0000007f0000-0x000000800000 : "radio"

In the linux console (shell below) the flash is mapped as following:

~ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "boot"
mtd1: 00150000 00010000 "kernel"
mtd2: 00650000 00010000 "rootfs"
mtd3: 00010000 00010000 "config"
mtd4: 00010000 00010000 "romfile"
mtd5: 00010000 00010000 "rom"
mtd6: 00010000 00010000 "radio"

“config” isn’t mounted in the embedded linux system. You can read the whole configuration from within the linux console with:

~ # cat /dev/mtd3

Opening the case

The top cover is held on two latches and slightly glued around the perimeter.

I put the same cover on top so you can see the location of the latches. Highlighted the latches in red.

Insert a thin screwdriver between the ethernet and the USB ports. Press on the latch.

Carefully hold the screwdriver around the perimeter.

Red highlighted places where there was glue.

Serial

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:

TP2 == TX, TP1 == RX

Serial connection parameters
for TP-Link MR-3020 v3
115200, 8N1

Linux Console

Once the original firmware has booted up completely, you can press return to activate the Linux login prompt.

The username to get a root Shell is admin
The password to get a root Shell access is 1234:

starting pid 101, tty '': '/sbin/getty -L ttyS1 115200 vt100'

TL-MR3020 login: admin
password: 1234

How to connect to the JTAG Port of this specific device:Insert photo of PCB with markings for JTAG port

Open Source Code For Programmers (GPL)

Please note: The products of TP-Link partly contain software code developed by third parties, including software code subject to the GNU General Public Licence (“GPL“), Version 1/Version 2/Version 3 or GNU Lesser General Public License («LGPL»). You may use the respective software condition to following the GPL licence terms.

You can review, print and download the respective GPL licence terms here. You receive the GPL source codes of the respective software used in TP-Link products for direct download and further information, including a list of TP-Link software that contain GPL software code under GPL Code Center.

Hardware Hacks

External Antenna Hack

If you want to add an external antenna connector or would like to know more about the MR3020 power consumption in different op-states you can find more info

Adding I2C Bus

If you want to add I2C bus to your MR3020, you can use GPIO 7 and 29. Remove R15 and R17, then add pullup between 3.3v and gpio pin.

Next step, add this line

i2c-gpio-custom bus0=0,7,29

to /etc/modules.d/99-i2c

and load i2c-gpio-custom

You can find more info in french here http://www.equinoxefr.org/post/2012/11/12/mr3020-et-i2c-avec-les-gpio/

USB Hub Hack

You can embedded usb hub to add more peripheral to your best router.

I hack a 3$ STOREX usb hub, a 2$ µSD card reader and a 10$ webcam to build a robot with my MR3020.

More info in french on http://www.equinoxefr.org/post/2012/11/05/projet-de-robot-wifi-torture-dun-routeur-tplink-mr3020/

Open Source Code For Programmers (GPL)

Please note: The products of TP-Link partly contain software code developed by third parties, including software code subject to the GNU General Public Licence (“GPL“), Version 1/Version 2/Version 3 or GNU Lesser General Public License («LGPL»). You may use the respective software condition to following the GPL licence terms.

You can review, print and download the respective GPL licence terms here. You receive the GPL source codes of the respective software used in TP-Link products for direct download and further information, including a list of TP-Link software that contain GPL software code under GPL Code Center.

Переадресация/проброс портов

Данная функция автоматически перенаправляет запросы определенных сервисов из Интернета на соответствующий хост Вашей локальной сети, находящийся за межсетевым экраном роутера. Использовать данную функцию следует в том случае, если Вы хотите создать в локальной сети за межсетевым экраном роутера какой-либо сервер (например, Web-сервер или почтовый сервер). Заходим в Переадресация (Forwarding), нажимаем Добавить (Add New).

IP-адрес — сетевой адрес устройства, на который будет перенаправляться запрос. Порт сервиса и Внутренний порт — номер порта, который требуется открыть Протоколl — Выбираете требуемый протокол Состояние — Включено. Нажимаем Сохранить. 

Installation

Model Version Current Release Firmware OpenWrt Install Firmware OpenWrt Upgrade Firmware OEM Stock
TL-MR3020 v3 21.02.0

→ Install OpenWrt (generic explanation)

Configure a TFTP server as follows:

  • IP address 192.168.0.225
  • The *.tftp-recovery.bin file is available in the root and renamed as tp_recovery.bin

  • Connected to the mr3020v3 via a wired connection

Install OpenWRT

  1. Power off the mr3020v3
  2. Hold down the ‘reset’ button — this is adjacent to the row of lights on the top panel
  3. Apply USB power to the mr3020v3 while holding the reset button
  4. After 20-30 seconds the upload will be complete, release the reset button

The OpenWRT image will now be loaded on the device. By default wireless will be disabled. The system will be available on its wired interface on 192.168.1.1.

Notes

Despite multiple advisories about broken Wi-Fi, it seems to be working smoothly for about 6 hrs. under heavy load in AP bridged to ethernet mode. Surprisingly, it even works in monitor mode.

My device marked as MR3020 rev.3.20 has been shipped (from Polish seller) without power supply. Only ~40 cm USB A-type male to microUSB B male cable provided.

On my MR3020 rev.3.20 with latest 19.07 selfcompiled no matter what device USB 2.0 I connect I see in logs “usb 1-1: device descriptor read/64, error -71” and “usb 1-1: device not accepting address <xy>, error -71” until it falls back to USB 1.1 (in some rare cases it doesn’t fall back to ohci).
Compared to stock firmware where I only have to enable USB Tethering from my Smartphone and it just works, with OpenWRT is a pain: as soon as I enable USB Tethering the smartphone say USB not connected, I basicaly have too spam click on RNDIS USB until it will stay like that and then enable USB Tethering else it will plain not work (on OpenWRT x86 with same smartphone I only have to enable USB Tethering and it will just work). Most likely the USB is not properly initialised for this device (device works properly with stock firmware and the smartphone, smartphone works properly with OpenWRT x86 so this elimates a hardware issue with the device & smartphone).

L.E.: I bought a powered usb 2.0 hub (LOGILINK UA0085, doubt it matters) and used the powered usb hub to connect the phone to the router. Now it’s capable to negotiate usb 2.0 connection and the speeds are normal for usb 2.0. Before even with the OEM firmware it was negotiating USB 1.1 (it was failing to go above 900 kB/s and that’s kinda the limit of USB 1.1, now I can hit 3,5 MB/s and that’s clearly USB 2.0 because it’s higher than the max theoretical 12 Mbps (1,5MB/s) speed of USB 1.1; OEM firmware doesn’t show any information about usb so I have to use the speed I see to determine it…). I believe that at least my device either has a problem with the amount of power that the usb port can deliver or there are distortions on the link (based on the device size both are possible). You might want to take into consideration buying a better router if you need the usb port, unless you already have a powered usb 2.0 hub.

Open Source Code For Programmers (GPL)

Please note: The products of TP-Link partly contain software code developed by third parties, including software code subject to the GNU General Public Licence (“GPL“), Version 1/Version 2/Version 3 or GNU Lesser General Public License («LGPL»). You may use the respective software condition to following the GPL licence terms.

You can review, print and download the respective GPL licence terms here. You receive the GPL source codes of the respective software used in TP-Link products for direct download and further information, including a list of TP-Link software that contain GPL software code under GPL Code Center.

To Upgrade

IMPORTANT: To prevent upgrade failures, please read the following before proceeding with the upgrade process

  • Please upgrade firmware from the local TP-Link official website of the purchase location for your TP-Link device, otherwise it will be against the warranty. Please click here to change site if necessary.
  • Please verify the hardware version of your device for the firmware version. Wrong firmware upgrade may damage your device and void the warranty. (Normally V1.x=V1)How to find the hardware version on a TP-Link device?
  • Do NOT turn off the power during the upgrade process, as it may cause permanent damage to the product.
  • To avoid wireless disconnect issue during firmware upgrade process, it’s recommended to upload firmware with wired connection unless there is no LAN/Ethernet port on your TP-Link device.
  • It’s recommended that users stop all Internet applications on the computer, or simply disconnect Internet line from the device before the upgrade.
  • Use decompression software such as WinZIP or WinRAR to extract the file you download before the upgrade.

TL-MR3020_V1_150921

Download
Published Date: 2015-09-21 Language: English File Size: 3.46 MB

Modifications and Bug Fixes:

1. Compatible with modem X602D、L850v.
2. Solve the problem of high power.

Notes:

For TL-MR3020 V1

TL-MR3020_V1_140610

Download
Published Date: 2014-06-10 Language: English File Size: 3.69 MB

Modifications and Bug Fixes:

  1. Re-add «Enable Wireless Radio» option.
  2. Fix some known bugs.

Notes:

For TL-MR3020_V1

TL-MR3020_V1_130326

Download
Published Date: 2013-04-18 Language: English File Size: 3.57 MB

Modifications and Bug Fixes:

  1. Added function of deblocking PIN automatically.
  2. Changed the default account and password of PPPoE/L2TP/PPTP/BigPondCable to blank.
  3. Fixed some bugs.
  4. Delete the hidden page.
  5. Delete the WEP from Quick Setup.

Notes:

Suit for TL-MR3020 v1

Настройка 3G/4G Подключения

1. Для настройки Интернета через USB-модем (3G/4G) заходим в Сеть (Network) — 3G.

  • Регион: Россия
  • Поставщик услуг мобильного Интернет: Выбираете Вашего оепартора связи
  • Режим подключения: Подключить автоматически
  • Тип аутентификации: Авто

2. Если Вашего оператора связи нет среди предлагаемых, заходим в Дополнительно (Advanced Settings).Ставим точку на «Указать вручную Номер набора, APN, имя пользователя и пароль». Здесь вводим данные от Вашего оператора связи. После ввода настроек, нажимаете Сохранить (Save).

3. Для настройки подключения Интернет через WAN-порт заходим в Сеть (Network) — WAN. Здесь в графе Тип подключения WAN (WAN Connection Type) выбираете тот тип подключения, который используется у Вашего провайдера.

 

Восстановление оригинальной прошивки

  • Положите образ оригинальной прошивки в /tmp
  • Убедитесь, что образ имеет корректный формат
  • Прошейте используя mtd

  • Выполните сброс настроек

ВНИМАНИЕ:
Для получения последней версии прошивки посетите на сайте производителя, после чего замените ссылку из примера ниже на совместимую с вашей версией MR3020.
Последние прошивки на сайте идут со всроенным загрузчиком (в имени файла есть слово boot) и есть мнение, что заливка такой прошивки командой mtd убивает устройство. По моему опыту, необходим возврат именно на прошивку без загрузчика

Я залил версию прошивки без загрузчика (в имени файла нет слова boot) вот с таким именем mr3020nv1_en_3_14_2_up(120817).bin — и у меня всё заработало. Файл брал отсюда

Перед началом установите переключатель режимов работы роутеера в WISP. Без этого возможно будут проблемы с подключением после перезагрузки. Подключитесь через ssh/telnet/serial и используйте следующие команды:

# opkg update && opkg install unzip
# cd /tmp
# wget http://www.tp-link.com/Resources/software/TL-MR3020_V1.00_120817.zip
# unzip TL-MR3020*.zip
# mtd -r write mr3020*up*.bin firmware

через несколько секунд роутер перезагрузится. Откройте http://192.168.0.254/, введите имя и пароль admin / admin, и выполните сброс настроек в меню System Tools / Factory Defaults.

Настройка Wi-Fi на роутере

Настраиваем Wi-Fi соединение. В боковом меню перейдите в Беспроводной режим (Wireless). В открывшемся окошке вводите следующие настройки: 

  1. Поле Имя беспроводной сети (SSID): вводим название беспроводной сети
  2. Регион (Region): Russia
  3. Канал (Chanel): Auto
  4. Режим (Mode): 11bgn смешанный
  5. Ширина канала (Channel Width): Авто (Automatic)
  6. Включить беспроводное вещание и Включить широковещание SSID — ставим галочки
  7. Нажимаем ниже кнопку Сохранить (Save) 

Настраиваем шифрование Wi-Fi. В боковом меню переходим в Защита Беспроводного режима (Wireless Security):

  1. Выбираем тип шифрования WPA-PSK/WPA2-PSK
  2. Версия — Автоматически
  3. Шифрование — AES
  4. Пароль PSK (PSK Password): вводим пароль на Wi-Fi сеть. Пароль не должен быть менее 8 символов
  5. Нажмите внизу кнопку Сохранить (Save). После сохранения настроек будет предложено перегрузить роутер, игнорируйте это требование (красная надпись внизу).