su
sudo nano /etc/sudoers.d/allow_myuser_all
Add your new user in the following syntax. Confirm by: cat /etc/sudoers.d/allow_myuser_all
myuser ALL=(ALL) NOPASSWD: ALL
Replace myuser
with your username.
ip -br a # find name of your interface that is given by the kernel
sudo nano /etc/network/interfaces
myuser@meco-pod-2:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
+allow-hotplug eth1
+iface eth1 inet static
+ address 192.168.238.2/24
Restart your system.