Have you got: (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") in your .emacs file? The internet broke for emacs a while ago and this line fixed that problem. It may also have done some other things as well.
On Tue, 28 Sep 2021, Dan Ritter wrote: > Stella Ashburne wrote: > > Based on ArchLinux's tutorial on using iwd to connect to a wireless network > > (https://wiki.archlinux.org/title/Iwd), I managed to connect to my wireless > > router....or so I thought :( > > > > Below are the relevant outputs: > > > > Station: wlan0 > > * > > -------------------------------------------------------------------------------- > > Settable Property Value > > -------------------------------------------------------------------------------- > > Scanning no > > State connected > > Connected network Stella-Network > > ConnectedBss 2b:ef:6a:20:ac:18 > > > username@hostname:~$ sudo apt update > > > > Result: sudo apt update is unable to update the repositories specified in > > /etc/apt/sources.list. I tried to use Firefox to browse the internet to no > > avail. > > You appear to have established a wifi connection, but not > assigned an IP address. > > Try > > sudo dhclient wlan0 > > and see if that gives you an IP and a default route, at which > point apt update should work. > > -dsr- > >