It seems that there have recently been some changes to the way a static IP can be requested by the RPI 2 for itself.
Until now I had the following code in /etc/network/interfaces and it worked perfectly:
Code: Select all
iface wlan0 inet static address 192.168.0.122 netmask 255.255.255.0 network 192.168.0.1 broadcast 192.168.0.255 gateway 192.168.0.0 wpa-ssid "My network" wpa-psk "***"
I've read every post about this I could find and I wasted hours trying to fix it, but it just won't work. Can somebody please guide me how to transfer my data from /etc/network/interfaces to /etc/dhcpcd.conf? Or any other way to fix this would be greatly appreciated.
My house's heating system relies on two RPIs so now I'm left without heating.
I just can't understand how they could introduce such a major change without backward compatibility and with no clear guide on how to set it up...
PS: the same code that I've shown you in my /etc/network/interfaces still works fine for my older RPI1 devices, but the RPI2 is messed up now.