Belkin RT3200/Linksys E8450 WiFi AX discussion

I like that idea, now I know its working again i just used the easy oem install script but added the extra package that i need, now that i now the current snapshot is bootable.

1 Like

Nice! Keep me posted if you find anything. I used the Luci-AUC and it worked and have been using auc via CLI again.

We can probably generate our sysupgrade.tib package if you know what packages we need via: https://chef.libremesh.org/

@daniel , can you tell us what packages were included in your build? I really like the way it's put together. Thanks again!

@daniel @kaaku3 I GOT IT!

I built one with everything that I personally use:
attendedsysupgrade-common auc banip base-files bcp38 blockdev busybox ca-bundle cgi-io dnsmasq dropbear firewall fstools fwtool getrandom hostapd-common ip-tiny ip6tables ipset iptables iw jshn jsonfilter kmod-asn1-decoder kmod-cfg80211 kmod-crypto-hash kmod-crypto-kpp kmod-crypto-lib-blake2s kmod-crypto-lib-chacha20 kmod-crypto-lib-chacha20poly1305 kmod-crypto-lib-curve25519 kmod-crypto-lib-poly1305 kmod-gpio-button-hotplug kmod-ip6tables kmod-ipt-conntrack kmod-ipt-core kmod-ipt-ipset kmod-ipt-nat kmod-ipt-offload kmod-ipt-raw kmod-leds-gpio kmod-lib-crc-ccitt kmod-lib-textsearch kmod-mac80211 kmod-mt76-connac kmod-mt76-core kmod-mt7615-common kmod-mt7615-firmware kmod-mt7615e kmod-mt7915e kmod-nf-conntrack kmod-nf-conntrack6 kmod-nf-flow kmod-nf-ipt kmod-nf-ipt6 kmod-nf-nat kmod-nf-nathelper-extra kmod-nf-reject kmod-nf-reject6 kmod-nfnetlink kmod-nls-base kmod-ppp kmod-pppoe kmod-pppox kmod-scsi-core kmod-slhc kmod-udptunnel4 kmod-udptunnel6 kmod-usb-core kmod-usb-storage kmod-usb-storage-uas kmod-usb-xhci-hcd kmod-usb3 kmod-wireguard libblobmsg-json libc libgcc libip4tc libip6tc libipset libiwinfo-lua libiwinfo libjson-c libjson-script liblua liblucihttp-lua liblucihttp libmnl libncurses libnl-tiny libopenssl-conf libopenssl libowipcalc libpthread librt libubox libubus-lua libubus libuci libuclient libustream-openssl libxtables logd lua luci luci-app-attendedsysupgrade luci-app-banip luci-app-bcp38 luci-app-commands luci-app-firewall luci-app-opkg luci-app-wireguard luci-base luci-compat luci-lib-base luci-lib-ip luci-lib-jsonc luci-lib-nixio luci-mod-admin-full luci-mod-network luci-mod-status luci-mod-system luci-proto-ipv6 luci-proto-ppp luci-proto-wireguard luci-ssl-openssl luci-theme-bootstrap luci-theme-openwrt-2020 nano netifd odhcp6c odhcpd-ipv6only openssl-util openwrt-keyring opkg owipcalc ppp ppp-mod-pppoe procd procd-ujail rpcd rpcd-mod-file rpcd-mod-iwinfo rpcd-mod-luci rpcd-mod-rpcsys rpcd-mod-rrdns terminfo ubi-utils uboot-envtools ubox ubus ubusd uci uclient-fetch uhttpd uhttpd-mod-ubus urandom-seed urngd usign wg-installer-server wireguard-tools wireless-regdb wpad-openssl

https://chef.libremesh.org/store/SNAPSHOT/mediatek/mt7622/linksys_e8450-ubi/b39b7f04ad96/openwrt-b39b7f04ad96-mediatek-mt7622-linksys_e8450-ubi-squashfs-sysupgrade.itb

1 Like

guys, can you help me, please

  1. it is brand new Belkin RT3200
  2. I'm uploading openwrt-mediatek-mt7622-linksys_e8450-squashfs-sysupgrade.biin in the vendor firmware Web UI upgrade page
  3. after that 192.168.1.1 is ERR_CONNECTION_REFUSED
  4. DHCP is working
  5. I'm trying to reset it, push reset button and swith on the router, but the colour of indicater still white, it reboots, and that's all

use recovery install and after sysupgrade.bin like this thread

Do you get that when trying to open 192.168.1.1 in browser? If so, and if you are installing a snapshot image (afaik there are no releases for this router yet), it likely doesn't have the LuCi (web interface) installed. You can install it by connecting via ssh and issuing opkg update && opkg install luci

Im trying to set up two of those for mesh and it seems i cant get 160mhz working (config made with uci). Any advice? I already tested a bunch of channels like 36, 52 and 100. I always land on vht80 or he40. What is the exact version of your firmware?

Edit: can you please show me your wireless config with working vht/he160?

I'm using snapshot r16750-f716c30241
I never used mesh (on openwrt) personally. I'll would try one as AP and one as station first.
What's your iw wlan1 info?

root@RT3200-1:~# uci show wireless.radio1
wireless.radio1=wifi-device
wireless.radio1.type='mac80211'
wireless.radio1.hwmode='11a'
wireless.radio1.path='1a143000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
wireless.radio1.htmode='HE160'
wireless.radio1.channel='112'
wireless.radio1.country='US'
wireless.radio1.cell_density='0'
root@RT3200-1:~# uci show wireless.default_radio1
wireless.default_radio1=wifi-iface
wireless.default_radio1.device='radio1'
wireless.default_radio1.network='lan'
wireless.default_radio1.mode='ap'
wireless.default_radio1.ssid='xxxx'
wireless.default_radio1.encryption='psk2'
wireless.default_radio1.key='xxxx'
wireless.default_radio1.ieee80211r='1'
wireless.default_radio1.ft_over_ds='1'
wireless.default_radio1.ft_psk_generate_local='1'
root@RT3200-1:~# iw wlan1 info
Interface wlan1
        ifindex 15
        wdev 0x100000002
        addr xx:xx:xx:xx:xx:xx
        ssid xxxx
        type AP
        wiphy 1
        channel 112 (5560 MHz), width: 160 MHz, center1: 5570 MHz
        txpower 23.00 dBm
        multicast TXQ:
                qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytestx-packets
                0       0       5323    0       0       0       0       12869645795
root@RT3200-1:~# iw wlan1 station dump
Station xx:xx:xx:xx:xx:xx (on wlan1)
        inactive time:  1610 ms
        rx bytes:       231587
        rx packets:     1751
        tx bytes:       124214
        tx packets:     390
        tx retries:     0
        tx failed:      0
        rx drop misc:   0
        signal:         17 [-52, -37, 17, 17] dBm
        signal avg:     108 [-54, -40, 108, 108] dBm
        tx bitrate:     2161.3 MBit/s 160MHz HE-MCS 10 HE-NSS 2 HE-GI 0 HE-DCM 0
        tx duration:    3169525 us
        rx bitrate:     2268.5 MBit/s 160MHz HE-MCS 11 HE-NSS 2 HE-GI 1 HE-DCM 0
        rx duration:    108681 us
        airtime weight: 256
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       short
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short preamble: yes
        short slot time:yes
        connected time: 59 seconds
        associated at [boottime]:       551.532s
        associated at:  1621722284165 ms
        current time:   1621722342759 ms
1 Like

Hi all,

I am looking to install OpenWRT on the Belkin router. Following the advice to backup all mtdblocks, I flashed the "recovery" (not recovery-installer) image. I was able to backup mtdblock 0-3 which I have saved. I did not find any volume called boot_backup, however, so I'm assuming that's performed by the recovery-installer image.

So, from this state, how do I continue to install OpenWRT. It's not clear to me if I'm able to flash the recovery-installer at this point?

If it can't be done from this state, what should I do to get to a state where I have more options? Flash an image (which one?) from luci or is it better to utilize TFTP recovery and flash something through that? If so, to which image, or can/should I flash vendor/stock firmware from there and begin anew?

The goal is to get OpenWRT with UBI properly installed on the router. This includes whatever install is performed by the "recovery-installer", but if I read correctly the best way to have taken backup was to first boot into "recovery".

Thanks for any help you can provide.

oh god, thank you!

probably we need to write in FAQ, that you need to install LuCi. And other question, why Reset button is not working.

iw info shows me that mesh sadly stays at 40mhz no matter what i do. 160mhz works only on AP mode :frowning:

I will test WDS (station?) and report back.

EDIT: WDS is not stable.

See the script the installer is running inside initramfs to understand what it is doing:

1 Like

It definitely works - but I also suspected it was broken in the past.

Things to note:

  • Does your client device support 160mhz bands?
  • It takes a lot longer for the radio to spin up on higher bands (wait up to 5 minutes)

Here's my /etc/config/wireless

config wifi-device 'radio1'
        option type 'mac80211'
        option hwmode '11a'
        option path '1a143000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option cell_density '0'
        option txpower '26'
        option channel '100'
        option htmode 'HE160'
        option country 'GB'

If you don't want to/can't use DFS, try this

option txpower '20'
option channel '36'

Hey @daniel, as a sort of "side question", I basically just took the following steps:

#1 Updated this file to remove the "read-only" part for the "bl2" and "fip" partitions, and compiled the E8450 UBI images using the normal OpenWRT build process:

#2 Flashed the resulting 'sysupgrade' image on my device (which has already been converted to UBI)

#3 Copied the preloader and uboot files over to my device to /tmp/, and manually ran the following two sets of commands:

And that all seemed to succeed, and after rebooting the device it seemed like I had successfully updated the preloader / u-boot. I guess my primary question for you would be - how "safe" is the process I just followed? Like is that something I could (in theory) continue to do again in the future for later iterations of u-boot? Or is this a situation that's more like "You're lucky you didn't brick your device and I wouldn't suggest doing that again"?

Generally this is how it works.
To be more safe you should check the hash (eg. sha256sum) of the bl2 and bl3 images before and after writing them to flash. Make sure checksums match before you reboot and you are safe.

2 Likes

Hi. I just got my Linksys E8450 router today. Is there some information on the openwrt forums or github where I can come to know what is working and what is not for this router in the latest snapshot. Sorry to message in this thread since I couldn't see a relevant thread. Thanks.

1 Like

AFAIK there's no hardware lab for automated regression testing that would go through a predefined list of usage scenarios with the router, but it seems like most of the stuff is working now - what kind of stuff are you interested in?

Hi risk. Thanks for responding. I am an intermediate operwrt user. Earlier I was using Archer C7 v5 router for PPPOE, Wifi AP, SQM and firewall (for opening ports) through LuCI. I was hoping that similar features are stable in Linksys E8450 snapshot as well. Since I am an intermediate operwrt user, I would also prefer going back to stock firmware when something breaks. I read the forums and correct me if I am wrong, once you partition the ROM to UBI, the process to go back to stock is complicated. In Archer C7 you could just flash the stock firmware using TFTP. Thanks for the help. I have basic linux knowledge since I am using Raspberry Pi4 for NAS, FTP, torrenting, cloud storage, adblocker and vpn. Thanks in advance.

You might update topicstart hostpad link as hostapd is partly accepted https://patchwork.ozlabs.org/project/openwrt/list/?series=229531&archive=both&state=*

not able to find actual merge though...?