How can I get my Switch better connected to the Internet?
Usually, when I try to use my Switch for online connectivity the system is connected but I keep getting error messages and won’t actually connect to the online servers I try to access.
I live in the countryside with my family, so maybe that’s why my Internet is so wonky?
But I’m still able to access the online classic games for the NES, SNES, and Game Boy at least: I just can’t play the regular Switch games.
So, if you're playing undocked (either because you have a switch lite or because you have nowhere to set up a dock) my advice won't help. But if you connect the switch dock directly to your modem via Ethernet cable (if this is possible for you) using a USB A to Ethernet dongle, you'll at least have a more stable connection than connecting via wifi. We don't know the age of your wifi router or anything else about your setup though, so it may be any one of those factors as well.
Whelp, it's not great. Ideally, you'll need at least NAT type B to be able to play online without issues.
You may improve the score by assigning a static ip address to your nintendo switch in your router settings, then add it to the router's DMZ. But this is assuming the source of the problem is the router's firewall. If the source of the issue is your ISP using CGNAT, then not much you can do beyond changing ISP or talk to your ISP to see if they have any online gaming-friendly internet plans.
Assuming the NAT type is one that supports peer to peer connectivity, you could try using Ethernet instead of wireless (of course this only helps when docked). This would alleviate issues with WiFi signal not being strong enough, potentially increase bandwidth, and reduce latency. Ethernet can't improve the connection beyond the incoming connection from the ISP, it only will improve issues that stem from wireless connectivity.
I live in the countryside with my family, so maybe that’s why my Internet is so wonky?
it could very well be this, when I visit my parents in the countryside the internet is sometimes not good enough, and other times it is adequate (satellite internet, so weather can impact it).
You're living in the countryside you shouldn't have a lot of EMI. Could be just poor signal. The analyzer will help you visualize what the Wi-Fi is where the switch is.
Of course this is all assuming that the problem is on your side of the connection and not from your ISP.
Have you ran a speedtest? You can do so, even from your phone, at speedtest.net. Since you are in the countryside, I'm guessing you just don't have the speeds available for online play