Ubuntu 20.04 Network issues
12,344
I had to follow the steps given in this answer
Basically run these two commands
sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo systemctl restart NetworkManager
Author by
Mat.C
Updated on September 18, 2022Comments
-
Mat.C over 1 year
OS: Ubuntu 20.04
Each time that I start the pc and log into my account the ethernet Connection doesn't work and the ethernet icon does not appear in the top-bar.
cat /etc/netplan/*.yaml output:
# Let NetworkManager manage all devices on this system network: version: 2 renderer: NetworkManager
if I run
sudo lshw -C network
i get the following output*-network DISABLED description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:03:00.0 logical name: enp3s0 version: 0c serial: e0:3f:49:46:0b:53 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical configuration: broadcast=yes driver=r8169 latency=0 link=no multicast=yes resources: irq:18 ioport:d000(size=256) memory:f7100000-f7100fff memory:f2100000-f2103fff
I saw that i had to put it's logical name inside the
/etc/network/interfaces
auto enp3s0 iface enp3s0 inet dhcp
toggle the
managed
field inside/etc/NetworkManager/NetworkManager.conf
[ifupdown] managed=true
and reboot.
I did so but didn't work. The only way that is currenty working is to run
sudo dhclient
but i have to run it at each reboot. What can i try for a perma solution?-
Pilot6 almost 4 yearsThe internet icon doesn't appear because you've changed
/etc/network/interfaces
. -
Mat.C almost 4 yearsIt wasn't appearing also before changing it, it was an empty file
-
Pilot6 almost 4 yearsIt shouldn't be an empty file either.
-
trond hansen almost 4 yearsif you click on the ethernet conection and go to settings for wired connection is there a tab that say connect automatic is this on or off.
-
Mat.C almost 4 yearsI have nothing about ethernet connection in the settings, only wifi
-
Boris Hamanov almost 4 yearsIs this a desktop or server installation? Edit your question and show me
sudo lshw -C network
. Start comments to me with @heynnema or I'll miss them. -
Boris Hamanov almost 4 yearsShow me
sudo lshw -C network
andcat /etc/netplan/*.yaml
. -
Mat.C almost 4 years@heynnema i edited the question with your rqeusts
-
Boris Hamanov almost 4 yearsI've put together an answer that requests a couple of edits, and points out a possible cable problem. Please review and report back.
-
Boris Hamanov almost 4 yearsStatus please...
-
Boris Hamanov almost 4 yearsStatus please...
-