I have no Ethernet. My router and cable are ok, checked. During installation it worked fine, To another pc, but now cannot connect... I have tried some things neither works. I installed the OS in another motherboard!!! In terminal:
sudo lshw -class network -short
Output:
enp2s5 network 88E80001 Gigabit Ethernet Cont
Seems that driver is ok
I have edited with sudo
the /etc/NetworkManager/NetworkManager.conf
file and changed the managed=false
to managed=true
Also, I have edited the /etc/netplan/*.yaml
file adding the line
renderer: NetworkManager
Both actions are described in No wired connection - Wired unmanaged ubuntu 18.04
But no effect. Could it be a hardware problem? The PC was many years locked...
The desktop icon shows that there is no connection whether the Ethernet cable is plugged in or not. Clicking the icon reveals 2+1 ethernet connections. The 1st one says used 10 days before with the name netplan-enp2s5 the second one says never used before with the name Wired connection 1 and the third one is the one I created also never used before with name Ethernet connection 1 and manually configured with parameters: address=192.168.1.100, mask=24, Gateway=192.168.1.1
(automatic DHCP)
modprobe
-netplan apply and edit its file *.yaml from 'rendered: networkd' to 'rendered : NetworkManager' – mela Feb 27 '20 at 22:15managed=true
and notmanage=true
Additionally, sometimes it helps to delete all of your old network connections when you switch Ubuntu to a new computer. You can do this by deleting the files in/etc/NetworkManager/system-connections/*
and then restarting NetworkManager. – mchid Feb 29 '20 at 01:33