lo tengo asi:
Código: Seleccionar todo
# interfaces(5) file used by ifup(8) and ifdown(8)
Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
auto eth
iface eth0 inet static
address 192.168.XXX.XXX
netmask 255.255.255.0
gateway 192.168.XXX.XXX
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
lo tengo asi:
Código: Seleccionar todo
interface eth0
static ip_address = 192.168.XXX.XXX/24
static routers = 192.168.XXX.XXX
static domain_name_servers = 8.8.8.8
gracias.