Hello,
I installed Pi-hole and Hotspot on my Raspberry Pi 4. The static IP address on the network is 192.168.1.100.
But to access the Raspberry Pi without going through the network, I installed Hotspot, which has the IP address 192.168.42.1 on the WLAN.
When I installed Pi-hole, it configured the static IP address 192.168.1.100 instead of the one I want for the Hotspot, 192.168.42.1.
How can I change the Pi-hole settings to force the Hotspot to use the IP address 192.168.42.1? Thank you for your help.
Laurent
--------info--------
dietpi@DietPi:~$ ip a show wlan0
inet 192.168.42.1/24 brd 192.168.42.255 scope global wlan0
DietPi v10.3.3
- Device model : RPi 4 Model B (aarch64)
- LAN IP : 192.168.1.100 (eth0)
- MOTD : Debian 13 Trixie
- dietpi@DietPi:~$ uname --all
Linux DietPi 6.12.75+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.75-1+rpt1~bookworm (2026-03-11) aarch64 GNU/Linux - Architecture | arm64