I want to install some packages via Ethernet, but it does not seem to be working. I want a DHCP connection.
Here is what I tried:
ifconfig (net-tools was installed via usb)
Which only gives LoopBack
Trying to modify the etc/network/interfaces file using cat etc/network/interfaces:
cat: /etc/network/interfaces: No such file or directory
I tried looking in the etc/network folder only to find that there are only 3 files:
if-post-down.d if-pre-up.d and if-up.d
Looking at /etc/netplan/00-installer-config.yaml it shows this:
network:
ethernets: {}
version: 2
How can I solve this?