WireGuard® - Zugang unter Ubuntu einrichten

Dezember 5, 2022 - Lesezeit: ~1 Minute

Freigabe WireGuard in der Fritzbox erstellen und die Konfiguration herunterladen. (firma.conf)

sudo apt install wireguard resolvconf
sudo cp firma.conf /etc/wireguard/
sudo chmod 600 /etc/wireguard/firma.conf

Verbindung starten: 

 sudo systemctl start wg-quick@firma

Verbindung stoppen:

sudo systemctl stop wg-quick@firma
Tags: Ubuntu Kubuntu VPN

Start mit ESP8266 und ESP32 mit Arduino

Juli 25, 2022 - Lesezeit: ~1 Minute

Beide Programmgerüste stellen 3 Funktionen zur Verfügung

  1. Verbindung zum WLAN
  2. Stellen der Uhr mit der Zeitzone Berlin
  3. Start von ArduinoOTA

ESP8266

ESP32

Tags: Arduino ESP8266 ESP32

Windows SSH-Client ohne Passwort

Dezember 8, 2021 - Lesezeit: ~1 Minute

server2021 ist der Linux-Server

1. SSH Agent starten (Dienst, daher als Administrator ausführen)

sc config ssh-agent start=delayed-auto

2. Schlüssel erzeugen

ssh-keygen -t rsa -b 2048

3. Schlüssel auf den Linux-Rechner kopieren

scp .ssh\id_rsa.pub server2021:/tmp/

4. Auf dem Linux-Rechner Schlüssel hinzufügen

cat /tmp/id_rsa.pub >> ~/.ssh/authorized_keys
Tags: Ubuntu Kubuntu Windows Linux SSH

2.7" 264×176 ePaper Display HAT für Raspberry Pi

November 28, 2021 - Lesezeit: ~1 Minute
sudo raspi-config
-->Interfacing Options -> SPI -> Yes  to enable SPI interface
sudo apt-get update
sudo apt-get install python3-pip
sudo apt-get install python3-pil
sudo apt-get install python3-numpy
sudo apt-get install git
sudo pip3 install RPi.GPIO
sudo pip3 install spidev
sudo git clone https://github.com/waveshare/e-Paper
cd e-Paper/RaspberryPi\&JetsonNano/
sudo python3 epd_2in7_test.py

Installieren

cd ~/e-Paper/RaspberryPi_JetsonNano/python/
sudo python3 setup.py install
Tags: Hardware Linux Python

Nextcloud - Client Anmeldung funktioniert nicht auf einem Virtualhost

September 10, 2021 - Lesezeit: ~1 Minute

Nextcloud erkennt nicht, dass es über https angesprochen wird.

in der config.php hinzufügen

 'overwriteprotocol' => 'https'
Tags:

Zugriff auf PostgreSQL von einem anderem Computer zulassen

August 22, 2021 - Lesezeit: ~1 Minute
  1. Datei /etc/postgresql/11/main/postgresql.conf
     # - Connection Settings -
    listen_addresses = '*' # what IP address(es) to listen on;
     
  2. Datei /etc/postgresql/11/main/pg_hba.conf
     # IPv4 local connections:
    host all all 127.0.0.1/32 md5
    host all all 192.168.2.0/24 md5
Tags: