OpenWrt Forum Archive

Topic: TP-Link TL-MR3020 Support

The content of this topic has been archived between 16 Jun 2013 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

alfa33 wrote:

The MR3020 Ver 1.7 confirmed as not having Ethernet access using trunk r31650  and newer builds flashed via tftp and also from the TP firmware update web page. Other users with Ver 1.6 hardware have Ethernet working after downgrading to r31650.

Two units originally flashed with r31954 reflashed to r31650 no ethernet.
One new unit flashed from TP firmware upgrade page to r31650 no ethernet

I've also tried a multitude of trunks from the last three week, none are able to bring up the Ethernet port, although original TP firmware works fine. Have tried different network switches, changed flow control, negotiation, 10M, 100M, switch says link is up but no traffic. TP3020 says link is down.

Does anyone have any pointers on how to get the Ethernet port working?

Many thanks.

Hi alfa33!
Do you have this release of firmware (I mean r31650)? How can I get it for my 3020 ver. 1.6?

(Last edited by AlexSpb on 31 May 2012, 08:40)

tonyryland wrote:

Thanks for the suggestion. It is really helpful to us. Great.

But I have some problem with r31650 version of firmware. I can`t install some packages for 3G modems. How can I install it on a old kernel (3.3.5-1, new firmware has 3.3.7-1 version)

I compiled new firmware - r32012. MR3020 working fine with it. Lan is OK! If you need this firmware - let me know by e-mail or ICQ.

AlexSpb wrote:

I compiled new firmware - r32012. MR3020 working fine with it. Lan is OK! If you need this firmware - let me know by e-mail or ICQ.

Have u tried USB Storage with it? - It failed several times for me in past. Already mentioned in this thread. Havn't found any Solution yet, but also had less time to investigate further.

USB storage, no problem at all.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r32012)
 -----------------------------------------------------
root@MR3020:/# mount|grep -i ext
/dev/sda1 on /mnt type ext4 (rw,relatime,user_xattr,barrier=1)
root@MR3020:/# df|grep sda
/dev/sda1              1022917     47937    923651   5% /mnt

Hello, I have a problem with MR-3020 and Openwrt, I succesfuly uploaded OpenWRT on MR-3020 but after reboot I can't connect to it, telnet doesn't work, SSH doesn't work and fail safe mode not to, maybe I miss something, if someoen has any solution

tutur9211 wrote:

Hello, I have a problem with MR-3020 and Openwrt, I succesfuly uploaded OpenWRT on MR-3020 but after reboot I can't connect to it, telnet doesn't work, SSH doesn't work and fail safe mode not to, maybe I miss something, if someoen has any solution

try failsafe mode,
connect lan to PC, change PC IP 192.168.1.10 , subnet 255.255.255.0 , leave gateway and DNS blank
1. turn off
2. turn on
3. press wps button rapidly
4. wps led will blinking around 3 times per/sec ( router entering failsafe mode)
5. now you can ssh or telnet to you router

good luck

ver 1.7 supported?

I bricked my ver 1.4... replaced with ver 1.7.

for bricked 1.4 box, looks like it nv boot up, as the LED will light up sequentially, round and round, nv stop. anything I can try to fix it?

Looking forward to your expertise.

luneng8183 wrote:

ver 1.7 supported?

I bricked my ver 1.4... replaced with ver 1.7.

for bricked 1.4 box, looks like it nv boot up, as the LED will light up sequentially, round and round, nv stop. anything I can try to fix it?

Looking forward to your expertise.

Got a few Ver1.7 here, so far no go but trying latest trunk today and see if r32012 works. Will post later.

I've read a lot about openWrt but still no idea how to flash via serial port.

Do you have any suggestion on detailed wiki on this part? and I am quite curious if I can bring my ver 1.4 back to normal.

Thanks.

alfa33 wrote:
luneng8183 wrote:

ver 1.7 supported?

I bricked my ver 1.4... replaced with ver 1.7.

for bricked 1.4 box, looks like it nv boot up, as the LED will light up sequentially, round and round, nv stop. anything I can try to fix it?

Looking forward to your expertise.

Got a few Ver1.7 here, so far no go but trying latest trunk today and see if r32012 works. Will post later.

luneng8183 wrote:

I've read a lot about openWrt but still no idea how to flash via serial port.

Do you have any suggestion on detailed wiki on this part? and I am quite curious if I can bring my ver 1.4 back to normal.

Thanks.

alfa33 wrote:
luneng8183 wrote:

ver 1.7 supported?

I bricked my ver 1.4... replaced with ver 1.7.

for bricked 1.4 box, looks like it nv boot up, as the LED will light up sequentially, round and round, nv stop. anything I can try to fix it?

Looking forward to your expertise.

Got a few Ver1.7 here, so far no go but trying latest trunk today and see if r32012 works. Will post later.

linky http://wiki.openwrt.org/toh/tp-link/tl- … tp.experts

MR3020 1.6 S/N:11C6590xxxx with r31650 no ethernet.

r32012 re-flashed via tftp works fine !

r32012 tested on Ver1.7 hardware, no Ethernet still, but works fine on Ver1.6.

building r32020 and will try that.

alfa33 wrote:

r32012 tested on Ver1.7 hardware, no Ethernet still, but works fine on Ver1.6.

building r32020 and will try that.

tried r32020 still no Ethernet link


root@OpenWrt:/sbin# devstatus eth0
{
        "type": "Network device",
        "up": true,
        "link": false,
        "link-advertising": [
                "10H",
                "10F",
                "100H",
                "100F",
                "1000F"
        ],
        "link-supported": [
                "10H",
                "10F",
                "100H",
                "100F",
                "1000F"
        ],
        "speed": "10H",
        "mtu": 1500,
        "macaddr": "90:f6:52:be:85:24",
        "txqueuelen": 1000,
        "statistics": {
                "collisions": 0,
                "rx_frame_errors": 0,
                "tx_compressed": 0,
                "multicast": 0,
                "rx_length_errors": 0,
                "tx_dropped": 0,
                "rx_bytes": 0,
                "rx_missed_errors": 0,
                "tx_errors": 0,
                "rx_compressed": 0,
                "rx_over_errors": 0,
                "tx_fifo_errors": 0,
                "rx_crc_errors": 0,
                "rx_packets": 0,
                "tx_heartbeat_errors": 0,
                "rx_dropped": 0,
                "tx_aborted_errors": 0,
                "tx_packets": 0,
                "rx_errors": 0,
                "tx_bytes": 0,
                "tx_window_errors": 0,
                "rx_fifo_errors": 0,
                "tx_carrier_errors": 0
        }
}

I Ordert an MR-3020 do i understand it right that bin flash over the stock firmware web interface works with the latest trunk version of OpenWRT with v1.0 v1.4 and v1.6 but no ethernet with v1.7?

thanks for help

and how to know the build ver no.? like r31650 r32020...

draner86 wrote:

I Ordert an MR-3020 do i understand it right that bin flash over the stock firmware web interface works with the latest trunk version of OpenWRT with v1.0 v1.4 and v1.6 but no ethernet with v1.7?

thanks for help

arickbro wrote:
tutur9211 wrote:

Hello, I have a problem with MR-3020 and Openwrt, I succesfuly uploaded OpenWRT on MR-3020 but after reboot I can't connect to it, telnet doesn't work, SSH doesn't work and fail safe mode not to, maybe I miss something, if someoen has any solution

try failsafe mode,
connect lan to PC, change PC IP 192.168.1.10 , subnet 255.255.255.0 , leave gateway and DNS blank
1. turn off
2. turn on
3. press wps button rapidly
4. wps led will blinking around 3 times per/sec ( router entering failsafe mode)
5. now you can ssh or telnet to you router

good luck

It doesn't work, the MR-3020's IP is 192.168.1.1 isn't it?

arickbro wrote:

try failsafe mode,
connect lan to PC, change PC IP 192.168.1.10 , subnet 255.255.255.0 , leave gateway and DNS blank
1. turn off
2. turn on
3. press wps button rapidly
4. wps led will blinking around 3 times per/sec ( router entering failsafe mode)
5. now you can ssh or telnet to you router

good luck

To enter Failsafe mode is very easy, no need to press the button "rapidly" or hold the key etc....

During powerup, when the light Start Flashing (Power or WPS light), "single click" on the button within the first 5s
Means that just press the button (reset or wps whatever),
the light would be flashing triple faster, now it is in Failsafe mode.

Very easy, no need to keep pressing, no need to hold the key during powerup......
Every models with openwrt just like that.

Hello, I have a problem with MR-3020 and Openwrt, I succesfuly uploaded OpenWRT on MR-3020 but after update firmware after reboot it does't work. All LEDs blinks around once in 5 sec. I can't connect to it, telnet doesn't work, SSH doesn't work and fail safe mode not to, maybe I miss something, if someoen has any solution.

Just to confirm that MR3020 Hardware Rev 1.7 is now working using build r32093 onwards, tested on r32109, (Ethernet comes up fine). Many many thanks to the devs for sorting this. Good job!

Hey Everyone!

Having a problem where my TL-MR3020 is only working with 1 usb device (the very first one I ever plugged in:

root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 041e:4034 Creative Technology, Ltd Webcam Instant

Any other devices plugged in do not light up the usb LED on the unit, and put errors in dmesg such as:

hub 1-0:1.0: unable to enumerate USB device on port 1
or
hub 1-0:1.0: connect-debounce failed, port 1 disabled

I have reflashed the unit with stock TP-link firmware, restored to factory defaults, reinstalled openwrt, and issue persists.

Anyone have any suggestions for me? Thanks to everyone in the openwrt community!

Hi all,

I've successfully installed OpenWRT (r31835) to my 3020. Ethernet works fine, however when I enable WIFI in/etc/config/wireless the device does not come up after reboot, WSP led blinking, and rebooting every minuit or so.
I can then move to failsave and reset/disable the wifi config, but I'de rather get WIFI up and running sad

Below the config I currently have (default as it came with the image) and a dmesg dump
Am I missing something here? Any pointers are much appreciated.


------------
config wifi-device  radio0
    option type     mac80211
    option channel  11
    option macaddr    f8:d1:11:bd:3d:34
    option hwmode    11ng
    option htmode    HT20
    list ht_capab    SHORT-GI-20
    list ht_capab    SHORT-GI-40
    list ht_capab    RX-STBC1
    list ht_capab    DSSS_CCK-40
    # REMOVE THIS LINE TO ENABLE WIFI:
    # option disabled 1

config wifi-iface
    option device   radio0
    option network  lan
    option mode     ap
    option ssid     OpenWrt
    option encryption none
-----------

root@OpenWrt:~# dmesg
[    0.000000] Linux version 3.3.6 (openwrt@huchra) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Wed May 23 08:24:48 PDT 2012
[    0.000000] MyLoader: sysp=7ab7c29c, boardp=07ac6486, parts=24fed496
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80314410, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-MR3020 console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29000k/32768k available (2200k kernel code, 3768k reserved, 570k data, 200k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[    0.100000] MIPS: machine is TP-LINK TL-MR3020
[    0.340000] bio: create slab <bio-0> at 0
[    0.340000] Switching to clocksource MIPS
[    0.350000] NET: Registered protocol family 2
[    0.350000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.360000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.360000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.370000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.380000] TCP reno registered
[    0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.390000] NET: Registered protocol family 1
[    0.400000] PCI: CLS 0 bytes, default 32
[    0.410000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.420000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.430000] msgmni has been set to 56
[    0.430000] io scheduler noop registered
[    0.440000] io scheduler deadline registered (default)
[    0.440000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.450000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.460000] console [ttyATH0] enabled, bootconsole disabled
[    0.470000] m25p80 spi0.0: found s25sl032a, expected m25p80
[    0.480000] m25p80 spi0.0: s25sl032a (4096 Kbytes)
[    0.480000] 5 tp-link partitions found on MTD device spi0.0
[    0.490000] Creating 5 MTD partitions on "spi0.0":
[    0.490000] 0x000000000000-0x000000020000 : "u-boot"
[    0.500000] 0x000000020000-0x00000011aaac : "kernel"
[    0.500000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.520000] 0x00000011aaac-0x0000003f0000 : "rootfs"
[    0.520000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.530000] mtd: partition "rootfs" set to be root filesystem
[    0.540000] mtd: partition "rootfs_data" created automatically, ofs=290000, len=160000
[    0.540000] 0x000000290000-0x0000003f0000 : "rootfs_data"
[    0.550000] 0x0000003f0000-0x000000400000 : "art"
[    0.560000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.810000] ag71xx_mdio: probed
[    0.810000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.420000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    1.420000] TCP westwood registered
[    1.430000] NET: Registered protocol family 17
[    1.430000] Bridge firewalling registered
[    1.430000] 8021q: 802.1Q VLAN Support v1.8
[    1.450000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.450000] Freeing unused kernel memory: 200k freed
[    3.640000] Registered led device: tp-link:green:3g
[    3.640000] Registered led device: tp-link:green:wlan
[    3.640000] Registered led device: tp-link:green:lan
[    3.640000] Registered led device: tp-link:green:wps
[    6.940000] JFFS2 notice: (443) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 9 of xref (0 dead, 2 orphan) found.
[    7.920000] Compat-wireless backport release: compat-wireless-2012-04-17-2-r31835
[    7.930000] Backport based on wireless-testing.git master-2012-04-17
[    7.960000] cfg80211: Calling CRDA to update world regulatory domain
[    8.310000] cfg80211: World regulatory domain updated:
[    8.310000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.320000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.330000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.340000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.340000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.350000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.490000] usbcore: registered new interface driver usbfs
[    8.500000] usbcore: registered new interface driver hub
[    8.500000] usbcore: registered new device driver usb
[    9.080000] ath: EEPROM regdomain: 0x0
[    9.080000] ath: EEPROM indicates default country code should be used
[    9.080000] ath: doing EEPROM country->regdmn map search
[    9.080000] ath: country maps to regdmn code: 0x3a
[    9.080000] ath: Country alpha2 being used: US
[    9.080000] ath: Regpair used: 0x3a
[    9.080000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    9.090000] Registered led device: ath9k-phy0
[    9.090000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[    9.090000] cfg80211: Calling CRDA for country: US
[    9.270000] PPP generic driver version 2.4.2
[    9.280000] cfg80211: Regulatory domain changed to country: US
[    9.280000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.290000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[    9.300000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[    9.300000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.310000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.320000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.330000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[    9.380000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.500000] NET: Registered protocol family 24
[    9.640000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.640000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[    9.650000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    9.690000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    9.710000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    9.710000] hub 1-0:1.0: USB hub found
[    9.710000] hub 1-0:1.0: 1 port detected
[    9.740000] nf_conntrack version 0.5.0 (456 buckets, 1824 max)
[   10.080000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   13.410000] device eth0 entered promiscuous mode
[   13.580000] device eth0 left promiscuous mode
[   13.580000] br-lan: port 1(eth0) entered disabled state
[   13.630000] device eth0 entered promiscuous mode
[   14.240000] eth0: link up (10Mbps/Full duplex)
[   14.240000] br-lan: port 1(eth0) entered forwarding state
[   14.240000] br-lan: port 1(eth0) entered forwarding state
[   16.240000] br-lan: port 1(eth0) entered forwarding state

Hey guys!
I have a problem with my 3020.
I worte a C program that prints the bytes it receives on ttyUSB0. The serial settings like baudrae and such are set within the program.
The thing is, before running the program I still have to use stty to set the serial settings. If I dont, my program does not print a thing.
Anyone has a clue?

Jun 14 15:45:36 OpenWrt daemon.info pppd[778]: No response to 5 echo-requests
Jun 14 15:45:36 OpenWrt daemon.notice pppd[778]: Serial link appears to be disconnected.
Jun 14 15:45:36 OpenWrt daemon.info pppd[778]: Connect time 7.1 minutes.
Jun 14 15:45:36 OpenWrt daemon.info pppd[778]: Sent 310730 bytes, received 681040 bytes.
Jun 14 15:45:37 OpenWrt daemon.notice netifd: Interface 'wan' has lost the connection


always got disconnected from 3G dongle... how to trace the root cause?

uci set network.wan.pppd_options=debug
uci commit network