Skip to content

Instantly share code, notes, and snippets.

@arsho
Created January 18, 2021 18:10
Show Gist options
  • Save arsho/5faf1ff15b5d1df1bb938fa7e3fa5243 to your computer and use it in GitHub Desktop.
Save arsho/5faf1ff15b5d1df1bb938fa7e3fa5243 to your computer and use it in GitHub Desktop.
Fixed unmanaged ethernet connection in Ubuntu 20.10

Scenario

  • In Ubuntu the Ethernet connection was shown as unmanaged wired connection.
  • This happened after using sudo pppoeconf to configure a pppoeconfiguration.

Solution

  • Open /etc/NetworkManager/NetworkManager.conf with sudo previlege:
sudo gedit /etc/NetworkManager/NetworkManager.conf
  • Change the line managed=false to managed=true
  • Restart network manager with
sudo service network-manager restart
  • I got the following error:
Failed to restart network-manager.service: Unit network-manager.service not found.
  • Started and enabled the network manager:
systemctl start NetworkManager
systemctl enable NetworkManager
  • Restarted the network manager service:
sudo systemctl restart NetworkManager.service

Reference

@jeastberg
Copy link

Thanks, this worked for me. I'm using Ubuntu 22.04.3

@jvictorferreira3301
Copy link

this worked here, ubuntu 22.04. tks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment