Help with guidance on how to use

Hello... I would like some help... I learned about pi-hole for a while and managed to install it on my notebook at home with Windows 11. I installed Ubuntu through WSL and Pi-Hole through Ubuntu. it is working on the notebook. then when I added the pi-hole dns on my android phone it is not executing the blocks.

When I go to clients, several Mac addresses appear that I have no idea where they are... but my Android phone doesn't appear...
Can I add these mac addresses that I don't know which they are to the pi-hole?
How do I make pi-hle find my Android phone?

I even put DNS directly on the internet modem, but it didn't work either...

I'm testing it on my notebook to learn how to use the pi-hole to put a raspberry pi in the future.
Thanks

Reading the docs is a good start:

Thank you very much friend!
I was looking at this manual, but I use Google translate and I believe that some words the translator changes their meaning. I had another doubt... my notebook has the ip 192.168.0.10, the ubuntu wsl has the ip 172.17.240.1 and the pi-hole has the ip 172.17.245.236. My question is... shouldn't they all be in the same IP range on my network? Shouldn't ubuntu be at 192.168... just like pi-hole should be at 192.168?
I'm not an expert in IP range...

All your devices should be on the same network so that they can all see each other. Your network is probably determined by your router. Since your notebook is on 192.168.0.10, your network is probably all 192.168.0.x. So your notebook is .10, your router may be .1 and so on.

Your Pi-hole should be on this network too. It needs to have a fixed IP address. You can achieve this by going into your router and finding the DHCP section and then reserving an IP for your Pi-hole. Perhaps it can be on .2. Also in the DHCP section, set your DNS server to be that same Pi-hole IP so that your devices are using your Pi-hole for DNS.

Make sure your other devices are all on the same network too, so all on 192.168.0.x. If you are using WSL you want to make sure that the networking is in "bridged" mode, if that is possible. That will make sure that your WSL machines (Ubuntu and others) are all on the same network and can see each other. You might need to do this part before changing your router, so that Ubuntu is behaving like a "normal" machine on your network.

Thank you very much friend for your help!!!
I'm going to adjust the ubuntu and pi-hole IP range... Thanks for the clarification and teaching, it helped me a lot!!!

1 Like

You are welcome, I'm glad it helped, please do post an update after you have made your adjustments, and hopefully it is all working.

Hello friend, how are you? I tried at home but I couldn't make it work... I tried several options I saw on the internet but WSL didn't change the IP.

So I took my sister's notebook and installed the Ubuntu server. the pi-hole got the ubuntu ip range

Because it was another notebook, it caught the network.

I really liked the result of pi-hole, I had never worked with Linux
and I didn't find it
so so so difficult

at least the basics.
I actually ended up liking it.

.now I'm going to buy a raspberry or a notebook motherboard as they are both almost the same price, then I leave it connected directly with the pi-hole installed.

1 Like

That's great news, thankyou for the update and good result with Ubuntu. You put a lot of work into getting it just right so enjoy using your Pi-hole.

If you are connecting using wifi then even something like the Pi Zero W is suitable for Pi-hole. It is very lightweight.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.