When you set up volumio on raspberry pi 4b (In 2022), older years issue was there in network and many went and fiddled with ssh access etc. So now you are doing in 2022, and wifi doesnt work please read on. Pre-requisite, everything works well on wired network. The solution is to disable hotspot, enable custom dns under settings. Once done reboot. First thing is hotspot uses the wifi antenna, second is Volumio wont connect using the dns in network and its ideal to configure the preferred network in volumio.