I have an ubuntu 20.04 server. When installing I connected an ethernet cable to the motherboard ethernet port. I know for a fact that the internet cable is OK, as I have a different server, which connects like it should
Relevant information
$ lspci | grep -i eth
yields:
02:00.0 Ethernet controller: Realtek Semiconductor Co., RTL8125 2.5GbE Controller (rev 04)
$ sudo lshw -c network
yields:
*-network UNCLAIMED
description: Ethernet controller
product: RTL8125 2.5GbE Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd cap_list
configuration: latency=0
resources: ioport:3000(size=256) memory:a1100000-a110ffff memory:a1110000-a1113fff
$ ip addr
:
1L lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
My /etc/network/interfaces
:
# The loopback network interface
auto lo
iface eth0 lo inet loopback
# The primary network interface
iface eth0 inet dhcp
/etc/netplan/01-netcfg.yaml
:
# This is the network config written by 'subiquity'
network:
version: 2
renderer: networkd
ethernets:
ens33:
dhcp4: true
I have tried several options (this, that, that and that) but none are working for me. Am I missing something?