TP-Link TL-MR3420 & TL-MR3220

The TP-Link TL-MR3420 is a Fast Ethernet b/g/n 300M (two 3 dBi omni-antennas) wireless router with USB 2.0.
The TP-Link TL-MR3220 is a Fast Ethernet b/g/n Lite-N 150M (one 5 dBi omni-antennae) wireless router with USB 2.0.

Supported Versions

Model Version FCC ID OpenWrt Version Supported Model Specific Notes
MR3420 v1.0 TE7MR3420 No failsafe Backfire 10.03.1 (r23138) -
MR3420 v1.1 No failsafe Backfire 10.03.1 (r23138) Success
MR3420 v1.2 No failsafe Backfire 10.03.1 (r23138) Success
MR3220 v1 TE7MR3220 Stability warning Trunk r24439 -
MR3220 v1.2 Stability warning Trunk r27340 Success Success Spanish 3G

No failsafe The failsafe function is not working at launch time, serial is also unfriendly: Stick to trunk. More...

Stability warning Snapshot images are always risky. Check the forum discussion for latest opinions on available images.

Hardware Highlights

CPU Ram Flash Network USB Serial JTag
Atheros AR7241@400MHz 32MiB 4MiB 4 x 100 2.0 Yes No
Wireless

TL-MR3420: Atheros AR9287 wireless chip. Single-band, 2x2 MIMO configuration

TL-MR3220: Atheros AR9285 wireless chip. Single-stream (no MIMO, Lite-N)

Installation

This section details what is required to install and upgrade OpenWrt. First we link to software that you should download before you start reading the instructions on how to install.

Important!Please double-check if the image revision you are downloading is newer than supported by the "Model Version" of your router.

  • Download a Install Image from this group if is the first flash from OEM firmware:
*-factory.bin Web interface eko.one.pl
Model Branch None LuCI Gargoyle None
MR3420 Backfire r29592 r29746 r29685
"" Trunk 1) r29903
MR3220 Backfire r29685
"" Trunk 2) r29903
  • Download a Upgrade Image from this group for already installed OpenWRT systems instead:
*-sysupgrade.bin Web interface eko.one.pl
Model Branch None LuCI Gargoyle None
MR3420 Backfire r29592 r29746 r29685
"" Trunk 3) r29903
MR3220 Backfire r29685
"" Trunk 4) r29903
  • Download PuTTY and PSCP tools for SSH connection even if you don't know what SSH is.
  • Download latest original firmware for your router MR3420/MR3220 just in case upgrade goes wrong and need it to recover Internet access.

OEM easy installation

This section deals with how you install OpenWrt from a device freshly opened. Plus the steps required such as reset to factory defaults if the device has already been configured

Note: Reset router to factory defaults if it has been previously configured.

Note: Newer TP-Link retail firmwares (confirmed on v2.4 devices, but definitely not on v2.0) include a crude mechanism to prevent you uploading unsuitable firmware. It does this by checking the filename, so you may need to rename the *-factory.bin file to the name of a TP-Link retail firmware file. e.g. wr741nv1_en_3_12_4_up(100910).bin

  • Browse to your router at http://192.168.1.1/ or test with TP-LINK Simulator first.
  • Login with user name: admin password: admin
  • Use left navigation panel and go to System Tools
  • Important! Navigate to - Factory Defaults and click on Restore if it has been previously configured.
    • Confirm the pop-up dialog.
  • Then navigate to - Firmware Upgrade
  • Upload previously chosen -factory.bin file to router
  • Click on Upgrade button and wait for it to reboot
  • Important! Do NOT turn off the power during upgrade
  • Wait about 120 seconds to start up, see SYS LED activity.
  • Don't clear your browser cache! Please report here what you installed, if do http://192.168.1.1/ work anyway and which Untested link let you get in. Successful ones have Untested removed. This only happen once, so your input is important.
192.168.1.1 Alternate links that theoretically should work
Gargoyle Know to fail http://192.168.1.1/login.shUntested https://192.168.1.1/login.sh
LuCI Untested http://192.168.1.1/index.htmlUntested http://192.168.1.1/cgi-bin/luciUntested
X-Wrt Untested http://192.168.1.1/index.htmlUntested http://192.168.1.1/cgi-bin/webif/info.shUntested
  • Important! Clear your browser cache if you are sure some web interface is installed, but can't access to http://192.168.1.1/
  • Set a root password
    • Browse to http://192.168.1.1/ if LuCI, X-Wrt or Gargoyle web interface is installed.
      • Only for Gargoyle login with defaults user name: root password: password
      • After password has been setup login with user name: root password: previusly entered
    • telnet 192.168.1.1
      • Type:
        passwd root
      • Enter your new password twice.
  • Once password has been setup Telnet is no longer available, use SSH instead to connect.
    • ssh root@192.168.1.1
    • PuTTY SSH

Flash via Webinterface

Install the OpenWrt image using "Firmware Upgrade" from the orginal firmware.

Flash via tftp

Download openwrt-ar71xx-generic-tl-mr3420-v1-squashfs-factory.bin Connect your pc via serial interface. use a tftpd server name the the firmware code.bin and set your ip to 192.168.1.27 power on the router, and type tpl if "Autoboot in .." occurs (type fast!) if it works you now should see:

ar7100>

ar7100> erase 0x9f020000 +0x3c0000

ar7100> tftpboot 0x81000000 code.bin

ar7100> cp.b 0x81000000 0x9f020000 0x3c0000

ar7100> bootm 0x9f020000

source: http://eko.one.pl/?p=openwrt-mr3420

Hardware

Info

Model MR3420 MR3220
Version 1 1.1 1.2 1 1.2
Architecture: MIPS 4KEc V6.4
Manufacturer: Atheros
Bootloader: U-Boot
System-On-Chip: Atheros AR7241@400MHz
Flash chip: MACRONIX MX25L3206E cFeon F32-100HIP Winbond W25Q32BV Spansion FL032PIF cFeon F32-100HIP
Flash size: 4 MiB
RAM chip: Zentel A3S56D40FTP -G5 FIXME Zentel A3S56D40FTP -G5
RAM size: 32 MiB
Wireless Atheros AR9287 Atheros AR9285
Antenae(s) 2 Removables x 3 dBi 1 Removable x 5 dBi
Ethernet: AG71xx 4 LAN, 1 WAN 10/100
USB: 1 x 2.0
Serial: Unfriendly
JTAG: No

Photos

MR3420 v1.x

Front: tl-mr3420-01.jpg

Back: tl-mr3420-04.jpg

Board: 280405_tp-link_mr_3420_alaplap.jpg

Photo source
More photos: 1, 2, 3

MR3220 v1.x

Front: tp-link_tl-mr3220-01.jpg

Back: tp-link_tl-mr3220-04.jpg

Board: img_20110628_172208.jpg

Photo source
More photos: 1, 2, 3, 4

Serial

Pinout
1 2 3 4
TXRXGNDVCC SJ1

20111108140400.jpg
Pin 1 is clearly marked on the board.

To get the serial connection work reliably, you have to connect a 10k pullup resistor between the TX and the 3.3V pin. This is because the TX pin is connected to a voltage divider (2x5.6k) and a capacitor is put between the real pin and the TX connector. 5)

Now connect a serial hack adapter (DKU-5, CA-42) and away you go!
The right settings for accessing the serial console are as follows:

Bits per second: 115200
Data bits: 8
Stop bits: 1
Parity: None
Flow control: None

Password to get into uboot prompt is tpl
Password to get root login is 5up

Basic configuration

Since this part is identical for all devices, see Basic configuration.

Note: (TP-Link MR4320 v1.2) In case the vlan switch configuration is not created automagically (⇐ 10.03.1) and there is eth0 and eth1 after bootup change /etc/config/network to reflect the vlan setup by adding the lines below. Also replace the 'option ifname "ethX"' accordingly (eth0.1, eth0.2). The proper ethernet port layout has still to be confimed.

config switch eth0                   
      	option reset 1                     
      	option enable_vlan 1             
                                     
config switch_vlan
        option device eth0          
        option vlan 1               
        option ports "0t 1 2 3 4" 
                                                                      
config switch_vlan         
        option device eth0       
      	option vlan 2            
      	option ports "0t 5"

In MR3220 v1.2 is:

config 'switch'
	option 'name' 'eth0'
	option 'reset' '1'
	option 'enable_vlan' '1'
      
config 'switch_vlan'
	option 'device' 'eth0'
	option 'vlan' '1'
	option 'ports' '0 1 2 3 4'

Failsafe

Failsafe is a quite popular feature, of this router, thats lets you recover instantly from a misconfiguration above.

Use the QSS button instead of reset button, everything else is identical to generic failsafe document.

Failsafe may not work in Backfire before r29661, so it's confirmed to not work at Backfire 10.03.1 launch (r29592). Be extremely cautious on what you're doing or go directly to serial recovery.

Connect stuff to the USB port

To connect stuff to the USB port, please see Connect stuff to the USB port.

Tags

1) , 2) , 3) , 4) Release number vary more frequently than Wiki update
5) With MR3220 v1.2 and CA-42 just connect TX, RX and GND, do not need any resistor.

Back to top

toh/tp-link/tl-mr3420.txt · Last modified: 2012/02/19 04:00 by nilfred