Code: Select all
Not running dhcpcd becsuse /etc/network/interfaces defines some interfaces that will use a DHCP client or static addressCode: Select all
Not running dhcpcd becsuse /etc/network/interfaces defines some interfaces that will use a DHCP client or static addressCode: Select all
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.0.4
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 8.8.8.8 8.8.4.4
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant.conf
iface default inet dhcpCode: Select all
# 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
or ask here with details of what you want to set and we'll tell you what you need to put in /etc/dhcpcd.confconsult /etc/dhcpcd.conf and 'man dhcpcd.conf'
rpdom wrote: ↑Thu Feb 15, 2018 7:43 amThe current version of /etc/network/interfaces contains the following lines only:If you want to set a static IP on an interface, do what it says andCode: Select all
# 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.dor ask here with details of what you want to set and we'll tell you what you need to put in /etc/dhcpcd.confconsult /etc/dhcpcd.conf and 'man dhcpcd.conf'