Ho cercato molte info qui nel forum e in google ma non ha funzionato nulla.
Ho impostato il file /etc/network/interfaces
Codice: Seleziona tutto
auto enp1s0f0
iface enp1s0f0 inet static
address 192.168.1.100
gateway 192.168.1.1
netmask 255.255.255.0
dns-nameservers 208.67.222.222,208.67.220.220Codice: Seleziona tutto
sudo /etc/init.d/networking restartNon ho modificato il file /etc/resolvconf/resolv.conf.d/head perche' al riavvio verrebbero sovrascritti i dati e sarebbe inutile:
Quindi come posso impostare ip statico permanente?# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
Grazie
