I’m using hassio which is a version of homeassistant for RPi which I believe is based on resin.io.
I’m having problems setting a static IP for my ethernet connection. I’m using a RPi2 connected to a virgin media horizon router (assigning the IP based on MAC doesn’t work on this Router). I’ve had similar problems with another RPi on the same router that I’m using as an AirPrint server. Essentially, the RPi and the DHCP on the router do not work well together and the Pi somehow assigns itself an IP outside the DHCP range. The other Pi is running raspbian jessie, so I set the IP manually in the OS and it now works.
For my hassio setup, I found the connections folder and the resin-sample file. I should mention that I’m using ethernet, not wifi. I couldn’t exactly figure out exactly what file to create or edit, but I made a copy of resin-sample and edited it like this:
I tried naming the file resin-sample and resin-wifi but neither one seems to have any impact. I still get an IP way outside the DHCP range.
What am I missing? thx