I'm on Ubuntu 22.04 and pihole up to date. Pi-hole v5.17.1 FTL v5.23 Web Interface v5.20.1. AMD laptop. No network, only the laptop and nothing else. No router. I get all my internet from a wifi hotspot. My wifi hotspot is an Android phone with a SIM card.
Pihole is working but the Disable pihole feature not working.
Please refer to this thread for details: Ubuntu 22.04 "Disable Pihole" not working...? - #26 by m3110w You can skip to the last post of the thread.
At the end of this thread JFB wrote: "Your DHCP server (the router) is not distributing the IP of Pi-hole for DNS. It is advertising its own IP. This is something you will need to fix in your router settings, and I can't give you step by step directions for that. You will need to refer to your router manual:"
*** [ DIAGNOSING ]: Discovering active DHCP servers (takes 10 seconds)
Scanning all your interfaces for DHCP servers
Timeout: 10 seconds
* Received 548 bytes from wlp4s0:192.168.1.1
Offered IP address: 192.168.1.140
Server IP address: N/A
Relay-agent IP address: N/A
BOOTP server: (empty)
BOOTP file: (empty)
DHCP options:
Message type: DHCPOFFER (2)
server-identifier: 192.168.1.1
lease-time: 27613 ( 7h 40m 13s )
netmask: 255.255.0.0
router: 192.168.1.1
dns-server: 192.168.1.1
dns-server: 192.168.1.1
--- end of options ---
DHCP packets received on interface enp5s0: 0
DHCP packets received on interface lo: 0
DHCP packets received on interface wlp4s0: 1
So if I don't have a router and I'm only using a wifi hotspot, can this issue be fixed? Is there some way to change the IP and DHCP settings on my Android phone that serves as my wifi hotspot?