nano /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.2.7
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
dns-nameservers 193.205.194.23 192.168.193.20
dns-search unitn.it
service networking restart
Désactiver NetworkManager
systemctl stop network-manager
systemctl disable network-manager
ou
nano /etc/NetworkManager/NetworkManager.conf
[ifupdown]
managed=false
systemctl restart network-manager
Commentaires récents