Tags

run: ip link (find name of device)
open “/etc/network/interfaces” file

add

allow-hotplug enp0s3
iface enp0s3 inet dhcp
sudo systemctl restart networking
https://www.redhat.com/sysadmin/ifconfig-vs-ip