Skip to content

Ubuntu 22.04 to Ubuntu 24.04 Unable to ping

Locked Unsolved Linux
37 3 13.4k 1
  • wrote on last edited by
    #16

    @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:


    1. Locate the Netplan Configuration File

    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/
    

    2. Edit the Configuration File

    Open the appropriate Netplan file for editing. For example:

    sudo nano /etc/netplan/01-netcfg.yaml
    

    3. Modify the DNS Configuration

    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.


    4. Apply the Configuration

    Save the file and apply the changes:

    sudo netplan apply
    

    5. Verify the DNS Configuration

    Confirm that the DNS settings are applied:

    systemd-resolve --status
    

    Look for the DNS Servers under your active interface.


    Additional Notes:

    • 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!

  • wrote on last edited by
    #17

    screenshot-1736854117915.png
    Is that right?

  • screenshot-1736854117915.png
    Is that right?

    wrote on last edited by
    #18

    @abcabc123 Looks correct, yes.

  • wrote on last edited by
    #19

    screenshot-1736854117915.png
    It’s too complicated, I’m new to linux

  • wrote on last edited by
    #20

    Ubuntu 22.04 operating system Can you install nodebb forum

  • wrote on last edited by
    #21

    screenshot-1736857863292.png
    What operating system, install nodebb forum is the best

  • screenshot-1736857863292.png
    What operating system, install nodebb forum is the best

    wrote on last edited by phenomlab
    #22

    @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

    https://docs.nodebb.org/installing/os/ubuntu/

  • wrote on last edited by
    #23

    50 hours, the problem has not been solved. I’m going to give up

  • wrote on last edited by
    #24

    I think it’s most stable to install .nodebb with Ubuntu 22.04

  • I think it’s most stable to install .nodebb with Ubuntu 22.04

    wrote on last edited by
    #25

    @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.

  • @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

    https://docs.nodebb.org/installing/os/ubuntu/

    wrote on last edited by
    #26

    @phenomlab said in Ubuntu 22.04 to Ubuntu 24.04 Unable to ping:

    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.

    you surprise me 🙂

  • wrote on last edited by
    #27

    I use Ubuntu 22.04, can it help me to install, I really won’t install.

  • I use Ubuntu 22.04, can it help me to install, I really won’t install.

    wrote on last edited by
    #28

    @abcabc123 Ubuntu 22.04 is fully supported so the installation will work fine if you follow the guide from NodeBB themselves IO posted earlier.

  • wrote on last edited by
    #29

    I tested it just now and it didn’t install successfully. Can you help me with the installation

  • I tested it just now and it didn’t install successfully. Can you help me with the installation

    wrote on last edited by
    #30

    @abcabc123 What part did not work? Did you use the guide?

  • wrote on last edited by
    #31

    The order is wrong, and there are some explanations that I don’t understand.

  • wrote on last edited by
    #32

    Do you have time to help me install now

  • The order is wrong, and there are some explanations that I don’t understand.

    wrote on last edited by
    #33

    @abcabc123 the order isn’t wrong. I followed it yesterday step by step and it worked fine.

  • Do you have time to help me install now

    wrote on last edited by
    #34

    @abcabc123 unfortunately, no.

  • wrote on last edited by
    #35

    I’m physically and mentally exhausted,


Related Topics
  • Linux on a Stick

    Linux linux usb arch
    29
    16 Votes
    29 Posts
    12k Views
    Madchatthew
    @DownPW I haven’t tried either of those, I am sure they run fast as well. Linux is so versatile it is awesome!
  • Error certification on virtualmin/Nginx

    Solved Linux cert virtualmin nginx
    17
    2
    0 Votes
    17 Posts
    7k Views
    phenomlab
    @DownPW anytime
  • Avoid network traffic jam with BBR

    Linux ftp speed
    2
    1 Votes
    2 Posts
    1k Views
    phenomlab
    @DownPW interesting. Does this have any effect on data transfers over SCP
  • Ubuntu Upgrade All Packages

    Solved Linux mangodb sudonix
    3
    3 Votes
    3 Posts
    2k Views
    cagatay
    @phenomlab Upgraded, everything works
  • Need help with ping in linux

    Locked Linux ping ubuntu
    16
    5 Votes
    16 Posts
    6k Views
    phenomlab
    Note to everyone else here. This user was formally banned from metabullet.com for abusing the service, and as a result, has been banned here also. Quite why this person thought it was ok to come here under the guise of an account he’d previously used at metabullet.com and hope I wouldn’t notice is beyond me. If you abuse my services once, you won’t get to use them again - period. As a reminder, the policies surrounding this service, and it’s usage can be found here
  • Blomstra Realtime issues on ubuntu server

    Solved Linux
    26
    1 Votes
    26 Posts
    11k Views
    phenomlab
    Just checked this thread on Discuss. It’s effectively not stable yet. My suggestion would be to use kyrne/websocket
  • Digitalocean Ubuntu configuration

    Solved Linux
    33
    12 Votes
    33 Posts
    14k Views
    justoverclock
    @phenomlab thank you! not me
  • Advantages and disadvantages of changing to Ubuntu?

    Linux linux windows discussion
    28
    2 Votes
    28 Posts
    12k Views
    JAC
    @phenomlab said in Advantages and disadvantages of changing to Ubuntu?: @jac Yeah, I wouldn’t just leap into it unless you have a valid reason (such as the laptop no longer working and needing to be reinstalled). Probably better the devil you know currently. Absolutely mate, and generally as discussed that is the only time I have changed over to Ubuntu once the laptop has got slower. For now I will carry on with Windows, purchase the VPN & BitDefender in later October / early November and then see how all that runs for a few more months .