I wanted to try out beta v5 on an old Pi 2 collecting dust.
No issues currently getting v4 installed:
dehakkelaar@laptop:~$ wget https://downloads.raspberrypi.org/raspbian_lite_latest -O raspbian_lite_latest.zip
[..]
2020-02-26 21:26:25 (3.05 MB/s) - ‘raspbian_lite_latest.zip’ saved [454047405/454047405]
dehakkelaar@laptop:~$ zipinfo raspbian_lite_latest.zip
Archive: raspbian_lite_latest.zip
Zip file size: 454047405 bytes, number of entries: 1
-rw-r--r-- 3.0 unx 1849688064 bx defN 20-Feb-13 17:10 2020-02-13-raspbian-buster-lite.img
1 file, 1849688064 bytes uncompressed, 454047185 bytes compressed: 75.5%
dehakkelaar@laptop:~$ unzip raspbian_lite_latest.zip
Archive: raspbian_lite_latest.zip
inflating: 2020-02-13-raspbian-buster-lite.img
dehakkelaar@laptop:~$ lsblk
[..]
sdb 8:16 1 14.9G 0 disk
├─sdb1 8:17 1 34M 0 part
├─sdb2 8:18 1 14.5G 0 part
└─sdb3 8:19 1 245.5M 0 part
dehakkelaar@laptop:~$ sudo dd bs=4M if=2020-02-13-raspbian-buster-lite.img of=/dev/sdb conv=fsync
441+0 records in
441+0 records out
1849688064 bytes (1.8 GB, 1.7 GiB) copied, 154.401 s, 12.0 MB/s
dehakkelaar@laptop:~$ sync
dehakkelaar@laptop:~$
dehakkelaar@laptop:~$ rm 2020-02-13-raspbian-buster-lite.img
dehakkelaar@laptop:~$
dehakkelaar@laptop:~$ lsblk
[..]
sdb 8:16 1 14.9G 0 disk
├─sdb1 8:17 1 256M 0 part
└─sdb2 8:18 1 14.6G 0 part
dehakkelaar@laptop:~$ sudo mount /dev/sdb1 /mnt
dehakkelaar@laptop:~$
dehakkelaar@laptop:~$ sudo touch /mnt/ssh
dehakkelaar@laptop:~$
dehakkelaar@laptop:~$ sudo umount /mnt
dehakkelaar@laptop:~$
dehakkelaar@laptop:~$ sudo mount /dev/sdb2 /mnt
dehakkelaar@laptop:~$
dehakkelaar@laptop:~$ sudo tee -a /mnt/etc/dhcpcd.conf <<< $'interface eth0\n static ip_address=10.0.0.4/24\n static routers=10.0.0.1\n static domain_name_servers=8.8.8.8'
interface eth0
static ip_address=10.0.0.4/24
static routers=10.0.0.1
static domain_name_servers=8.8.8.8
dehakkelaar@laptop:~$ sudo umount /mnt
dehakkelaar@laptop:~$
dehakkelaar@laptop:~$ sync
dehakkelaar@laptop:~$
dehakkelaar@laptop:~$ ping 10.0.0.4
[..]
From 10.0.0.220 icmp_seq=17 Destination Host Unreachable
From 10.0.0.220 icmp_seq=18 Destination Host Unreachable
64 bytes from 10.0.0.4: icmp_seq=19 ttl=64 time=3377 ms
64 bytes from 10.0.0.4: icmp_seq=20 ttl=64 time=2353 ms
dehakkelaar@laptop:~$ ssh pi@10.0.0.4
[..]
pi@raspberrypi:~ $
pi@raspberrypi:~ $ sudo dpkg-reconfigure tzdata
Current default time zone: 'Europe/Amsterdam'
Local time is now: Wed Feb 26 22:39:41 CET 2020.
Universal Time is now: Wed Feb 26 21:39:41 UTC 2020.
pi@raspberrypi:~ $ sudo hostnamectl set-hostname phb5.dehakkelaar.nl
pi@raspberrypi:~ $
pi@raspberrypi:~ $ sudo sed 's/raspberrypi/phb5.dehakkelaar.nl/' -i /etc/hosts
sudo: unable to resolve host phb5.dehakkelaar.nl: Name or service not known
pi@raspberrypi:~ $ cat /etc/hosts
[..]
127.0.1.1 phb5.dehakkelaar.nl
pi@raspberrypi:~ $ sudo apt update && sudo apt upgrade
[..]
Processing triggers for dbus (1.12.16-1) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Processing triggers for initramfs-tools (0.133+deb10u1) ...
pi@raspberrypi:~ $
pi@raspberrypi:~ $ sudo reboot
Connection to 10.0.0.4 closed by remote host.
Connection to 10.0.0.4 closed.
dehakkelaar@laptop:~$ ssh pi@10.0.0.4
[..]
pi@phb5:~ $
pi@phb5:~ $ hostnamectl
Static hostname: phb5.dehakkelaar.nl
Icon name: computer
Machine ID: bf6xxxxxxxxxxxxxxxxxxxxxxxxxx25d
Boot ID: a57xxxxxxxxxxxxxxxxxxxxxxxxxx25e
Operating System: Raspbian GNU/Linux 10 (buster)
Kernel: Linux 4.19.97-v7+
Architecture: arm
pi@phb5:~ $ timedatectl
Local time: Wed 2020-02-26 22:58:04 CET
Universal time: Wed 2020-02-26 21:58:04 UTC
RTC time: n/a
Time zone: Europe/Amsterdam (CET, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
pi@phb5:~ $ curl -sSL https://install.pi-hole.net | bash
[..]
[i] The install log is located at: /etc/pihole/install.log
Installation Complete!
pi@phb5:~ $ pihole -a -p
Enter New Password (Blank for no password):
[✓] Password Removed
pi@phb5:~ $ pihole status
[✓] DNS service is running
[✓] Pi-hole blocking is Enabled
pi@phb5:~ $ pihole -v
Pi-hole version is v4.4 (Latest: v4.4)
AdminLTE version is v4.3.3 (Latest: v4.3.3)
FTL version is v4.3.1 (Latest: v4.3.1)
pi@phb5:~ $ host pi.hole $(hostname -i)
Using domain server:
Name: 127.0.1.1
Address: 127.0.1.1#53
Aliases:
pi.hole has address 10.0.0.4
pi@phb5:~ $ host pi.hole $(hostname -I)
Using domain server:
Name: 10.0.0.4
Address: 10.0.0.4#53
Aliases:
pi.hole has address 10.0.0.4
pi@phb5:~ $ host doubleclick.com
doubleclick.com has address 0.0.0.0
doubleclick.com has IPv6 address ::
[..]
pi@phb5:~ $ host pi-hole.net
pi-hole.net has address 206.189.252.21
pi-hole.net has IPv6 address 2604:a880:400:d0::1071:1
[..]
pi@phb5:~ $ curl -I http://10.0.0.4/admin/
HTTP/1.1 200 OK
Set-Cookie: PHPSESSID=105xxxxxxxxxx104; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Content-type: text/html; charset=UTF-8
X-Pi-hole: The Pi-hole Web interface is working!
X-Frame-Options: DENY
Date: Wed, 26 Feb 2020 22:10:15 GMT
Server: lighttpd/1.4.53
pi@phb5:~ $ nc localhost 4711 <<< $'>stats >quit'
domains_being_blocked 125233
dns_queries_today 34
ads_blocked_today 6
ads_percentage_today 17.647058
unique_domains 9
queries_forwarded 14
queries_cached 14
clients_ever_seen 2
unique_clients 2
dns_queries_all_types 34
reply_NODATA 6
reply_NXDOMAIN 1
reply_CNAME 11
reply_IP 15
privacy_level 0
status enabled