Please help me, removed iproute2 now can't access Pi

Yes it’s part of the network stack you removed.

Feel free to ask PiHole guys on the GitHub issue I linked above.

ok can you check following to verify missing packages. Once confirmed we will download them on a Windows/MacOS box.

  • DietPi version | cat /boot/dietpi/.version
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | uname -a
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
dpkg -l ifupdown iproute2 isc-dhcp-client