The /etc/hosts file on my Ubuntu system did not have the proper hostname set and this could have been causing issues. So I edited it and set a nodename and now my PC works fine.
4.4 Fri Sep 07 jason@Yog-Sothoth 0: $ cat /etc/hosts 127.0.0.1 Yog-Sothoth # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
This is another annoyance from Ubuntu. The Network-Manager service was interfering with my system, slowing down the Internet connection. Now I have removed it, the speed is very fast indeed.
Removing Network-Manager.
https://securitronlinux.com/ubuntu-2/removing-network-manager-from-ubuntu-i-am-sick-of-it/.