Hello,
I have raspberry Pi 3+ and I tried installing pihole along a wireless hotspot, but once I do the last step from this tutorial, pihole and internet doesn't work
add in /etc/dnsmasq.conf
interface=wlan0
dhcp-range=192.168.4.2,192.168.4.20,255.255.255.0,24h
ot
^ this part
This is the output of ifconfig
pi@raspberrypi:~ $ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.136 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 blabla prefixlen 64 scopeid 0x0
inet6 blabla prefixlen 64 scopeid 0x20
ether blabla txqueuelen 1000 (Ethernet)
RX packets 1516 bytes 350462 (342.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5042 bytes 6059201 (5.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 231 bytes 18099 (17.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 231 bytes 18099 (17.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.42.1 netmask 255.255.255.0 broadcast 192.168.42.255
inet6 blabla prefixlen 64 scopeid 0x20<link>
ether blabla txqueuelen 1000 (Ethernet)
RX packets 176 bytes 23509 (22.9 KiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 166 bytes 46481 (45.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
What I'm trying to do is have internet from eth0 and then use pihole to block ads through the wireless hotspot.