0

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)

Zanna
  • 72,312
mela
  • 1

1 Answers1

1

Since it worked during the installation, you should be able to install the drivers from the iso. So, if you have access to the original iso file you used for installation, you can install the drivers from there.

First, transfer the iso file to your Ubuntu computer user's home directory.

Next, run the following commands (this assumes that you did not change the original name of the iso file):

sudo mkdir /media/cdrom
cd
sudo mount -o loop ubuntu-* /media/cdrom

Now, search for "software and updates" in your applications and under the "Ubuntu Software" tab, scroll down and click the box to place a check in the box for "CDrom with Ubuntu" option.

Enter your password when prompted and this should reload your software sources.

Finally, select the "Additional Drivers" tab and select your wireless driver and then click "Apply Changes" to install the driver.

This was loosely based on an itsfoss.com article by Abhishek Prakash.

mchid
  • 44,904
  • 8
  • 102
  • 162