Line 15: |
Line 15: |
| | | |
| I strongly suggest you to use pi-imager and set ssh to use only your ssh key, set your keyboard, a password etc. You could do for the wifi, but suggest keeping the good old reliable cable. | | I strongly suggest you to use pi-imager and set ssh to use only your ssh key, set your keyboard, a password etc. You could do for the wifi, but suggest keeping the good old reliable cable. |
| + | |
| + | also you migh want to disable uneeded hardware : wifi and bluetooth (Raspberry Pi® 3B, 3B+, 3A+, 4B and Zero W) [https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README see]<syntaxhighlight lang="bash"> |
| + | echo "dtoverlay=disable-wifi" | sudo tee -a /boot/config.txt |
| + | echo "dtoverlay=disable-bt" | sudo tee -a /boot/config.txt |
| + | sudo systemctl disable hciuart |
| + | sudo reboot |
| + | </syntaxhighlight> |
| | | |
| === Configure a static IP === | | === Configure a static IP === |
Line 45: |
Line 52: |
| === Setup your pihole for a SSL certificate === | | === Setup your pihole for a SSL certificate === |
| {{Note box|TODO}} | | {{Note box|TODO}} |
| + | |
| + | === Tweak pihole using interface === |
| + | If you have windows machines that need updating , go to http://pi.hole and login. |
| + | |
| + | Set in domain the following whitelist<syntaxhighlight lang="ini"> |
| + | www.msftncsi.com |
| + | dns.msftncsi.com |
| + | ipv6.msftncsi.com |
| + | www.msftconnecttest.com |
| + | ipv6.msftconnecttest.com |
| + | </syntaxhighlight>you might also read and apply some part of https://jpgpi250.github.io/piholemanual/doc/Block%20Ads%20Network-wide%20with%20A%20Raspberry%20Pi-hole.pdf |
| | | |
| === Setup your SME to give pihole as DNS for your network, for machines using DHCP === | | === Setup your SME to give pihole as DNS for your network, for machines using DHCP === |
Line 81: |
Line 99: |
| * https://discourse.pi-hole.net/t/installing-pi-hole-on-existing-apache-server/43968/3 | | * https://discourse.pi-hole.net/t/installing-pi-hole-on-existing-apache-server/43968/3 |
| * https://github.com/jpgpi250/piholemanual | | * https://github.com/jpgpi250/piholemanual |
| + | * https://jpgpi250.github.io/piholemanual/doc/Block%20Ads%20Network-wide%20with%20A%20Raspberry%20Pi-hole.pdf |
| | | |
| [[Category:Howto]] | | [[Category:Howto]] |
| [[Category:Dns]] | | [[Category:Dns]] |