Bonjour,
Je suis en train d’installer un serveur perso chez moi (NAS, site perso, seedbox)
Mais je n’arrive pas a lui attribuer une ip fixe. Stretch a changer la façon de procéder ?
voici contenu du fichier /etc/network/interfaces d’origine :
# 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 eno1
iface eno1 inet dhcp
# This is an autoconfigured IPv6 interface iface eno1 inet6 auto
je l’ai modifié comme ceci :
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#allow-hotplug eno1
`#iface eno1 inet dhcp
iface eno1 inet static
address 192.168.1.52
gateway 192.168.1.254
netmask 255.255.255.0
# This is an autoconfigured IPv6 interface
#iface eno1 inet6 auto
résultat : j’ai plus de connexion internet et mon ip n’a pas changé
Il y a un autre fichier a modifier ?