Belkin RT3200/Linksys E8450 WiFi AX discussion

Is anyone else having issues with 160MHz and higher AX channels? I'm trying to set my routers up to use channels between 128 and 157 (those are interference-free), but for some reason, I'm getting errors in hostapd:

Wed Jul  7 17:53:07 2021 daemon.notice hostapd: Remove interface 'wlan1'
Wed Jul  7 17:53:07 2021 daemon.notice hostapd: wlan1: interface state DISABLED->DISABLED
Wed Jul  7 17:53:07 2021 daemon.notice hostapd: wlan1: AP-DISABLED
Wed Jul  7 17:53:07 2021 daemon.notice hostapd: wlan1: CTRL-EVENT-TERMINATING
Wed Jul  7 17:53:07 2021 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Wed Jul  7 17:53:07 2021 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan1 wasn't started
Wed Jul  7 17:53:07 2021 daemon.notice hostapd: nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Wed Jul  7 17:53:07 2021 kern.info kernel: [ 2304.386310] device wlan1 left promiscuous mode
Wed Jul  7 17:53:07 2021 kern.info kernel: [ 2304.390865] br-lan: port 6(wlan1) entered disabled state
Wed Jul  7 17:53:07 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy1.conf (phy wlan1) --> new PHY
Wed Jul  7 17:53:07 2021 kern.info kernel: [ 2304.847925] br-lan: port 6(wlan1) entered blocking state
Wed Jul  7 17:53:07 2021 kern.info kernel: [ 2304.853317] br-lan: port 6(wlan1) entered disabled state
Wed Jul  7 17:53:08 2021 kern.info kernel: [ 2304.858920] device wlan1 entered promiscuous mode
Wed Jul  7 17:53:08 2021 kern.info kernel: [ 2304.864188] br-lan: port 6(wlan1) entered blocking state
Wed Jul  7 17:53:08 2021 kern.info kernel: [ 2304.869517] br-lan: port 6(wlan1) entered forwarding state
Wed Jul  7 17:53:08 2021 daemon.notice hostapd: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
Wed Jul  7 17:53:08 2021 kern.info kernel: [ 2304.878245] br-lan: port 6(wlan1) entered disabled state
Wed Jul  7 17:53:08 2021 daemon.notice hostapd: wlan1: interface state COUNTRY_UPDATE->HT_SCAN
Wed Jul  7 17:53:08 2021 daemon.err hostapd: Interface initialization failed
Wed Jul  7 17:53:08 2021 daemon.notice hostapd: wlan1: interface state HT_SCAN->DISABLED
Wed Jul  7 17:53:08 2021 daemon.notice hostapd: wlan1: AP-DISABLED

The funny thing is, channel 128 on ONE of the two RT3200's I have, works most of the time (but a reboot can kill it, forcing me to manually reload WiFi a few times till it works again). On the other, it just flat out refuses to work.

Setting the adapter to 80MHz + lower channels (up to channel 60) results in no such behaviour.

This started happening on the latest snapshot (previously, 160MHz didn't work at all, but higher channels did).

Happy to see the team make steady progress on this device.

Doing lots of package upgrades will slowly fill up the rootfs overlay volume. I'd recommend you to periodically update using auc or luci-app-attendedsysupgrade and only do emergency hot-fixes or additional installs using opkg.

1 Like

hello my router don't sys upgrade

big problem i think

look how make please thanks


This looks like recovery has booted normally and from here you should not upload and flash the *sysupgrade.itb file. And that didn't work? What was the error/what happened?

1 Like

0 error just return to the firmware :frowning:

I have try a new snapshot and the old ago 15 day
I have a similar problem to @nazarewk

Yesterday I have installed snapshot 5.10.46 and he work but at the night the wifi 5ghz has been deleted and not access wireless

Do you have an idea how make sysupgrade again

So this device was healthy and already running UBI formware normally, then you flashed sysupgrade and since then it always drops you to recovery mode (ie. you see only 2.4ghz wifi and configuration won't survive reboot)? Please confirm in detail, so I can understand what's going on.
The recovery you are running comes from v0.5 UBI installer from what I can tell and that should be working fine.
What is happening is probably that the device has crashed and because of that is now starting recovery for you to figure out what was happening and report to us :slight_smile:
Please open SSH console on the device and check PSTORE/ramoops content and report back the output:

ls -1 /sys/fs/pstore
cat /sys/fs/pstore/*

After that, you can delete the PSTORE content which should make the device return to boot normally.

rm /sys/fs/pstore/*

Disconnecting the power from the device for 10-15s should also make it forget PSTORE content in RAM and return to normal operation.

3 Likes

Yes exactly OK will try in 20m

root@OpenWrt:~# ls -1 /sys/fs/pstore
root@OpenWrt:~# cat /sys/fs/pstore/*
cat: can't open '/sys/fs/pstore/*': No such file or directory
root@OpenWrt:~# ls -1 /sys/fs/pstore
root@OpenWrt:~# cat /sys/fs/pstore/*
cat: can't open '/sys/fs/pstore/*': No such file or directory
root@OpenWrt:~# cat /sys/fs/pstore/
cat: read error: Is a directory
root@OpenWrt:~#

i don't know why but he comeback ...


i has flashed update snapshot and he work i have just taped to the command at the top ...
)

is very strange ? no

Do you have an explication?

Yes, very strange indeed. Did you disconnect the power or toggle the power switch maybe? That also clears PSTORE and hence makes it go back to normal boot.

I did it and I took the road for 40 min from where my message I try in 20min

it is the router of a friend, him and at an ISP with optical fiber (sfr)
and me vdsl2 (orange)

how can we be sure in the future that this will not happen again?

thank you

You can do either of these two things:

  • Modify recovery to submit crashlogs somewhere or keep them in additional UBI volume, ..., then remove them from PSTORE and reboot. This is how imagine it for remote-managed unattended devices. Minimal network config as well as URI for submission can be stored in U-Boot env.
  • Soon LuCI will have notification support, and that will allow to clearly show that the device has booted into recovery mode and also that there are crashlogs in PSTORE. Probably we (any volunteers?) can make a LuCI UI to view or download logs from /sys/fs/pstore (using rpcd file access methods or dedicated rpcd-mod-pstore backend) and also allow to easily clear it to go back to normal boot.
    Depends on https://github.com/openwrt/luci/pull/5041
  • If you want to disable the feature entirely, tell the bootloader not to care:
fw_setenv bootcmd "run boot_ubi"

which will replace the default which is

if pstore check ; then run boot_recovery ; else run boot_ubi ; fi

and the reason for your 40 minutes drive today...

4 Likes

thanks for your response daniel

I think to leave it like that since I am not an expert either, it seems that it is very rare what happened so I pray that it does not happen again :slight_smile:

@dlakelan @moeller0 with the belkin sqm and piece of cake create the lag and bad bufferbloat (cpu via htop 100% :frowning: )

like this http://www.dslreports.com/speedtest/68885870

with fq codel and simple.qos i have a better result like this http://www.dslreports.com/speedtest/68885921

is a good idea to keep fq codel and simple.qos you think for gaming etc

thanks

The last couple of releases, I've been having frequent wifi issues. Both 5ghz and 2.4ghz networks will go down and then come back up a few minutes later. I think it might be related to the recent hostapd change.

This is not caused by channel switching or DFS and there are no logs indicating a reason for the radio/hotspot restart. I'm on r17101-f4e3ff5b07 - would be good to hear if others are having this issue or if anyone has ideas for addressing this.

1 Like

yes i have same problem with wifi on r17101 i don't know why i reconnect ethernet and he work direclty

I've nothing like this noticed, but some devices like old Nexus 7 do only connect if PMF is "disabled". Even "optional" does not work

@daniel The issue happened to me again this night (note i'm the original reporter unless there was a 3rd person before me), again roughly around 23 CET (at 4:30 i've seen kernel msg connecting my LAN cable 5h 50 min after boot, that would make it around 22:40). Sadly I was not aware of your pstore comment, so i went straight to the poweroff to resolve it.

Next time I will be ready :slight_smile: along with system logs on USB stick set up using this guide, I expect it to happen after another few days.

@Dopam-IT_1987 note you don't need to flash new system - half a minute poweroff restores original configuration. I did reflash (bricking device) because I thought system was not installed fully and wanted to start over, then I went into TFTP recovery to restore from the bricked state.

1 Like

for the moment for me is good :slight_smile:

hello i have a problem my speeds are low with the belkin rt3200

with my livebox 4 i get 60 and 20 with the belkin only 29 going down, why?

here are my settings for 2.4

with my fai original orange http://www.dslreports.com/speedtest/68925646
with my rt3200 http://www.dslreports.com/speedtest/68925660