RaspberryPi 3 + Pi-Hole Befehle

8. August 2018 Aus Von Raychan

Raspberry Pi 3
Firmware Update des RaspberryPi 3:

sudo rpi-update

Raspbian
Updaten des Raspbian:

sudo apt-get -y update
sudo apt-get -y dist-upgrade
sudo apt-get -y autoremove
sudo apt-get -y autoclean

Konfiguration:

sudo raspi-config

statische IP einstellen:

#DHCP abstellen
sudo service dhcpcd stop
sudo systemctl disable dhcpcd
 
#interfaces textfile anpassen
sudo nano /etc/network/interfaces
 
# Ethernet
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.178.40
netmask 255.255.255.0
gateway 192.168.178.1
dns-nameservers 192.168.178.1
 
#Neustarten
sudo reboot

Pi-Hole
Updaten des Pi-Hole:

pihole -up

Statistik zurücksetzen:

cd /etc/pihole
sudo service pihole-FTL stop
sudo mv pihole-FTL.db pihole-FTL.db.old
sudo service pihole-FTL start