ifconfig -a
ip a
/etc/netplan/ ...
network:
version: 2
ethernets:
eth0: #Edit this line according to your network interface name you just saw.
dhcp4: false #Set to true if dhcp wanted and leave everything below away
addresses:
- 192.168.1.10/24
gateway4: 192.168.1.1
nameservers:
addresses:
- 1.1.1.1
- 1.0.0.1
Falls netplan nicht vorhanden prüfe auf /etc/network/interfaces