domingo, dezembro 29, 2019

raspberry pi + dns crypt


  • Install location shall be /opt. This is where we will place the dnscrypt-proxy files.
    cd /opt
  • Download DNSCrypt.
    sudo wget
  • Extract prebuilt binary.
    sudo tar -xf dnscrypt-proxy-linux_arm-2.0.19.tar.gz`
  • Rename the extracted folder.
    sudo mv linux-arm dnscrypt-proxy
  • cd into extracted directory.
    cd dnscrypt-proxy
  • Create a configuration file based on the example one.
    sudo cp example-dnscrypt-proxy.toml dnscrypt-proxy.toml
  • Edit the toml file.
    sudo nano dnscrypt-proxy.toml
  • Edit the port, since 53 is already being used by Pi-Hole. This is the listen_addresses line.
  • I set listen_addresses = ['','[::1]:54'].
  • I set require_dnssec = true.
  • I set server_names = [''].
  • Install dnscrypt-proxy service.
    sudo ./dnscrypt-proxy -service install
  • Start the new service.
    sudo ./dnscrypt-proxy -service start

segunda-feira, dezembro 23, 2019

debian deb balena etcher

  1. echo "deb stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list
  2. sudo apt-key adv --keyserver --recv-keys 379CE192D401AB61
  3. sudo apt-get update
    sudo apt-get install balena-etcher-electron

sábado, dezembro 14, 2019

Attempting install of pybluez==0.22


sudo apt-get update
sudo apt-get install python-pip python-dev ipython
sudo apt-get install bluetooth libbluetooth-dev
sudo pip install pybluez

GPO Remover impressoras

"Computer Configuration" -> "Preferences" -> "Control Panel Settings" -> "Printers".

"New" -> "Local Printer".

Under "action", select "Delete"

"Send to OneNote"
"Microsoft XPS Document Writer"

segunda-feira, dezembro 02, 2019

ERROR (SyncWorker_13) [homeassistant.components.apcupsd] Failure while testing APCUPSd status retrieval.

ERROR (SyncWorker_13) [homeassistant.components.apcupsd] Failure while testing APCUPSd status retrieval.
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/apcupsd/", line 52, in setup
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/util/", line 240, in wrapper
    result = method(*args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/apcupsd/", line 88, in update
    self._status = self._get_status()
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/apcupsd/", line 83, in _get_status
    return self._parse(self._get(host=self._host, port=self._port))
  File "/srv/homeassistant/lib/python3.7/site-packages/apcaccess/", line 37, in get
    sock.connect((host, port))
ConnectionRefusedError: [Errno 111] Connection refused

sudo apt-get install apcupsd


Related Posts Widget for Blogs by LinkWithin