# AdGuard Home, static IP

**URL:** https://dietpi.com/forum/t/adguard-home-static-ip/20019
**Category:** General Discussion
**Created:** [2 May 2024 21:05 UTC](https://dietpi.com/forum/t/adguard-home-static-ip/20019 "2024-05-02T21:05:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![DietCH](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/e47c2d/32.png) [@DietCH](https://dietpi.com/forum/u/DietCH)
#### Post date: [2 May 2024 21:05 UTC](https://dietpi.com/forum/t/adguard-home-static-ip/20019/1 "2024-05-02T21:05:23Z")

</div>

I installed AdGuard Home through dietpi-software. I was just wondering, does this app also install dhcpcd?  
It seems to conflict with using a static IP address (using dietpi-config).  
I have been trying to get my Raspberry Pi Zero to do DNS filtering, and wanted AdGuard to be the DHCP server on my LAN. So I set a static IP address for the Raspberry Pi, but still see dhcpcd in the journalctl log. In fact, if I turn off my DHCP server on my router, I don’t get the static IP address anymore but the local 169.254.x.x and dietpi cannot reach the Internet.  
Anyone tried this with more experience?

---

<div class="post-metadata">

### Author: ![DietCH](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/e47c2d/32.png) [@DietCH](https://dietpi.com/forum/u/DietCH)
#### Post date: [3 May 2024 08:38 UTC](https://dietpi.com/forum/t/adguard-home-static-ip/20019/2 "2024-05-03T08:38:33Z")

</div>

I have no idea how I got dhcpcd5 on my Raspberry Pi, but I found out how to remove it:

```auto
sudo systemctl stop dhcpcd
sudo systemctl disable dhcpcd
sudo apt remove dhcpcd5

```

Source: [networking - disable dhcpcd.service for static ip? - Raspberry Pi Stack Exchange](https://raspberrypi.stackexchange.com/questions/78510/disable-dhcpcd-service-for-static-ip)

Now all is fine!

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [3 May 2024 12:40 UTC](https://dietpi.com/forum/t/adguard-home-static-ip/20019/3 "2024-05-03T12:40:31Z")

</div>

similar to this one [Dietpi-config network option test fail](https://dietpi.com/forum/t/dietpi-config-network-option-test-fail/19952)

---

<div class="post-metadata">

### Author: ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)
#### Post date: [1 August 2024 12:41 UTC](https://dietpi.com/forum/t/adguard-home-static-ip/20019/4 "2024-08-01T12:41:15Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
