Results 1 to 3 of 3

Thread: How to Reset (not restart) NetworkManager to default settings?

  1. #1
    Join Date
    Aug 2008

    How to Reset (not restart) NetworkManager to default settings?


    I'm on a fresh install of Ubuntu 20.04.1 LTS with GNOME desktop manager.

    I'm having an issue where for some reason my ethernet adapter - eno1 is configured with incorrect IP settings.
    Here is my Pastebin showing ifconfig results

    NetworkManager Pastebin

    Running gnome-control-center display

    Here's my nmcli

    This is a headless Ubuntu box, I'm currently remoting into it via RDP session. Once this is resolved I'd like to move onto getting VNC working as I'm logging into a black screen. Apparently will only work with SSH. However this IP settings issue is a more pressing matter.
    Last edited by illmortal; January 18th, 2021 at 05:45 AM.

  2. #2
    Join Date
    Jan 2021
    Ubuntu 20.04 Focal Fossa

    Re: How to Reset (not restart) NetworkManager to default settings?

    If you can't edit your networks through GNOME (on my XFCE desktop it's as easy as right-clicking on the networking panel indicator, choosing "edit connections"), you can edit them directly as text files under the /etc directory. Under /etc/NetworkManager/system-connections you'll see your networks listed as plain, easily editable text files. You could either edit the network you want to modify (your adapter's IP settings will be assigned by NetworkManager from the specific network settings), or just delete it so that the auto-configuration for that network can be done again.

  3. #3
    Join Date
    Jun 2010
    London, England
    Ubuntu Development Release

    Re: How to Reset (not restart) NetworkManager to default settings?

    For an ethernet connection on 20.04, open System Settings>Network. Alongside the ethernet connection is a cog icon. Click that and click Remove Connection Profile. For a wireless connection click WiFi and again click the cog icon alongside the WiFi connection and then click Forget Connection.

    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts