@Madchatthew You might be sorry you asked 🙂 This is the mentoring category below. Presently, it’s unused, but we have a dedicated area for it.
https://sudonix.org/category/8/mentoring
Other services
https://sudonix.org/services
@abcabc123 said in Ubuntu 22.04 to Ubuntu 24.04 Unable to ping:
I won’t install resolvconf and won’t configure
You mean you won’t complete the steps? If you don’t, then how to you expect to resolve the issue? If you follow the steps I posted (you can copy and paste) then this will fix the issue.
I copied and pasted in and it showed that the command didn’t exist
@abcabc123 It does - you start with
sudo apt install resolvconf
Tossed for 24 hours, it still hasn’t been resolved, and the file can’t be saved.
@abcabc123 are you using sudo
to open the file? For example, sudo nano /etc/resolvconf/resolv.conf.d/head
@abcabc123 Hmm - ok. Let’s try this instead
To set a permanent DNS on the latest version of Ubuntu (e.g., Ubuntu 22.04 or later), you typically configure DNS settings via Netplan, the network configuration tool. Here’s how you can do it:
Netplan configuration files are located in the /etc/netplan/
directory. Typically, the file is named something like 01-netcfg.yaml
or 50-cloud-init.yaml
. Use the following command to list the files:
ls /etc/netplan/
Open the appropriate Netplan file for editing. For example:
sudo nano /etc/netplan/01-netcfg.yaml
Add or modify the nameservers
section under the relevant interface. Your file might look like this:
network:
version: 2
ethernets:
enp0s3: # Replace with your network interface name
addresses:
- 192.168.1.100/24 # Your static IP address (if applicable)
gateway4: 192.168.1.1 # Your gateway address
nameservers:
addresses:
- 8.8.8.8 # Primary DNS
- 8.8.4.4 # Secondary DNS
Replace enp0s3
with your actual network interface name, which you can find using:
ip a
Adjust the DNS servers (8.8.8.8
, 8.8.4.4
) to your preference.
Save the file and apply the changes:
sudo netplan apply
Confirm that the DNS settings are applied:
systemd-resolve --status
Look for the DNS Servers
under your active interface.
If you use NetworkManager (common on desktop installations), you can configure DNS through the GUI or by editing /etc/NetworkManager/NetworkManager.conf
.
If your system uses systemd-resolved, ensure it’s enabled and running:
sudo systemctl enable systemd-resolved
sudo systemctl start systemd-resolved
This setup ensures the DNS settings persist across reboots. Let me know if you run into any issues!
Is that right?
@abcabc123 Looks correct, yes.
It’s too complicated, I’m new to linux
Ubuntu 22.04 operating system Can you install nodebb forum
What operating system, install nodebb forum is the best
@abcabc123 What happened to the build I completed yesterday? Have you erased it? If you have, I will not be rebuilding it again for you as this is not what this site is for. I am more than happy to provide assistance, but that does not extend to setting up and maintaining your instance for you.
Ubuntu is not complicated at all, but like all new technologies you are not conversant with, there is a learning curve, and you need to be prepared to invest the time in order to become comfortable with the system.
The approved build documentation can be found here
50 hours, the problem has not been solved. I’m going to give up
I think it’s most stable to install .nodebb with Ubuntu 22.04
@abcabc123 Ok, but make sure you go for the LTS version which is supported up until 2027. At some point, you will need to familiarise yourself with Ubuntu and Linux in general as you will not be able to support your NodeBB installation without that knowledge.