A pi hole is a powerful software which blocks all kind of web ads. The Pi hole setup takes approx 15 minutes and prevents your systems from all kinds of advertisements and malware. This software also increases your security and privacy by monitoring every website. Also you can block any unwanted websites or suspicious websites. Pi hole installation and pi hole setup are discussed in this tutorial.
When you open a web page in the browser the page tells the browser to load other things like images and ads. The browser cant differentiates between the ads and rests data. Here pi-hole comes in the role it filters the data and passes only the required information.
Open the Terminal window and type the following command to install raspberry pi-hole software. this is the first step for pi-hole setup guide
curl -sSL https://install.pi-hole.net | bash
It will ask few questions and give warnings those things are discussed bellow.
The first instruction is Pi-hole automated installation. Press ok
The next option is Static IP it will automatically assign it self a static IP. If you want to change it you can do the for now i press OK.
Next option is upstream DNS provider I prefer to chose google.
Generally we use IPv4 protocol so select IPv4 Block ads over IPv4. and press OK.
On this step you can assign raspberry pi-hole a static IP. You can open pi-hole/admin using this IP address.
FYI: IP Conflict is a warning dialog box. This case arise when router try to assign same IP to different devices. This problem generally occur in old routers modern routers automatically tackle this situation so press OK.
Admin interface is important so select on and press OK.
This dialog box shows your admin IP address use this address to access the admin panel. Ex:- In my case http://192.168.1.22/admin. Copy this and paste it in your browser after installation.
This is the final step of how to install pi hole tutorial.
Reset Password for web interface
You can update you default pi hole password by using following commands.
pihole -a -p
How to set up pi-hole with the router
This setting is different for different routers. Search for DHCP Setting and disable it .
Test Pi hole web interface
Open your browser and enter your pi-hole IP address with admin ex: in my case 192.168.1.22/admin/. Enter Your password you just updated.
Open Settings and select DHCP. Check DHCP Server enable.
Here you done everything. Now You are ready to block all unnecessary advertisements.