# Setting Static IP Address

**URL:** <https://forums.screenly.io/t/setting-static-ip-address/888>\
**Category:** Anthias\
**Created:** [November 22, 2022, 5:11pm UTC](https://forums.screenly.io/t/setting-static-ip-address/888 "2022-11-22T17:11:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![senglert87](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@senglert87](https://forums.screenly.io/u/senglert87)\
**Post date:** [November 22, 2022, 5:11pm UTC](https://forums.screenly.io/t/setting-static-ip-address/888/1 "2022-11-22T17:11:36Z")

</div>

Hello!

Long story short: I got handed the task of setting up some in-office signage using a Raspberry Pi 4 and Screenly OSE.

I was able to install Screenly OSE on the Pi, but when I turn it on all I see is the Screenly Logo. How do I get to the IP address or, preferable, set a static IP address?

Any help or a point in the right direction would be greatly appreciated!

Thank You,

---

<div class="post-metadata">

**Author:** ![ealmonte32](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.screenly.io/ealmonte32/32/228_2.png) [@ealmonte32](https://forums.screenly.io/u/ealmonte32)\
**Post date:** [November 23, 2022, 1:19am UTC](https://forums.screenly.io/t/setting-static-ip-address/888/2 "2022-11-23T01:19:55Z")

</div>

to get into console press ctrl+alt+f1.  
then, log in to the pi.  
then, type `ifconfig`  
this should show you the interfaces and the IP address of the Pi.  
if you control the network at your office or can get a network admin to tell you, it might be easier to control it from the DHCP server by adding the MAC address of the Pi to the DHCP reservation.  
if you still want to control the IP manually, you would need to modify the dhcpcd config file:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/screenly/original/1X/217a31298a46844d0b3ec23a53e806f2724918ca.png)

---

<div class="post-metadata">

**Author:** ![GeluD](https://avatars.discourse-cdn.com/v4/letter/g/8491ac/32.png) [@GeluD](https://forums.screenly.io/u/GeluD)\
**Post date:** [February 23, 2023, 2:55pm UTC](https://forums.screenly.io/t/setting-static-ip-address/888/3 "2023-02-23T14:55:29Z")

</div>

Hello, what is the best way to set static IP for Anthias?  
What I did:

- flash for Pi 4 with balenaetcher this: [https://downloads.raspberrypi.org/raspios\_lite\_arm64/images/raspios\_lite\_arm64-2022-09-26/2022-09-22-raspios-bullseye-arm64-lite.img.xz](https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2022-09-26/2022-09-22-raspios-bullseye-arm64-lite.img.xz) 9
- bash \<(curl -sL [https://install-anthias.srly.io](https://install-anthias.srly.io))
- no for network management, no for full upgrade
- sudo /etc/dhcpcd.conf and edit the part pointed by you, deleted # from “interface eth0” to “static domain\_name…” and change IPs…but is still on dhcp after reboot, amin same IP as before I edited. What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![ealmonte32](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.screenly.io/ealmonte32/32/228_2.png) [@ealmonte32](https://forums.screenly.io/u/ealmonte32)\
**Post date:** [February 24, 2023, 1:10am UTC](https://forums.screenly.io/t/setting-static-ip-address/888/4 "2023-02-24T01:10:53Z")

</div>

If you are following some basic guides like this one: [How Do I Set a Static IP Address on Raspberry Pi?](https://www.makeuseof.com/raspberry-pi-set-static-ip/)

…and you are still not getting your static IP, this is kind of out of the scope of help because your network is unknown, dhcp/router/etc., you can’t just tell a device to use a static IP if there is a dhcp server broadcasting on the subnet and then your Pi trying to assign itself a static ip that might not even be outside of the dhcp server distribution list…  
why dont you just reserve the IP you want for the Pi on your router and be done with it… might be easier than messing with the dhcpcd…

---

<div class="post-metadata">

**Author:** ![GeluD](https://avatars.discourse-cdn.com/v4/letter/g/8491ac/32.png) [@GeluD](https://forums.screenly.io/u/GeluD)\
**Post date:** [February 24, 2023, 5:01am UTC](https://forums.screenly.io/t/setting-static-ip-address/888/5 "2023-02-24T05:01:50Z")

</div>

Ok, I’ll do that…reserving IP on my router, thanks!

---

<div class="post-metadata">

**Author:** ![GeluD](https://avatars.discourse-cdn.com/v4/letter/g/8491ac/32.png) [@GeluD](https://forums.screenly.io/u/GeluD)\
**Post date:** [February 24, 2023, 6:47am UTC](https://forums.screenly.io/t/setting-static-ip-address/888/6 "2023-02-24T06:47:41Z")

</div>

It seems that dhcpcd service was not active, so I did this and now it’s working:

sudo service dhcpcd start  
sudo systemctl enable dhcpcd
