After changing my device’s (CM4-S) name from @raspberrypi to @Uconsole, Chromium wouldn’t launch and the WiFi icon was nowhere to be found.
I tried the methods that were already on the forum, to no avail.
I then stumbled on this solution, which worked.
That’s when I realized (and learned) that the hostname change was the root of my problem. I had to delete a Singleton file (though I still don’t know what it is, where to find it or why…).
So if you are in a similar situation—if you changed your device’s name and suddenly can’t access the internet—try this:
rm -rf ~/.config/google-chrome/Singleton*
Hopefully, it will be of use to someone.