Computing: Networking

Quick Links

No quick links as yet. Some to be added as needed.

Registries

domain Registry Logins Name Servers
ajh.au WebCentral WebCentral Login
ajh.co OzHosting OzHosting Login
ajh.id.au WebCentral WebCentral Login ns1.afraid.org/ns3.afraid.org
ajhurst.org WebCentral WebCentral Login
cahurst.org OzHosting OzHosting Login
glenwaverleychurches.org WebCentral WebCentral Login
Name URL Login
OzHosting https://my.ozhosting.com/ccp/v/pa/ccp-dashboard/dashboard

Networking

Networking is the bane of my life. This page is a repository for all the magic tricks I have found.

No connectivity to other machines on the local network?

For some reason, the IP address of the local machine keeps disappearing from the hardware network configuration.

Open ifconfig as root, and type ifconfig <device> <IP address> where <device> is the device name (the leading name in each ifconfig paragraph), and <IP address> is the missing IP address.

Fixing a missing route to the outside world

          ip route add default via 10.0.0.101
        
This seems to work, although I have little idea why. default means anything that is not in the 10.0.0.x world, and the gateway is via the device at 10.0.0.101

(See also This Useful Page)

Nameservers

To check what nameservers the current Ubuntu system is using, enter (as root) cat /etc/resolv.conf

What MetaAI says about my problems

I asked meta AI the following question: How do I fix the networking on my Ubuntu computer?. Here's what she said:

Fixing networking issues on Ubuntu can be a bit of a challenge, but don't worry, I'm here to help! Let's go through some steps to troubleshoot and potentially fix the issue.

  1. Check network manager status: Open a terminal and run sudo service network-manager status to see if the network manager is running. If it's not, try starting it with sudo service network-manager start.
  2. Check network interfaces: Run ip a to list all network interfaces. Look for the interface that corresponds to your network adapter (e.g., eth0, wlan0). Make sure it's up and running.
  3. Check IP address and DNS: Run ip addr show and ip link show to verify your IP address and DNS settings.
  4. Check network configuration files: Inspect the contents of /etc/network/interfaces and /etc/netplan/*.yaml (depending on your Ubuntu version) to ensure correct configuration.
  5. Restart network services: Run sudo service networking restart and sudo service network-manager restart to restart network services.
  6. Check for driver issues: Run lspci -k to list network adapters and their drivers. If you see any issues, try updating drivers or reinstalling them.
  7. Check firewall settings: Run sudo ufw status to check if the firewall is enabled. If it is, try disabling it temporarily with sudo ufw disable.
  8. Check for IP conflicts: Run arp -a to check for IP address conflicts on your network.
  9. Try a network reset: Run sudo ip link set eth0 down (replace eth0 with your interface name) and then sudo ip link set eth0 up to reset the network interface.
  10. Reinstall network manager: If all else fails, try reinstalling the network manager with sudo apt purge network-manager and then sudo apt install network-manager.

If none of these steps resolve the issue, please provide more details about your problem, such as:

This will help me better assist you in troubleshooting the issue!

Document History


Document History

(20240427:155814) (20240427:174153)
ajh 0.0 first version
ajh 0.0.1 add MetaAI commentary
This page is copyright, and maintained by John Hurst. 111 accesses all since
03 Sep 2024
My PhotoMy PhotoTrain Photo

Local servers: Localhost Newport Albury Burnley Geelong Jeparit Reuilly Spencer (accessible only on local network.)
Public Web Servers: ajhurst.org ajh.co ajh.id.au (not all may be active.)
Dynamically generated at 20250607:1603 from an XML file modified on 20240726:0826, by index.py version # 15.11.6.7.