Openhabian setup... is dhcp required?

I’m about to create a fresh install of Openhabian on a Raspberry Pi 4 2GB. The subnet I’m intending to use the device on does not have dhcp. Should I configure the device on a subnet with dhcp and set up the static ip afterward? Or am I able to set the static IP/gateway/DNS information prior to start up?

Thank you for advice regarding this process.

1 Like

Yes.

No.
https://www.raspberrypi.org/documentation/configuration/tcpip/ applies.

You can mount the first partition on your SD card on another computer before you boot it the first time. It should contain a file called openhabian.conf

That file contains many parameters that can be manually configured.

It has been a while since I’ve looked at it. I know you can configure the wifi connection openhabian will use. I realize you aren’t looking to do that, but there might be an IP setup section as well.

Honestly, I’d just throw it on the DHCP subnet first and reconfigure from there.