OpenWrt Forum Archive

Topic: TP-Link TL-WDR4310 v1.0 First Steps

The content of this topic has been archived between 1 Oct 2014 and 4 May 2018. Unfortunately there are posts – most likely complete pages – missing.

nebbia88 wrote:

i do not understand that "bootm" command.
why are you booting from ram instead of flashing?
is that a ramdisk (initramfs) image??

Sorry I should have been more clear.  The tftpboot/boom command sequence is for booting an initramfs image, which I was not using originally as I misunderstood the use of bootm. So ignore my use of bootm as it was wrong.

I have been running trunk r39422 on v1.7 WDR 4300 for a few days without a problem.  I flashed the image using the tftpboot/erase/cp.b sequence of steps as outlined here.  I never tried using the factory firmware upgrade webpage.

nebbia88 wrote:

so AA is also working ok on 1.7, and this is also wrong?

https://forum.openwrt.org/viewtopic.php?id=48226

When I tried AA latest, I was unable to get it to boot.  I had been intending to move to trunk anyway, so I didn't investigate any further.  I seem to recall some error in the console about decompressing the kernel?  But I could be mistaking that for another instance.

Just to pop in - I have AA (r36088) running fine on a new 1.7.

I was able to get AA (r36088) working as well, but i had to do a few things:

1. Set the device in failsafe mode
2. telnet in and set a password for the root user
3. restart the router

Everthing works for me from now on.  I tried this on two different WDR4300s.

got my wdr4300 1.6 yesterday and it´s working like a charm with vlan and a cisco switch.

Are there any posibilitys to overclock this one
EDIT: i asume this was what i was looking for
https://github.com/pepe2k/u-boot_mod

/d

(Last edited by f34r on 12 Apr 2014, 19:41)

Hello everybody !
I have a little issue with my TPlink Wdr4300 (same chipset than 4310).

I would want to force my router to a specific MCS (I know it's not a recommended thing for usual application....).

I'd try the following command : "iw dev wlan0 set bitrates mcs-5 4"

Then, my router use the good MCS but sometime still change to other MCS before to coming back to the indicated one (and changing again etc etc).

I really want for some tests applications to force the router to use only one specific MCS.

My router are TPlink Wdr4300 with a OpenWRT 12.09 attitude adjustment.

Maybe some of you can help me ?

Thanks a lot !

Will

Been reading up on the WDR4300/WDR4310 and am just wondering if AA will really work? Who tried this

cwiggs wrote:

I was able to get AA (r36088) working as well, but i had to do a few things:

1. Set the device in failsafe mode
2. telnet in and set a password for the root user
3. restart the router

Everthing works for me from now on.  I tried this on two different WDR4300s.

And can confirm it works?

AA r36088 is working on my WDR4300 1.7. The wifi instability was easily fixed by disabling ani:

echo 1 >/sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani

as seen here.

GroteBozewolf wrote:

Been reading up on the WDR4300/WDR4310 and am just wondering if AA will really work? Who tried this

cwiggs wrote:

I was able to get AA (r36088) working as well, but i had to do a few things:

1. Set the device in failsafe mode
2. telnet in and set a password for the root user
3. restart the router

Everthing works for me from now on.  I tried this on two different WDR4300s.

And can confirm it works?

It worked for me.


protoman wrote:

Hey there! My TL-WDR4300 is the 1.7 model. And I want to flash OpenWrt.

http://downloads.openwrt.org/snapshots/ … actory.bin

Is this version (Barrier Breaker) working on the 1.7 model? Thanks in advance.

Images with "-il-" in the name is specialised for devices sold in Israel, e.g. openwrt-ar71xx-generic-tl-wdr4300-v1-il-squashfs-factory.bin.

I don't know about the Israel version, but I tried this one on mine and it "worked" (unstable wifi).

pushebp wrote:

AA r36088 is working on my WDR4300 1.7. The wifi instability was easily fixed by disabling ani:

echo 1 >/sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani

as seen here.

Do I have to set the device in failsafe mode? If yes, how?

And this:

echo 1 >/sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani

must be typed @ telnet?

Thanks, man! :-)

protoman wrote:

Do I have to set the device in failsafe mode? If yes, how?

You might need it if you flash AA. Just press the WPS button for more than 1 sec while the device is booting (sys light bliking slow) and the sys led will starting blinking fast, indicating you're in failsafe.

protoman wrote:

must be typed @ telnet?

Telnet or ssh. Also, I haven't tried rebooting the router but I'm fairly certain this is not going to be persistent, so you need to set it up to be executed every boot (you can do that through the web interface, under the startup tab).

Successfully followed the instructions to compile[1] a new image[2].
The router TPLink TL-WDR4300 v1.7 (so far) works well (boots without problems and everything else seems to work fine).
It seems like disable_ani[3] isn't disabled.

[1] http://wiki.openwrt.org/doc/howto/build
[2] ATTITUDE ADJUSTMENT (Attitude Adjustment, r41503)
[3] root@router:~# cat /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani
cat: can't open '/sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani': No such file or directory

Thanks fefu for that hint, did the same today on a 1.7 WDR4300. Everything seems to be working so far, no WiFi issues yet:

cat /etc/*release
DISTRIB_ID="OpenWrt"
DISTRIB_RELEASE="Attitude Adjustment"
DISTRIB_REVISION="r41503"
DISTRIB_CODENAME="attitude_adjustment"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt Attitude Adjustment 12.09.1"

Edit: After 4 days I still haven't experienced any wifi issues or whatsoever. Running the stable build my WiFi signal had massive packet loss, so streaming videos, even surfing webpages was almost impossible. Quite happy that it's working fine now.

(Last edited by ffelix on 20 Jul 2014, 13:14)

Hi,

for BB it is slightly different to disable ani:

echo 0 >/sys/kernel/debug/ieee80211/phy0/ath9k/ani

HTH,
Ronny

Hello,

I am new to this form. I have a WDR3600 and installed openwrt-ar71xx-generic-tl-wdr3600-v1-squashfs-factory.bin

But because the router only workt with a WLAN connection i Have chnge de Switch configuration to
swconfig dev eth0 vlan 1 set ports "0 1 2 3 4 5"
swconfig dev eth0 set apply
(http://wiki.openwrt.org/toh/buffalo/wbmr-hp-g300h#wired.stations.cannot.ping.each.other)
but now i cannot ping the router (192.168.1.2) from anny port (lan 1-2 and wlan)

How can I make this work of how can i restore the switch config to default. I have nog only a serial connection with the router and i can only use swconfig.

switch config

BusyBox v1.22.1 (2014-08-05 07:52:44 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 CHAOS CALMER (Bleeding Edge, r41997)
 -----------------------------------------------------
  * 1 1/2 oz Gin            Shake with a glassful
  * 1/4 oz Triple Sec       of broken ice and pour
  * 3/4 oz Lime Juice       unstrained into a goblet.
  * 1 1/2 oz Orange Juice
  * 1 tsp. Grenadine Syrup
 -----------------------------------------------------
root@OpenWrt:/# 
root@OpenWrt:/# 
swconfig listswconfig list

Found: switch0 - ag71xx-mdio.0
root@OpenWrt:/# 
root@OpenWrt:/# 
swconfig dev switch0 show
swconfig dev switch0 show
Global attributes:
    enable_vlan: 1
    enable_mirror_rx: 0
    enable_mirror_tx: 0
    mirror_monitor_port: 0
    mirror_source_port: 0
Port 0:
    mib: Port 0 MIB counters
RxBroad     : 25
RxPause     : 0
RxMulti     : 15
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 16
Rx128Byte   : 9
Rx256Byte   : 5
Rx512Byte   : 10
Rx1024Byte  : 0
Rx1518Byte  : 0
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 6072
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 40
TxBroad     : 0
TxPause     : 0
TxMulti     : 0
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 0
Tx256Byte   : 0
Tx512Byte   : 0
Tx1024Byte  : 0
Tx1518Byte  : 0
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 0
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

    pvid: 1
    link: port:0 link:up speed:1000baseT full-duplex txflow rxflow 
Port 1:
    mib: Port 1 MIB counters
RxBroad     : 0
RxPause     : 0
RxMulti     : 0
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 0
Rx128Byte   : 0
Rx256Byte   : 0
Rx512Byte   : 0
Rx1024Byte  : 0
Rx1518Byte  : 0
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 0
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 0
TxBroad     : 0
TxPause     : 0
TxMulti     : 0
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 0
Tx256Byte   : 0
Tx512Byte   : 0
Tx1024Byte  : 0
Tx1518Byte  : 0
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 0
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

    pvid: 1
    link: port:1 link:down
Port 2:
    mib: Port 2 MIB counters
RxBroad     : 0
RxPause     : 0
RxMulti     : 0
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 0
Rx128Byte   : 0
Rx256Byte   : 0
Rx512Byte   : 0
Rx1024Byte  : 0
Rx1518Byte  : 0
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 0
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 0
TxBroad     : 0
TxPause     : 0
TxMulti     : 0
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 0
Tx256Byte   : 0
Tx512Byte   : 0
Tx1024Byte  : 0
Tx1518Byte  : 0
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 0
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

    pvid: 1
    link: port:2 link:down
Port 3:
    mib: Port 3 MIB counters
RxBroad     : 0
RxPause     : 0
RxMulti     : 0
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 0
Rx128Byte   : 0
Rx256Byte   : 0
Rx512Byte   : 0
Rx1024Byte  : 0
Rx1518Byte  : 0
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 0
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 0
TxBroad     : 0
TxPause     : 0
TxMulti     : 0
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 0
Tx256Byte   : 0
Tx512Byte   : 0
Tx1024Byte  : 0
Tx1518Byte  : 0
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 0
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

    pvid: 1
    link: port:3 link:down
Port 4:
    mib: Port 4 MIB counters
RxBroad     : 0
RxPause     : 0
RxMulti     : 0
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 0
Rx128Byte   : 0
Rx256Byte   : 0
Rx512Byte   : 0
Rx1024Byte  : 0
Rx1518Byte  : 0
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 0
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 0
TxBroad     : 0
TxPause     : 0
TxMulti     : 0
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 0
Tx256Byte   : 0
Tx512Byte   : 0
Tx1024Byte  : 0
Tx1518Byte  : 0
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 0
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

    pvid: 1
    link: port:4 link:down
Port 5:
    mib: Port 5 MIB counters
RxBroad     : 0
RxPause     : 0
RxMulti     : 0
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 0
Rx128Byte   : 0
Rx256Byte   : 0
Rx512Byte   : 0
Rx1024Byte  : 0
Rx1518Byte  : 0
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 0
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 0
TxBroad     : 0
TxPause     : 0
TxMulti     : 0
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 0
Tx256Byte   : 0
Tx512Byte   : 0
Tx1024Byte  : 0
Tx1518Byte  : 0
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 0
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

    pvid: 1
    link: port:5 link:down
Port 6:
    mib: Port 6 MIB counters
RxBroad     : 0
RxPause     : 0
RxMulti     : 0
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 0
Rx128Byte   : 0
Rx256Byte   : 0
Rx512Byte   : 0
Rx1024Byte  : 0
Rx1518Byte  : 0
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 0
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 0
TxBroad     : 0
TxPause     : 0
TxMulti     : 0
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 0
Tx256Byte   : 0
Tx512Byte   : 0
Tx1024Byte  : 0
Tx1518Byte  : 0
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 0
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

    pvid: 1
    link: port:6 link:down
VLAN 1:
    vid: 1
    ports: 0 1 2 3 4 5 6 
root@OpenWrt:/# 
root@OpenWrt:/# 

Look at the wiki for failsafe mode.

people i did buy the wdr4300 , but under it it shows , v1.7, in the software it shows hardware:v1.0 , wich openwrt should i put ? , i dont know what to trust

porcomaster wrote:

people i did buy the wdr4300 , but under it it shows , v1.7, in the software it shows hardware:v1.0 , wich openwrt should i put ? , i dont know what to trust

There is a report on post 12 of this thread: https://forum.openwrt.org/viewtopic.php?pid=242883 that Barrier Breaker RC3 worked on the same hardware. If you decide to try that please report your results. smile

Good luck,

Doug

I buy the wdr4300,because someone told me that would be a good start I hope I don't brick him 0.o , anyway I don't know if my router it's 1.0 or 1.7 , it will be my first time on Linux , thanks for any knowledge , and sorry for my grammar I am from Brazil and I do make some mistakes on your language .

If the sticker on the bottom says 1.7, it's a 1.7. smile

DougBarton wrote:

If the sticker on the bottom says 1.7, it's a 1.7. smile

Thank you , I hope I can do it , I like the standard firmware , but I want to expand my mind and my wifi tongue , I am already glad that I can stream full hd videos to chromecast old roter couldn't do it .