Score:1

Dell Optiplex 9020M can't connect to internet with Ubuntu server 20.04.3 LTS

hk flag

I am intending to run a server on an old dell optiplex 9020M. But i am having trouble connecting to the internet. It seems like it is not able to detect the internet when going through setup (Ubuntu Server 20.04.3).

I have tried following several guides but to no avail. I have tried installing the drivers on the following site https://www.intel.com/content/www/us/en/support/articles/000005480/ethernet-products.html but when installing i need packages which can only be obtained through apt-get, which needs internet to work. When i install packages through another computer and transfer via usb i get stuck in a dependency loop where every package needs another package to work.

Do any of you have any idea of what the problem could be? Any help is greatly appreciated. Best regards!

EDIT1:

Based on the comments I have executed the commands requested and here they are:

Image of the commands and their output

The commands sudo netplan generate and sudo netplan apply does not produce any output in the termial.

I have tried to edit the netplan yaml file according to the first answer. This is still my output:

Image of ip addr output

I have tried the following commands based on answers: sudo dmesg | grep eno1 and: sudo netplan -debug apply

enter image description here

Sorry for any inconvenience, this is my first time posting a question.

in flag
Is Ubuntu Server installed on the system? If so, can you [edit] your question to include the output of the following commands: (0) `sudo lshw -c network` (1) `sudo lspci`. With these, it may be possible to identify the issue
chili555 avatar
cn flag
May we also see: `cat /etc/netplan/*.yaml` Welcome to Ask Ubuntu.
Lau Larsen avatar
hk flag
I have added some more information to the post now!
chili555 avatar
cn flag
Seems perfect so far. What is the exact response to: `sudo netplan generate` and: `sudo netplan apply`
Lau Larsen avatar
hk flag
I added the new information to the post. But neither command produced any output in the terminal.
Score:0
cn flag

First of all, find out the exact name of your netplan file:

ls /etc/netplan

Next, we will amend the file slightly:

sudo nano /etc/netplan/<what_you_found>.yaml

Amend the file to read:

network:
  version: 2
  renderer: networkd
  ethernets:
    eno1:
      dhcp4: true
  

Netplan is very specific about indentation, spacing, etc., so proofread carefully twice. Save (Ctrl+o followed by Enter) and exit the text editor (Ctrl+x).

Follow with:

sudo netplan generate
sudo netplan apply

Assuming there are no errors or warnings, check to see if you received an IP address:

ip addr show
Lau Larsen avatar
hk flag
Hello! Thank you so much for your answer. I have not gotten an IP after doing these commands. I have added an image of the ip addr command output to the question.
chili555 avatar
cn flag
Please show us: `sudo dmesg | grep eno1` and: `sudo netplan -debug apply` Thanks.
Lau Larsen avatar
hk flag
I have added these informations to the post!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.