Basic rPi PADD on touchscreen install.

Install Pi-hole Ad Detection Display on your rPi.

  1. Get your touchscreen display working.
  2. Open raspi-config and set Boot Options -> DeskTop / CLI to Console Autologin.
  3. Download PADD and make executable:
    cd ~
    wget -N https://raw.githubusercontent.com/jpmck/PADD/master/padd.sh
    sudo chmod +x padd.sh
  4. Start PADD with ./padd.sh
  5. Exit with CTRL-C

Links:

learn.adafruit.com github.com/jpmck/PADD

Fix (delete) secondary dhcp address when setting static ip address.

After setting a static ip address in a debian based os, there is often a secondary ip address visible with ip addr show.
This is caused by the dhcpcd service which keeps running after setting a static ip.
Stopping this service will remove the secondary ip address after a reboot or network restart.

update-rc.d dhcpcd disable
service dhcpcd stop
#and optionally the next line or a reboot
ip addr del %YOURS-SECOND-IP% dev ethX

Replace %YOURS-SECOND-IP% with the unwanted secondary ip address.
And replace ethx with the interface name.
Restart the network.
Or just reboot and the secondary ip will be gone.

Works on a Volumio based Raspberry Pi and Ubuntu Server 18.04.2 LTS.