Cannot find 5ghz network at my tp-link Archer A5 (C50) v4

Guys help please! After a glitchy firmware tp-link flashed on openwrt and unfortunately I lost the network 5gHz(I thought radio1 should appear but it is not there), I can not find it anywhere: neither in the GUI nor in ssh (attached wifi status and /etc/config/wireless)

{
        "radio0": {
                "up": true,
                "pending": false,
                "autostart": true,
                "disabled": false,
                "retry_setup_failed": false,
                "config": {
                        "channel": "11",
                        "hwmode": "11g",
                        "path": "platform/10300000.wmac",
                        "htmode": "HT20"
                },
                "interfaces": [
                        {
                                "section": "default_radio0",
                                "ifname": "wlan0",
                                "config": {
                                        "mode": "ap",
                                        "ssid": "OpenWrt",
                                        "encryption": "none",
                                        "network": [
                                                "lan"
                                        ],
                                        "mode": "ap"
                                }
                        }
                ]
        }
}
config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'platform/10300000.wmac'
        option htmode 'HT20'

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

although in the technical specification of this network is and it worked although glitchy, as well as if necessary I can throw system log. Also noticed that when opkg updating displays this:

Collected errors:
 * opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/ramips/mt76x8/kmods/4.14.133-1-a5310f77968dfe286e9abd201a2802f4/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07-SNAPSHOT/packages/mipsel_24kc/base/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07-SNAPSHOT/packages/mipsel_24kc/luci/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07-SNAPSHOT/packages/mipsel_24kc/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07-SNAPSHOT/packages/mipsel_24kc/routing/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/releases/19.07-SNAPSHOT/packages/mipsel_24kc/telephony/Packages.gz, wget returned 8.

What could be the problem and how to solve it?
PS: I am new to openwrt and this is my first device on this system.

That release is really old.

Upgrade 1st - https://firmware-selector.openwrt.org/?version=23.05.2&target=ramips%2Fmt76x8&id=tplink_archer-c50-v4

Greetings, I updated the firmware version according to your recommendation, but the problem still persists, the 5 ghz network adapter is still not visible in the list of wireless devices, but luckily opkg update works without any problems, what can I do to access radio1 if I can't see it in ssh? If this gives you any information here is the kernel log:

[    0.000000] Linux version 5.15.137 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23630-842932a63d) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 Tue Nov 14 13:38:11 2023
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is TP-Link Archer C50 v4
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=0002a3b0
[    0.000000] Readback ErrCtl register=0002a3b0
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 56084K/65536K available (5962K kernel code, 605K rwdata, 748K rodata, 1188K init, 217K bss, 9452K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] intc: using register map from devicetree
[    0.000000] CPU Clock: 580MHz
[    0.000000] timer_probe: no matching timers found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000002] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.007633] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.073553] pid_max: default: 32768 minimum: 301
[    0.079113] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.086138] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.102450] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.111990] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.118747] pinctrl core: initialized pinctrl subsystem
[    0.125989] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.132321] thermal_sys: Registered thermal governor 'step_wise'
[    0.399497] PCI host bridge to bus 0000:00
[    0.409217] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    0.415861] pci_bus 0000:00: root bus resource [io  0x10160000-0x1016ffff]
[    0.422480] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.430189] pci 0000:00:00.0: [14c3:0801] type 01 class 0x060400
[    0.435952] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    0.442002] pci 0000:00:00.0: reg 0x14: [mem 0x20200000-0x2020ffff]
[    0.448112] pci 0000:00:00.0: supports D1
[    0.451920] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.459297] pci 0000:01:00.0: [14c3:7663] type 00 class 0x000280
[    0.465099] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    0.472102] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    0.479045] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    0.486135] pci 0000:01:00.0: supports D1 D2
[    0.490195] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.496624] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    0.512471] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.518827] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.525270] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    0.531605] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    0.538341] pci 0000:00:00.0: BAR 9: assigned [mem 0x20000000-0x201fffff pref]
[    0.545299] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[    0.551871] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit pref]
[    0.559345] pci 0000:01:00.0: BAR 2: assigned [mem 0x20100000-0x20103fff 64bit pref]
[    0.566831] pci 0000:01:00.0: BAR 4: assigned [mem 0x20104000-0x20104fff 64bit pref]
[    0.574295] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.579079] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff pref]
[    0.586591] clocksource: Switched to clocksource MIPS
[    0.593193] NET: Registered PF_INET protocol family
[    0.598235] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.606317] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.614430] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.621891] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.629274] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.636071] TCP: Hash tables configured (established 1024 bind 1024)
[    0.642411] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.648761] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.655966] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.661542] PCI: CLS 0 bytes, default 32
[    0.669946] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.682944] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.688627] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.699715] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.710127] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.715788] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.721609] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.727744] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.737065] printk: console [ttyS0] disabled
[    0.741237] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    0.750016] printk: console [ttyS0] enabled
[    0.758422] printk: bootconsole [early0] disabled
[    0.769825] spi-mt7621 10000b00.spi: sys_freq: 193333333
[    0.799522] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[    0.804572] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.811139] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    0.818624] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    0.826356] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    0.833858] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    0.841964] Creating 7 MTD partitions on "spi0.0":
[    0.846912] 0x000000000000-0x000000030000 : "factory-uboot"
[    0.857299] 0x000000030000-0x000000050000 : "boot"
[    0.863482] 0x000000050000-0x0000007c0000 : "firmware"
[    0.872647] 2 tplink-fw partitions found on MTD device firmware
[    0.878756] Creating 2 MTD partitions on "firmware":
[    0.883801] 0x000000000000-0x000000233276 : "kernel"
[    0.888864] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    0.899667] 0x000000233278-0x000000770000 : "rootfs"
[    0.904740] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    0.915354] mtd: setting mtd4 (rootfs) as root device
[    0.921782] 1 squashfs-split partitions found on MTD device rootfs
[    0.928170] 0x0000005b0000-0x000000770000 : "rootfs_data"
[    0.934983] 0x0000007c0000-0x0000007d0000 : "config"
[    0.943323] 0x0000007d0000-0x0000007e0000 : "rom"
[    0.949553] 0x0000007e0000-0x0000007f0000 : "romfile"
[    0.957974] 0x0000007f0000-0x000000800000 : "radio"
[    1.024737] rt3050-esw 10110000.esw: mediatek esw at 0xb0110000, irq 25 initialized
[    1.033559] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    1.044481] NET: Registered PF_INET6 protocol family
[    1.057300] Segment Routing with IPv6
[    1.061121] In-situ OAM (IOAM) with IPv6
[    1.065227] NET: Registered PF_PACKET protocol family
[    1.070520] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.084047] 8021q: 802.1Q VLAN Support v1.8
[    1.104026] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.117832] Freeing unused kernel image (initmem) memory: 1188K
[    1.123850] This architecture does not have kernel memory protection.
[    1.130424] Run /sbin/init as init process
[    1.134575]   with arguments:
[    1.134580]     /sbin/init
[    1.134587]   with environment:
[    1.134592]     HOME=/
[    1.134598]     TERM=linux
[    2.028777] init: Console is alive
[    2.032920] init: - watchdog -
[    3.304786] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.393994] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.412166] init: - preinit -
[    4.479712] rt3050-esw 10110000.esw: port 1 link up
[    4.814945] rt3050-esw 10110000.esw: port 0 link up
[    5.279713] random: jshn: uninitialized urandom read (4 bytes read)
[    5.471992] random: jshn: uninitialized urandom read (4 bytes read)
[    5.728446] random: jshn: uninitialized urandom read (4 bytes read)
[    6.324673] rt3050-esw 10110000.esw: port 0 link down
[    6.329840] rt3050-esw 10110000.esw: port 1 link down
[    6.516362] random: procd: uninitialized urandom read (4 bytes read)
[    8.887271] jffs2: notice: (311) jffs2_build_xattr_subsystem: complete building xattr subsystem, 17 of xdatum (0 unchecked, 17 orphan) and 22 of xref (4 dead, 18 orphan) found.
[    8.905749] mount_root: overlay filesystem has not been fully initialized yet
[    8.915703] mount_root: switching to jffs2 overlay
[    8.923916] overlayfs: upper fs does not support tmpfile.
[    8.935131] urandom-seed: Seed file not found (/etc/urandom.seed)
[    9.059822] procd: - early -
[    9.063186] procd: - watchdog -
[    9.845247] rt3050-esw 10110000.esw: port 1 link up
[    9.892739] procd: - watchdog -
[    9.896750] procd: - ubus -
[   10.015015] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.025054] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.041620] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.054833] procd: - init -
[   10.178431] rt3050-esw 10110000.esw: port 0 link up
[   11.115229] random: jshn: uninitialized urandom read (4 bytes read)
[   11.228121] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.235045] random: ubus: uninitialized urandom read (4 bytes read)
[   11.345714] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.044246] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[   12.051963] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[   12.690150] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[   13.748838] mt76_wmac 10300000.wmac: Firmware Version: 20151201
[   13.754882] mt76_wmac 10300000.wmac: Build Time: 20151201183641
[   13.806630] mt76_wmac 10300000.wmac: firmware init done
[   13.978869] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.305324] PPP generic driver version 2.4.2
[   14.337713] NET: Registered PF_PPPOX protocol family
[   14.384622] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.491892] urngd: v1.0.2 started.
[   18.437048] random: crng init done
[   18.440531] random: 26 urandom warning(s) missed due to ratelimiting
[   65.344423] rt3050-esw 10110000.esw: port 0 link down
[   65.349592] rt3050-esw 10110000.esw: port 1 link down
[   68.855494] rt3050-esw 10110000.esw: port 1 link up
[   69.176897] rt3050-esw 10110000.esw: port 0 link up
[   74.854577] br-lan: port 1(eth0.1) entered blocking state
[   74.860194] br-lan: port 1(eth0.1) entered disabled state
[   74.866100] device eth0.1 entered promiscuous mode
[   74.871055] device eth0 entered promiscuous mode
[   74.900248] br-lan: port 1(eth0.1) entered blocking state
[   74.905768] br-lan: port 1(eth0.1) entered forwarding state
[   75.907088] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[  136.874328] rt3050-esw 10110000.esw: port 0 link down
[  136.879497] rt3050-esw 10110000.esw: port 1 link down
[  136.885483] br-lan: port 1(eth0.1) entered disabled state
[  140.229073] br-lan: port 2(phy0-ap0) entered blocking state
[  140.234769] br-lan: port 2(phy0-ap0) entered disabled state
[  140.240895] device phy0-ap0 entered promiscuous mode
[  140.311570] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready
[  140.318607] br-lan: port 2(phy0-ap0) entered blocking state
[  140.324305] br-lan: port 2(phy0-ap0) entered forwarding state
[  141.950672] rt3050-esw 10110000.esw: port 1 link up
[  141.956235] br-lan: port 1(eth0.1) entered blocking state
[  141.961753] br-lan: port 1(eth0.1) entered forwarding state
[  142.188882] rt3050-esw 10110000.esw: port 0 link up
[  204.224206] rt3050-esw 10110000.esw: port 0 link down
[  204.229375] rt3050-esw 10110000.esw: port 1 link down
[  204.235465] br-lan: port 1(eth0.1) entered disabled state
[  204.335222] device phy0-ap0 left promiscuous mode
[  204.340255] br-lan: port 2(phy0-ap0) entered disabled state
[  208.128712] br-lan: port 2(phy0-ap0) entered blocking state
[  208.134406] br-lan: port 2(phy0-ap0) entered disabled state
[  208.140619] device phy0-ap0 entered promiscuous mode
[  208.145812] br-lan: port 2(phy0-ap0) entered blocking state
[  208.151538] br-lan: port 2(phy0-ap0) entered forwarding state
[  208.797580] rt3050-esw 10110000.esw: port 1 link up
[  208.803058] br-lan: port 1(eth0.1) entered blocking state
[  208.808622] br-lan: port 1(eth0.1) entered forwarding state
[  209.236746] rt3050-esw 10110000.esw: port 0 link up

Have you tried with resetting your wifi config:

cd /etc/config
mv wireless /tmp
wifi config

use the original as a reference if needed.

Note that the wifi is disabled by default so enable and set up after resetting

Yeah, just tried it, no result.
Also noticed that wlan5g LED lights up when trigger phy1tpt is active, but it is not called in the log at all. I have an additional question, how to lower the ping in valorant, it used to be about 40ms (Japan region, Tokyo server) on the network 2.4gHz, but now it is 140+, what settings to correct to remove it.

set the country code? oh and install the full wpad (depending on what you are running as wireless network)

Unfortunatly, nothing changed.

In addition to the previous posts I can add that on the stock firmware of this router ping in valorant was stable (on the network 2.4gz), but the network 5gz disappointed as constantly every 5-7s hangs (ping to the router jumped up to 3k +).

What is the history of your A5 as the v4 was discontinued in 2020/21 ?

fwiw, if 5 GHz was misbehaving with stock firmware, have you considered the 5GHz radio in your A5 may be faulty?

I briefly owned the EU version of the C50 v4 many years ago. I don't recall any issue with 5 GHz radio. But there was a Poor Range issue with the 2.4 GHz radio at the time. It was fixed in 19.07.7 onwards.
https://forum.openwrt.org/t/archer-c50-v4-mac80211-loses-internet-access-after-20-away-from-router-but-maintains-connection/53575/4

The v3, v4 and v5 all share the same Mediatek chipset.

Try 19.07.7 ?
If problem persists, your A5 may be faulty....

When I made the post, the firmware was this version, but also not working.

Your original post seem to indicate you were using snapshot release?

//downloads.openwrt.org/releases/19.07-SNAPSHOT/)

If you did use 19.07.7, then my thoughts are your A5 is defective.

https://downloads.openwrt.org/releases/19.07.7/targets/ramips/mt76x8/openwrt-19.07.7-ramips-mt76x8-tplink_c50-v4-squashfs-sysupgrade.bin

When you upgraded did you uncheck the box that say's keep settings, If so reinstall again this time don't keep the same settings