First, check your sources in Software & Updates
> Other software tab and ensure you have No Wine Repositories installed.
If there are any, click on them to select them, then click the remove
button on the bottom toolbar.
Once done, close the app and let it refresh when it asks.
In terminal, run
dpkg --print-foreign-architectures
If "i386" is not displayed, run:
sudo dpkg --add-architecture i386
Get the Wine Repo Key:
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
Get the sources:
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources
Update your sources since you added a source above and install Wine-Staging:
sudo apt update && sudo apt install --install-recommends winehq-staging
Check if Wine 8 is installed:
wine --version
Where do you stand on the Wifi connection issue?