OpenWrt Forum Archive

Topic: Developing Support for TPLINK WDR4900

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

dabyd64 wrote:

I think 4 days are enough to consider it stable, specially for fcecamor that has a special ability to cause router bugs and hangs lol
I edited the WDR4900 installation instructions on the wiki, adding the r39430 trunk build (considered stable)

You can also repeat 3 times! It's true smile

The last time I rebuilt firmware for my wdr4900 in late April it was r40567 revision, and I believe it works stable enough for me.
At least I can't remember if there were any noticeable wifi dropouts or hangs with that version.

After debricking my router at the weekend i loaded r41360 from 28/06/14 and haven't had any problems.

I don't run 40MHz channels on 2.4GHz and, although i do set 5GHz to use it, i don't have any devices connecting over 5GHz.

Middling wrote:

After debricking my router at the weekend i loaded r41360 from 28/06/14 and haven't had any problems.

I don't run 40MHz channels on 2.4GHz and, although i do set 5GHz to use it, i don't have any devices connecting over 5GHz.

Set 40MHz on 2.4GHz and verify it.

(Last edited by fcecamor on 30 Jun 2014, 08:26)

r39430 is known as stable. Others may work for some and fail for others.
I recommend to try first the current Trunk, and if it doesn't work properly, have a second chance with that custom build

WDR4900v1:
r40768 works with LuCl and 802.11n 2,4 GHz Wifi like a charm.
Stable for about 2 Months. Have not tested 5GHz and 11ac.

r41534 (added IPv6 via 6in4 HE Tunnel) and experienced no problems, running two days now.

Many Thanks for all the Support and Doku Stuff.


EDIT: I just read fcecamors post:

I have the same "20Mhz" Bandwidth and  "TX power offset: none  ** Frequency offset: none /unknown" output from iwinfo. Although 20 Mhz on 5 Ghz 802.11n.

But I don't had any connection issues nor have seen in dmsg /logread :
ath: phy1: Failed to stop TX DMA, queues=0x004!

(Last edited by robipower on 9 Jul 2014, 00:00)

Because you are using 20MHz instead of 40MHz. smile

fcecamor wrote:
dabyd64 wrote:

I was experiencing strange wifi cuts with my phone. No idea if it was the router or the phone, but I went back  stock for now.

fcecamor wrote:

BUMP!

Maybe this was the last report of a good trunk...
https://forum.openwrt.org/viewtopic.php?pid=224719#p224719

If you are planning to download that source and compile openwrt, this is the way I download a specific version:

svn co svn://svn.openwrt.org/openwrt/trunk/@r39430

I had some free time and compiled r39430 for you. It includes Luci...have a try wink
https://dl.dropboxusercontent.com/u/23958662/r39430_wdr4900-v1.zip

I don't want to talk soon but.. it seem works yikes big_smile



Hi @ all
i´m currently running r39430 on my WDR4900, long in short i am not able to use luci with SSL. i reinstalled uhttpd-mod-tls and luci-ssl, in the "default" uhttpd config listen_https is defined. any hints how i got it to work?

Thanks in advance
ralto

ralto wrote:

Hi @ all
i´m currently running r39430 on my WDR4900, long in short i am not able to use luci with SSL. i reinstalled uhttpd-mod-tls and luci-ssl, in the "default" uhttpd config listen_https is defined. any hints how i got it to work?

Thanks in advance
ralto

With latest trunk it seem to work

fcecamor wrote:
ralto wrote:

Hi @ all
i´m currently running r39430 on my WDR4900, long in short i am not able to use luci with SSL. i reinstalled uhttpd-mod-tls and luci-ssl, in the "default" uhttpd config listen_https is defined. any hints how i got it to work?

Thanks in advance
ralto

With latest trunk it seem to work

you mean openwrt-mpc85xx-generic-tl-wdr4900-v1-squashfs-factory.bin from  Index of /snapshots/trunk/mpc85xx/?

ralto wrote:
fcecamor wrote:
ralto wrote:

Hi @ all
i´m currently running r39430 on my WDR4900, long in short i am not able to use luci with SSL. i reinstalled uhttpd-mod-tls and luci-ssl, in the "default" uhttpd config listen_https is defined. any hints how i got it to work?

Thanks in advance
ralto

With latest trunk it seem to work

you mean openwrt-mpc85xx-generic-tl-wdr4900-v1-squashfs-factory.bin from  Index of /snapshots/trunk/mpc85xx/?

Yes, but HT40 is broken

fcecamor wrote:
ralto wrote:
fcecamor wrote:

With latest trunk it seem to work

you mean openwrt-mpc85xx-generic-tl-wdr4900-v1-squashfs-factory.bin from  Index of /snapshots/trunk/mpc85xx/?

Yes, but HT40 is broken

Thanks is up and running, but now i have a few problems regarding dhcp and dns. i am not able to use static ips (20 reservations) in dnsmasq. anytime i load my config dhcp stops working and local dns isn't working. i have done the whole config twice and third like documented in the config file and using the gui.

(Last edited by ralto on 10 Jul 2014, 19:22)

dabyd64 wrote:

I had some free time and compiled r39430 for you. It includes Luci...have a try wink
https://dl.dropboxusercontent.com/u/23958662/r39430_wdr4900-v1.zip

Thank you for compiling this truck, as a newbie to OpenWRT, I have successfully converted my router. smile

However, when trying to install the USB storage modules and others, it fails with the following errors.

Any suggestions for a stable installation?


root@OpenWrt:~# opkg install kmod-usb-storage-extras
Installing kmod-usb-storage-extras (3.10.44-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/mpc85xx/packages/kmod-usb-storage-extras_3.10.4
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using lat
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage-extras:
*      kernel (= 3.10.44-1-baf36f96d94827f3812ed78952837fb1) *         kernel (= 3.10.44-1-baf36f96d948 *
* opkg_install_cmd: Cannot install package kmod-usb-storage-extras.
root@OpenWrt:~#

rceccleston wrote:
dabyd64 wrote:

I had some free time and compiled r39430 for you. It includes Luci...have a try wink
https://dl.dropboxusercontent.com/u/23958662/r39430_wdr4900-v1.zip

Thank you for compiling this truck, as a newbie to OpenWRT, I have successfully converted my router. smile

However, when trying to install the USB storage modules and others, it fails with the following errors.

Any suggestions for a stable installation?


root@OpenWrt:~# opkg install kmod-usb-storage-extras
Installing kmod-usb-storage-extras (3.10.44-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/mpc85xx/packages/kmod-usb-storage-extras_3.10.4
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using lat
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage-extras:
*      kernel (= 3.10.44-1-baf36f96d94827f3812ed78952837fb1) *         kernel (= 3.10.44-1-baf36f96d948 *
* opkg_install_cmd: Cannot install package kmod-usb-storage-extras.
root@OpenWrt:~#

If I have understand correctly opkg will try to install newest packages and those does not mach on kernel on r39430 which is older. You need to try newest trunk, install packages for it and hope it is stable.

jaripetteri wrote:
rceccleston wrote:
dabyd64 wrote:

I had some free time and compiled r39430 for you. It includes Luci...have a try wink
https://dl.dropboxusercontent.com/u/23958662/r39430_wdr4900-v1.zip

Thank you for compiling this truck, as a newbie to OpenWRT, I have successfully converted my router. smile

However, when trying to install the USB storage modules and others, it fails with the following errors.

Any suggestions for a stable installation?


root@OpenWrt:~# opkg install kmod-usb-storage-extras
Installing kmod-usb-storage-extras (3.10.44-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/mpc85xx/packages/kmod-usb-storage-extras_3.10.4
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using lat
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage-extras:
*      kernel (= 3.10.44-1-baf36f96d94827f3812ed78952837fb1) *         kernel (= 3.10.44-1-baf36f96d948 *
* opkg_install_cmd: Cannot install package kmod-usb-storage-extras.
root@OpenWrt:~#

If I have understand correctly opkg will try to install newest packages and those does not mach on kernel on r39430 which is older. You need to try newest trunk, install packages for it and hope it is stable.

I agree, however, the r39430 trunk has been recommended as the most stable release compared to recent builds.

For this reason, there maybe a method to obtain older packages, to produce a more stable environment than run recent builds with known bugs.

(Last edited by rceccleston on 11 Jul 2014, 12:45)

You would have to build the modules yourself. The Openwrt servers don't keep old versions of trunk packages.

qasdfdsaq wrote:

You would have to build the modules yourself. The Openwrt servers don't keep old versions of trunk packages.

Ah, so adding additional modules to more stable early revisions is going to be a lot more challenging for newbie's to OpenWRT.

Is there a well documented process for this?

Other than the 40MHz issue on both frequencies, resolved by running 20Mhz, what other major issues would prevent the majority running the latest truck?

Additional modules for official "stable" builds - i.e. Attitude Adjustment 12.09, Backfire, etc. are fine as those are defined as stable.

Trunk is by it's nature unstable and experimental, and you shouldn't count on it existing at all tomorrow let alone in the same/compatible state. Unfortunately it means if you need to use a development build *and* need to add optional modules, you have to keep it yourself.

What you could do (too late now) is to mirror a snapshot of Openwrt's snapshot builds at a certain point in time and host it yourself.

If you ask me personally, newbies shouldn't really be messing with unstable/development builds of Openwrt at all, but I admit there's a lot of devices on which development builds are the only ones that will work.

The build process is however, quite well documented on the wiki:

http://wiki.openwrt.org/doc/howto/build

It's very detailed and covers every step of the process from beginning to end. It's not an easy process but if you follow the instructions you should be fine.

It's a bit inefficient making everyone build their own copy, but short of someone mirroring the Openwrt repository or running their own buildbot, the only other thing you could do is try convince the Openwrt team to maintain copies of every snapshot build ever, which is quite unlikely...

qasdfdsaq wrote:

Additional modules for official "stable" builds - i.e. Attitude Adjustment 12.09, Backfire, etc. are fine as those are defined as stable.

Trunk is by it's nature unstable and experimental, and you shouldn't count on it existing at all tomorrow let alone in the same/compatible state. Unfortunately it means if you need to use a development build *and* need to add optional modules, you have to keep it yourself.

What you could do (too late now) is to mirror a snapshot of Openwrt's snapshot builds at a certain point in time and host it yourself.

If you ask me personally, newbies shouldn't really be messing with unstable/development builds of Openwrt at all, but I admit there's a lot of devices on which development builds are the only ones that will work.

The build process is however, quite well documented on the wiki:

http://wiki.openwrt.org/doc/howto/build

It's very detailed and covers every step of the process from beginning to end. It's not an easy process but if you follow the instructions you should be fine.

It's a bit inefficient making everyone build their own copy, but short of someone mirroring the Openwrt repository or running their own buildbot, the only other thing you could do is try convince the Openwrt team to maintain copies of every snapshot build ever, which is quite unlikely...

I agree, running an official stable release would be best practice for a newbie to OpenWRT.

However, for hardware revision 1.3, the WDR4900 Wiki does not list an officially supported version other than a known stable trunks.

https://forum.openwrt.org/viewtopic.php?pid=237869#p237869

Please correct me if I'm wrong, since Attitude Adjustment 12.09 or Backfire does not appear to list mpc85xx, Barrier Breaker 14.07-rc1 appears to be the only listed alternative to the known stable trunk.

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

(Last edited by rceccleston on 13 Jul 2014, 21:11)

isnt there a mpc85xx target in the trunk. doesnt it work for the tP-Link WDR4900?
I am compiling it now and once its done I will post about the results.
if anyone is quicker, please go ahead and write about it :-)

I forgot that our device had 16MB flash! I was used to 4M on my old routers hehe.
I'll compile r39430 with a lot of stuff wink

Edit
Here it is. Added:

Samba36 client and server
USB storage support
Filesystems: ext4, vfat, ntfs
Native language support: cp437,cp852,iso-8859-1, utf8
Other: fdisk, Luci, ntfs-3g

openwrt-mpc85xx-generic-tl-wdr4900-v1-squashfs-factory.bin

openwrt-mpc85xx-generic-tl-wdr4900-v1-squashfs-sysupgrade.bin

(Last edited by dabyd64 on 16 Jul 2014, 21:48)

Now we talking about. Does it have pppoe suport?

Hi, I`ve been reading this topic for quite a long time.
Today I finally tried to build r39430 myself. I use the link of dabyd64 to get the trunk folder: " svn co svn://svn.openwrt.org/openwrt/trunk/@r39430 "

I choose the kernel modules I want (I can´t find Luci by the way) and I compile it without errors.
The problem comes when I log into the router, it doesn´t recognize any interface (neither Lan, WAN or WAN6), it just shows : "Collecting data..." Also, when I click on the wifi configuration tab it pops the well known error saying: "Bad Gateway,
The process did not produce any response"

So, basically, I have a router wich does everything except work as a router.
I suppose there must be something that I should also compile but I can't find anywhere what it might be.

Any help would be really appreciated smile

Thank you very much

I like written_direcon's custom build, but I also need "kmod-bridge" and hfs+ so that's why I'm trying to compile it myself.

I've tried both written_direcon's and dabyd64's custom builds and they work perfectly, so I know it's not a hardware related problem.

Thank you very much again wink

(Last edited by danielikogp87 on 18 Jul 2014, 08:32)

Hello, WDR4900 is my first router I have installed openwrt on. I have successfully used dabyd64 r39430 above to flash it. Everything seems to work except i don't get Internet thru the router but if I bypass the router it works fine.

Windows network diagnostics says: dns server isn't responding

I have read the wiki for a couple of hours but I can't find any solution.

Does anybody know what the problem might be?

Sorry, posts 651 to 650 are missing from our archive.