Openvpn Verbindung klappt nicht?

Ich habe seit 5 Tagen ein Problem. Ich habe openVPN auf meinem Raspberry PI 3B installiert. Es hat nicht funktioniert.

PI neu installiert von Raspbian auf Ubuntu Mate.

Und ein YT-Tutorial von 30 Minuten.

Was zum Teufel ist falsch...

Ich habe den Port 1412 ausgewählt, den Port an meinem Router, einer Fritzbox 6660 Cable, geöffnet. UDP auf PI und Router ausgewählt. Es ist ein exponierter Host. Ich kann nicht mal pingen.

UFW ist deaktiviert. Ich habe es mit einem VPN-INSTALL-Script installiert. Letztes Mal war es pivpn. Auch Wireguard hat nicht funktioniert.

Ich brauche Hilfe..

Client-Protokolle:

17:28:58.183 -- EVENT: CORE_THREAD_ACTIVE

17:28:58.186 -- OpenVPN core 3.git::d3f8b18b:Release android arm64 64-bit PT_PROXY

17:28:58.196 -- Frame=512/2048/512 mssfix-ctrl=1250

17:28:58.203 -- UNUSED OPTIONS
4 [resolv-retry] [infinite]
5 [nobind]
11 [auth-nocache]
12 [verb] [3]

17:28:58.206 -- EVENT: RESOLVE

17:28:58.214 -- Contacting myIP:1412 via UDP

17:28:58.216 -- EVENT: WAIT

17:28:58.220 -- Connecting to [myIP]:1412 (myIP) via UDPv4

17:29:08.204 -- Server poll timeout, trying next remote entry...

17:29:08.207 -- EVENT: RECONNECTING

17:29:08.211 -- EVENT: RESOLVE

17:29:08.215 -- Contacting myIP:1412 via UDP

17:29:08.216 -- EVENT: WAIT

17:29:08.232 -- Connecting to [myIP]:1412 (myIP) via UDPv4

17:29:18.209 -- Server poll timeout, trying next remote entry...

17:29:18.214 -- EVENT: RECONNECTING

17:29:18.221 -- EVENT: RESOLVE

17:29:18.229 -- Contacting myIP:1412 via UDP

17:29:18.230 -- EVENT: WAIT

17:29:18.236 -- Connecting to [myIP]:1412 (myIP) via UDPv4

17:29:28.226 -- Server poll timeout, trying next remote entry...

17:29:28.231 -- EVENT: RECONNECTING

17:29:28.236 -- EVENT: RESOLVE

17:29:28.240 -- Contacting myIP:1412 via UDP

17:29:28.241 -- EVENT: WAIT

17:29:28.244 -- Connecting to [myIP]:1412 (myIP) via UDPv4

17:29:38.226 -- Server poll timeout, trying next remote entry...

openvpn mehrmals neu installiert, viel gelesen, Einstellungen im Router geändert, versucht zu pingen. Ich brauche etwas Hilfe, um eine Verbindung zu meinem Pi herzustellen.

Linux, Port, VPN, openvpn, Raspberry Pi 3, WireGuard
115€ für Raspi 4 4GB?
Das ist übertrieben teuer! 92%
Es ist normal, so viel für einen Raspberry zu verlangen. 8%
Computer, Technik, Technologie, Raspberry Pi, Raspberry, raspbian, Spiele und Gaming, Raspberry Pi 3, Raspberry Pi 4
Temperaturwerte über WLAN ans Handy senden Raspberry Pi?

Hi, ich habe einen Raspi Zero W und will mit diesem die Temperatur messen. Wenn er die Temperatur gemessen hat, soll er diesen Wert per WLAN ans Handy senden. Geht das? Wenn nein, kann man da mit einer App aushelfen? (Ich verwende ein IOS Handy)

Der Code meiner .py Datei:

import time
import board
import adafruit_dht
 
# Initial the dht device, with data pin connected to:
# dhtDevice = adafruit_dht.DHT22(board.D4)
 
# you can pass DHT22 use_pulseio=False if you wouldn't like to use pulseio.
# This may be necessary on a Linux single board computer like the Raspberry Pi,
# but it will not work in CircuitPython.
dhtDevice = adafruit_dht.DHT22(board.D4, use_pulseio=False)
 
while True:
    try:
        # Print the values to the serial port
        temperature_c = dhtDevice.temperature
        temperature_f = temperature_c * (9 / 5) + 32
        humidity = dhtDevice.humidity
        print(
            "Temp: {:.1f} F / {:.1f} C    Humidity: {}% ".format(
                temperature_f, temperature_c, humidity
            )
        )
 
    except RuntimeError as error:
        # Errors happen fairly often, DHT's are hard to read, just keep going
        print(error.args[0])
        time.sleep(2.0)
        continue
    except Exception as error:
        dhtDevice.exit()
        raise error
 
    time.sleep(2.0)

Wie kann ich mit dieser Datei den Temperaturwert an mein Handy senden? Danke ...

PC, Computer, Technik, Debian, Raspberry Pi, Raspi, Raspian, Raspberry Pi 3
Python function wird zweimal aufgerufen?

Guten Morgen,

Ich habe ein problem mit meinem skript. Ich möchte gerne, dass wenn man einen kliptaster betätigt dieser in einem array gespeichert wird. Leider wird die Zahl des Tasters doppelt im array angezeigt. Er ruft bei mir die function zweimal auf.

import RPi.GPIO as GPIO # Import Raspberry Pi GPIO library
import time
import sys, traceback
 
#https://raspberrypihq.com/use-a-push-button-with-raspberry-pi-gpio/
 
tastenSeq=[]
 
 
def button_callback(channel):
       print("Taster 2: AN")
       GPIO.output(12,True)
       tastenSeq.append(2)
       time.sleep(1.0)
       GPIO.output(12,False)
       print("Taster 2: AUS")
 
 
def button_callback2(channel2):
       print("Taster 5: AN")
       GPIO.output(32,True)
       tastenSeq.append(5)
       time.sleep(1.0)
       GPIO.output(32,False)
       print("Taster 5: AUS")
       print tastenSeq
 
GPIO.setmode(GPIO.BOARD)
GPIO.setup(12,GPIO.OUT)
GPIO.setup(32,GPIO.OUT)
 
GPIO.setwarnings(False) # Ignore warning for now
#GPIO.setmode(GPIO.BOARD) # Use physical pin numbering
 
GPIO.setup(31, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) # Set pin 10 to be an input pin and set initial value to be pulled low (off)
GPIO.add_event_detect(31,GPIO.RISING,button_callback) # Setup event on pin 10 rising edge
 
 
GPIO.setup(15, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) # Set pin 10 to be an input p$
GPIO.add_event_detect(15,GPIO.RISING,callback=button_callback2) # Setup event on p$
 
message = input("Press enter to quit\n\n") # Run until someone presses enter
GPIO.cleanup() # Clean up

 

 

Bild zu Frage
Computer, Computerspiele, programmieren, Informatik, Python 3, Raspberry Pi, Raspberry, Raspberry Pi 3
Hyperion/Hypercon ssh verbindung nicht möglich zu RB pi3b+?

Hallo Community,

bei meinem Ambilight Nachbau habe ich folgenden Fehler wenn ich via ssh Verbindung eine Hyperion konfigurations- Datei senden möchte.

SSH Traffic:

ssh connected

ssh out: cd /tmp && wget -nv -N https://raw.github.com/hyperion-project/hyperion/master/bin/install_hyperion.sh && chmod +x install_hyperion.sh && sudo sh ./install_hyperion.sh HyperConInstall ; rm install_hyperion.sh

ssh out: wget: invalid option -- 'N'

ssh out: BusyBox v1.25.1 (2018-03-24 15:42:39 GMT) multi-call binary.

ssh out: Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE]

ssh out: [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]

ssh out: [-U|--user-agent AGENT] [-T SEC] URL...

ssh out: Retrieve files via HTTP or FTP

ssh out: -s Spider mode - only check file existence

ssh out: -c Continue retrieval of aborted transfer

ssh out: -q Quiet

ssh out: -P DIR Save to DIR (default .)

ssh out: -T SEC Network read timeout is SEC seconds

ssh out: -O FILE Save to FILE ('-' for stdout)

ssh out: -U STR Use STR for User-Agent header

ssh out: -Y Use proxy ('on' or 'off')

ssh out: rm: can't remove 'install_hyperion.sh': No such file or directory

ssh out: cd /tmp && wget -nv -N https://raw.github.com/hyperion-project/hyperion/master/bin/install_hyperion.sh && chmod +x install_hyperion.sh && sudo sh ./install_hyperion.sh HyperConInstall ; rm install_hyperion.sh

ssh out: wget: invalid option -- 'N'

ssh out: BusyBox v1.25.1 (2018-03-24 15:42:39 GMT) multi-call binary.

ssh out: Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE]

ssh out: [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]

ssh out: [-U|--user-agent AGENT] [-T SEC] URL...

ssh out: Retrieve files via HTTP or FTP

ssh out: -s Spider mode - only check file existence

ssh out: -c Continue retrieval of aborted transfer

ssh out: -q Quiet

ssh out: -P DIR Save to DIR (default .)

ssh out: -T SEC Network read timeout is SEC seconds

ssh out: -O FILE Save to FILE ('-' for stdout)

ssh out: -U STR Use STR for User-Agent header

ssh out: -Y Use proxy ('on' or 'off')

ssh out: rm: can't remove 'install_hyperion.sh': No such file or directory

sftp Send Hyperion Config - Sourcepath: C:/Users/Lisa/Desktop, Targetpath: /etc/hyperion/, Filename: hyperion.config.json

Das Protokoll ist so voll da ich es ein paar mal probiert habe.

Danke für die schnelle Hilfe

IT, ssh, Windows 8, Ambilight, Raspberry Pi 3

Meistgelesene Fragen zum Thema Raspberry Pi 3