domingo, dezembro 29, 2019

raspberry pi + dns crypt

INSTALL AND SETUP DNSCRYPT

  • Install location shall be /opt. This is where we will place the dnscrypt-proxy files.
    cd /opt
  • Download DNSCrypt.
    sudo wget https://github.com/jedisct1/dnscrypt-proxy/releases/download/2.0.19/dnscrypt-proxy-linux_arm-2.0.19.tar.gz
  • 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 = ['127.0.0.1:54','[::1]:54'].
  • I set require_dnssec = true.
  • I set server_names = ['dnscrypt.nl-ns0'].
  • 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 https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list
  2. sudo apt-key adv --keyserver keyserver.ubuntu.com --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

INFO:homeassistant.core:Bus:Handling


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"
"Fax"

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/__init__.py", line 52, in setup
    DATA.update(no_throttle=True)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/util/__init__.py", line 240, in wrapper
    result = method(*args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/apcupsd/__init__.py", line 88, in update
    self._status = self._get_status()
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/apcupsd/__init__.py", 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/status.py", line 37, in get
    sock.connect((host, port))
ConnectionRefusedError: [Errno 111] Connection refused



sudo apt-get install apcupsd




LinkWithin

Related Posts Widget for Blogs by LinkWithin