Network problem 2.4G but not 5G

Thanks so much for the Allo Piano fix, I could update the system after first resetting to factory settings with volumio updater (first factory and then forceupdate).

Unfortunately, that caused problems with WiFi (I have a USB dongle ). I spent my Saturday trying to solve it, but to no avail - until I decided to connect to the 5G WiFi, which did work.

I think that the root cause of the problem with the 2.4G network is an error or warning in the logs that 80 MHz is not supported, disabling VHT. The router/AP then rejects the connection using the message:

CTRL-EVENT-AUTH-REJECT auth_type=0 auth_transaction=2 status_code=33 ie= "dd090010180203009c0000"

(Unfortunately with reboots etc. the original logs are gone, but this information still lived in my browser search logs ;-).)

May other people have a similar problem, then what helped for me (eventually), in decreasing likelihood of it actually really affecting the mode of working of the Volumio:

  • connect to the 5G AP instead of the 2.4G access point
  • add country=NL to /etc/wpa_supplicant/wpa_supplicant.conf
  • remove the lines in /etc/network/interfaces that refer to wlan0
  • disable the internal WiFi using dtoverlay=disable-wifi in /boot/userconfig.txt
  • disable the internal Bluetooth using dtoverlay=disable-bt in /boot/userconfig.txt

For the Volumio maintainers the question whether /etc/network/interfaces should be there at all - it seems to cause problems for the working of dhcpcd and it should be the one or the other?

To ensure not using IPv6, I added the following two lines to /etc/dhcpcd.conf:

noipv6rs
noipv6

Hope it helps somebody getting the same errors, or related WiFi problems!

For testing, I ssh in using ethernet, using wpa_supplicant -Dnl80211 -iwlan0 -ctest.cfg using a local test.cfg that I edited with all options I could try, until the Volumio would finally connect to the WiFi.