I was working with Raspbian Jessie version to set a static IP address for eth0 port. As of my knowledge we can configure it with interfaces file but for jessie, there is new file for it and that is dhcpcd.conf .
When I search through google, all tutorials say that " if you wanna use /etc/network/interfaces
file, you have to disable dhcpcd service".
But I do not done anything to dhcpcd service and dhcpcd.conf file. I just have modified the /etc/network/interfaces
file to include the static IP as per below.
auto lo
iface lo inet loopback
#iface eth0 inet manual
auto eth0
iface eth0 inet static
address 192.168.42.1
netmask 255.255.255.0
network 192.168.42.0
broadcast 192.168.42.255
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Now eth0 get static IP after reboot and I haven't disabled the dhcpcd.conf
. Is that any problem?
Whether there is any effect on dhcpcd and network interfaces working?