Archer D50 Support

Hi guys,

I just wanna start a new topic for this device and hope we can support this nice device maybe with a wwan interface or bridge mode to extend 5GHz wifi range with a fast cheap Atheros device.

This device is really cheap under 15€ atm on eBay.

So this device should be a very interesting device for wifi extensions, bridges and wireguard server functions.

That would be in my focus.
Continuing the discussion from Archer D7 support:

@numero53

I would love to get also support for D7b in the future!

Thank you very much for your effort!

Here are first pictures how the open case looks like

Can you provide the device specs?

A WikiDevi page perhaps?

https://wikidevi.com/wiki/TP-LINK_Archer_D50_v1.x

1 Like

I installed the newest snapshot-image via stopping autoboot and then TFTP as @numero53 described.

Unfortunately there is no luci in this image and I had a little hustle to configure everything via serial console.

But luckily I got it to manage and to save all my partitions. The partition looks like:

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r10199-04b45d3
 -----------------------------------------------------
Backing up mtd0 (u-boot)
256+0 records in
256+0 records out
Backing up mtd1 (firmware)
15616+0 records in
15616+0 records out
Backing up mtd2 (kernel)
2468+1 records in
2468+1 records out
Backing up mtd3 (rootfs)
13056+0 records in
13056+0 records out
Backing up mtd4 (rootfs_data)
512+0 records in
512+0 records out
Backing up mtd5 (config)
128+0 records in
128+0 records out
Backing up mtd6 (romfile)
128+0 records in
128+0 records out
Backing up mtd7 (rom)
128+0 records in
128+0 records out
Backing up mtd8 (art)
128+0 records in
128+0 records out
Compressing backup files to "mtd_backup.tgz"
Closing master SSH connection
Stop listening request sent.
Removing temporary backup files

MTD backup complete. Extract the files using:
tar xzf "mtd_backup.tgz"

If it helps I can also upload the MTD backup of my device.

Actually I hope we get support for QCA9982, unfortunately I didn't get the 5 GHz band to work with this device.

But here it says QCA9982 is a 3x3 MU-MIMO device with up to 1,3Gbit/s (which is more than with the OEM was possbile)

https://www.qualcomm.com/products/qca9982

I checked it today with the newest FritzWLAN-App which works through an iperf-server construction with my Wifi. - Here I was able to push 96 Mbit/s from Wifi (2,4 GHz) to WAN (Eth4). So it should push in general the whole 100 Mbit/s. - I still hope the support vor 3x3 of the QCA9982 (1200 Mbit/s) will be supported in Openwrt soon to maybe use this interface as WWAN and AP at the same time and push much more through this device.

@numero53 Did you already have success to compile a full support version with 5 GHz wifi, wireguard, luci and nf-offload? - After I would install the sysupgrade image, is it than possible to install all usual packets from openwrt like wireguard, qrencode etc.? - Is there any information if the wifi is able to be used for mesh-networks or if it supports already AP+STA at the same time?

AP+STA at the same time

1 Like

Hi guys,

I have some new compiled images for the D50v1. Maybe someone could test it. I am still on holidays. - It is compiled with wireguard, samba-server, nft-offload and luci. For exakt list please see into config.seed and test initram.image first.

Cheers and please report your expierence.

https://mega.nz/#F!oIQ13a4D!1OjFmogmmP2lb4il_pqLWg

Hey guys,

Please use official Snapshot of OpenWRT for this device. My builds contain zram-swap and there went something wrong during build. It shows I have around 100 MB of flash instead of 8 MB and you cannot store configurations out of Luci.

With official snapshot it works after installing luci after flashing.

Just login and type

opkg update 
opkg install luci

Unfortunately it's still not supported to use the 5 GHz wifi as client (sta) and ap mode at the same time. I hope this known feature from good old Ar9331 (TPlink WR150) or AR9441(TPlink WR841) will be implemented for newer Atheros chipsets soon.

@suppenkasper0815 Sorry for the delay.
I didn't try AP+STA using the 5GHz interface and unfortunately I borrowed my Archer D50... I will get it back at the beginning of September and I'll test it. However the problem could be caused by the Candelatech firmware. In the meantime you could give it a shot with the original Qualcomm firmware.

Moreover, can you help with this new patch? https://github.com/openwrt/openwrt/pull/2031#issuecomment-508720685
In short you have to execute these commands:

. /lib/functions/system.sh
find /proc/device-tree/ -name "*mac-address*"

it will output some paths...For every path you have to execute (for example):

get_mac_binary "/proc/device-tree/ahb/eth@1a000000/mac-address" 0

Thanks

This is a more detailed guide :wink:

First of all you should type:

. /lib/functions/system.sh
find /proc/device-tree/ -name "*mac-address*"

it will output something like this:

/proc/device-tree/ahb/eth@19000000
/proc/device-tree/ahb/eth@1a000000
/proc/device-tree/ahb/wmac@18100000

Now, for every path, you have to type:

get_mac_binary "PATH" 0

for example, if the path is: /proc/device-tree/ahb/eth@19000000 you have to type:

get_mac_binary "/proc/device-tree/ahb/eth@19000000/mac-address" 0

and so on.

Let me know! :slight_smile:

Here is the output:

/proc/device-tree/ahb/eth@1a000000/mac-address
/proc/device-tree/ahb/eth@1a000000/mtd-mac-address
/proc/device-tree/ahb/eth@19000000/mac-address
/proc/device-tree/ahb/eth@19000000/mtd-mac-address-increment
/proc/device-tree/ahb/eth@19000000/mtd-mac-address
/proc/device-tree/ahb/apb/wmac@18100000/mac-address
/proc/device-tree/ahb/apb/wmac@18100000/mtd-mac-address

These are the single-line outputs:

root@D50v1:~# get_mac_binary "/proc/device-tree/ahb/eth@1a000000/mac-address" 0
d4:6e:0e:a1:c4:db (it's the same address like on the sticker on the back of the device)
root@D50v1:~# get_mac_binary "/proc/device-tree/ahb/eth@1a000000/mtd-mac-address
" 0
00:00:00:0a:00:00
root@D50v1:~# get_mac_binary "/proc/device-tree/ahb/eth@19000000/mac-address" 0
d4:6e:0e:a1:c4:dc
root@D50v1:~# get_mac_binary "/proc/device-tree/ahb/eth@19000000/mtd-mac-address
-increment" 0
00:00:00:01:  :  root@D50v1:~# 
root@D50v1:~# get_mac_binary "/proc/device-tree/ahb/eth@19000000/mtd-mac-address
" 0
00:00:00:0a:00:00root@D50v1:~# 
root@D50v1:~# get_mac_binary "/proc/device-tree/ahb/apb/wmac@18100000/mac-addres
s" 0
d4:6e:0e:a1:c4:dbroot@D50v1:~# 
root@D50v1:~# get_mac_binary "/proc/device-tree/ahb/apb/wmac@18100000/mtd-mac-ad
dress" 0
00:00:00:0a:00:00root@D50v1:~# 
1 Like

Thank you! :slight_smile:

1 Like

Hi,

this PR should bring diag LED support (and some minor style fixes) to the D50.

Someone willing to test?

1 Like