hi,
i have Pi 3 + dietpi + dietpi-hotspot + adguard Home installed
Everything works but adguard. Can anyone help me to configure the hotspot with adguard. I don’t understand the dns /dhcp configuration in dietpi-hotspot : dnsmasq / networkmanager / isc-dhcp-server ?!?!
When i connect my smartphone to the hotspot wifi, my dns1 is 9.9.9.9
toto6976:
dnsmasq / networkmanager
These tools are not used by our DietPi hotspot
see Advanced Networking Software Options - DietPi.com Docs
You would need to asjust the standard DHCP configuration file /etc/dhcp/dhcpd.conf
i modified this line : option domain-name-servers ; with the address of the Pi hotspot.
i restart the service. I connect my smartphone to the dietpi-hotspot and i have in dns1 9.9.9.9 !?
ip a show wlan03:
wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000link/ether
b8:27:eb:a5:11:6f brd ff:ff:ff:ff:ff:ffinet 192.168.42.1/24 brd 192.168.42.255 scope global wlan0
valid_lft forever preferred_lft forever
inet6 fe80::ba27:ebff:fea5:116f/64 scope linkvalid_lft
forever preferred_lft
foreverdietpi@DietPiChambreParents:\~$ systemctl status isc-dhcp-server hostapd adguardhome
● isc-dhcp-server.service - LSB: DHCP server
Loaded: loaded (/etc/init.d/isc-dhcp-server; generated)
Active: active (running) since Fri 2025-09-05 12:55:20 CEST; 1h 4min ago
Docs: man:systemd-sysv-generator(8)
Process: 534 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=0/SUCCESS)
Tasks: 1 (limit: 749)CPU: 141ms
CGroup: /system. Slice/isc-dhcp-server.service
└─555 /usr/sbin/dhcpd -4 -q -cf /etc/dhcp/dhcpd.conf wlan0
● hostapd.service - Access point and authentication server for Wi-Fi and Ethernet
Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; preset: enabled)
Active: active (running) since Fri 2025-09-05 12:55:18 CEST; 1h 4min ago
Docs: man:hostapd(8)
Process: 533 ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=0/SUCCESS)
Main PID: 547 (hostapd)Tasks: 1 (limit: 749)CPU: 127ms
CGroup: /system.slice/hostapd.service
└─547 /usr/sbin/hostapd -B -P /run/hostapd.pid /etc/hostapd/hostapd.conf
● adguardhome.service - AdGuard Home (DietPi)
Loaded: loaded (/etc/systemd/system/adguardhome.service; enabled; preset: enabled)
Active: active (running) since Fri 2025-09-05 12:55:17 CEST; 1h 4min agoMain PID: 530 (AdGuardHome)
Tasks: 10 (limit: 749)CPU: 14.939sCGroup: /system.slice/adguardhome.service
└─530 /mnt/dietpi_userdata/adguardhome/AdGuardHome
sudo systemctl restart isc-dhcp-server.service
$ dig @192.168.42.1 you-porn.com
; <<>> DiG 9.18.33-1~deb12u2-Debian <<>> @192.168.42.1 you-porn.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20106
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;you-porn.com. IN A
;; ANSWER SECTION:
you-porn.com. 3600 IN A 94.140.14.35
;; Query time: 216 msec
;; SERVER: 192.168.42.1#53(192.168.42.1) (UDP)
;; WHEN: Fri Sep 05 14:24:04 CEST 2025
;; MSG SIZE rcvd: 46
the parental control not works
In AdguardHome : Serveurs DNS upstream
https://family.adguard-dns.com/dns-query
in adguard home, parental control ans safe search actived
sudo systemctl status AdGuardHome
Unit AdGuardHome.service could not be found
$ sudo journalctl -u adguardhome.service
Sep 05 12:55:17 DietPiChambreParents systemd[1]: Started adguardhome.service - AdGuard Home (DietPi).
Sep 05 12:55:19 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:19.766930 [info] AdGuard Home, version v0.107.65
Sep 05 12:55:19 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:19.796976 [info] tls_manager: using default ciphers
Sep 05 12:55:19 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:19.816332 [info] safesearch: reset rules count=258
Sep 05 12:55:19 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:19.831784 [info] webapi: initializing
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.048434 [info] dnsproxy: upstream mode is set mode=load_balance
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.048554 [info] dnsproxy: cache enabled size=4096
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.049506 [info] dnsproxy: max goroutines is set count=300
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.050278 [info] dnsproxy: ratelimit is enabled rps=20 ipv4_subnet_mask_len=24 ipv6_subnet_mask_len=56
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.050375 [info] dnsproxy: server will refuse requests of type any
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.050428 [info] dnsproxy: upstream mode is set mode=load_balance
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.050465 [info] dnsproxy: cache enabled size=4194304
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.050509 [info] dnsproxy: max goroutines is set count=300
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.052999 [info] addrproc: processing addresses
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.053513 [info] permcheck: warning: found unexpected permissions type=directory path=/mnt/dietpi_userdata/adguardhome perm=0777 want=0700
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.053831 [info] webapi: AdGuard Home is available at the following addresses:
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.054932 [info] go to http://127.0.0.1:8083
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.054996 [info] go to http://[::1]:8083
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.055014 [info] go to http://192.168.1.11:8083
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.055033 [info] go to http://[fe80::ba27:ebff:fef0:443a%eth0]:8083
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.055049 [info] go to http://192.168.42.1:8083
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.055065 [info] go to http://[fe80::ba27:ebff:fea5:116f%wlan0]:8083
Sep 05 12:55:20 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:20.055323 [info] starting plain server server=plain addr=0.0.0.0:8083
Sep 05 12:55:23 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:23.106404 [info] dnsproxy: starting dns proxy server
Sep 05 12:55:23 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:23.106668 [info] dnsproxy: creating udp server socket addr=0.0.0.0:53
Sep 05 12:55:23 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:23.107071 [info] dnsproxy: listening to udp addr=[::]:53
Sep 05 12:55:23 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:23.107200 [info] dnsproxy: creating tcp server socket addr=0.0.0.0:53
Sep 05 12:55:23 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:23.127048 [info] dnsproxy: listening to tcp addr=[::]:53
Sep 05 12:55:23 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:23.127503 [info] dnsproxy: entering udp listener loop addr=[::]:53
Sep 05 12:55:23 DietPiChambreParents AdGuardHome[530]: 2025/09/05 12:55:23.127617 [info] dnsproxy: entering listener loop proto=tcp addr=[::]:53
Sep 05 13:55:41 DietPiChambreParents AdGuardHome[530]: 2025/09/05 13:55:41.890053 [info] filtering: saving contents id=1 path=/mnt/dietpi_userdata/adguardhome/data/filters/1.txt
Sep 05 13:55:42 DietPiChambreParents AdGuardHome[530]: 2025/09/05 13:55:42.040384 [info] filtering: filter updated id=1 bytes_written=3065069 rules_count=131885
Sep 05 13:55:42 DietPiChambreParents AdGuardHome[530]: 2025/09/05 13:55:42.040514 [info] filtering: updated filter id=1 rules_count=131885 prev_rules_count=131667
Sep 05 13:55:45 DietPiChambreParents AdGuardHome[530]: 2025/09/05 13:55:45.763316 [error] filtering: removing old filter path=/mnt/dietpi_userdata/adguardhome/data/filters/1.txt err=“remove /mnt/dietpi_userdata/adguardhome/data/filters/1.txt.old: no such file or directory”
Sep 05 14:27:05 DietPiChambreParents AdGuardHome[530]: 2025/09/05 14:27:05.989302 [info] webapi: profile updated lang=fr theme=auto
$ ss -tulpn
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Processudp UNCONN 0 0 0.0.0.0:67 0.0.0.0:*udp UNCONN 0 0 Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
udp UNCONN 0 0 0.0.0.0:67 0.0.0.0:*
udp UNCONN 0 0 0.0.0.0:68 0.0.0.0:*
udp UNCONN 0 0 0.0.0.0:3702 0.0.0.0:* users:((“kodi.bin”,pid=633,fd=39))
udp UNCONN 0 0 0.0.0.0:36583 0.0.0.0:*
udp UNCONN 0 0 0.0.0.0:5353 0.0.0.0:*
udp UNCONN 0 0 :9777 : users:((“kodi.bin”,pid=633,fd=35))
udp UNCONN 0 0 :53 :
udp UNCONN 0 0 :55904 :
udp UNCONN 0 0 :5353 :
tcp LISTEN 0 128 0.0.0.0:8765 0.0.0.0:*
tcp LISTEN 0 4096 127.0.0.1:7999 0.0.0.0:*
tcp LISTEN 0 4096 127.0.0.1:9081 0.0.0.0:*
tcp LISTEN 0 4096 0.0.0.0:8080 0.0.0.0:* users:((“kodi.bin”,pid=633,fd=38))
tcp LISTEN 0 10 0.0.0.0:9090 0.0.0.0:* users:((“kodi.bin”,pid=633,fd=34))
tcp LISTEN 0 1000 0.0.0.0:52222 0.0.0.0:*
tcp LISTEN 0 4096 :53 :
tcp LISTEN 0 4096 :8083 :
tcp LISTEN 0 4096 [::]:8080 [::]:* users:((“kodi.bin”,pid=633,fd=32))
tcp LISTEN 0 10 [::]:9090 [::]:* users:((“kodi.bin”,pid=633,fd=36))
tcp LISTEN 0 1000 [::]:52222 [::]:*
ISTEN 0 1000 [::]:52222 [::]:*