Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Linux Control v1.x.x

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter Linux Control v1.x.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • dirk1962
      dirk1962 @Meister Mopper last edited by dirk1962

      @meister-mopper sagte in Test Adapter Linux Control v1.x.x:

      @dirk1962

      Wie sieht Deine Host Konfigurationstabelle der Instanz aus?

      Konfig.png

      habe sowohl in den Debian 11 Container als auch in die Debian 10 VM das gleiche backup eingespielt.
      In der VM funktioniert es, im Container nicht.
      Hatte vorher iobroker in einem Ubuntu 20 Container, da funktionierte es auch.

      1 Reply Last reply Reply Quote 0
      • Meister Mopper
        Meister Mopper last edited by

        @dirk1962

        Zeig mal die Optionen Deines ioBroker LXC. Hier meine:


        e189671c-7b22-4783-921b-f9a925e02376-grafik.png

        Und die Netzwerkkonfiguration des ioBroker LXC:


        7c07b730-7355-4f56-8df6-28526411005d-grafik.png

        dirk1962 1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active last edited by

          @dirk1962 sagte in Test Adapter Linux Control v1.x.x:

          In der VM funktioniert es, im Container nicht.

          muss eventuell was nachinstalliert werden, da es ja nur ein LXC ist,
          wie z.b. iputils-ping

          dirk1962 1 Reply Last reply Reply Quote 0
          • dirk1962
            dirk1962 @crunchip last edited by

            @crunchip sagte in Test Adapter Linux Control v1.x.x:

            @dirk1962 sagte in Test Adapter Linux Control v1.x.x:

            In der VM funktioniert es, im Container nicht.

            muss eventuell was nachinstalliert werden, da es ja nur ein LXC ist,
            wie z.b. iputils-ping

            Danke für den Tipp, aber das ist bereits installiert.

            Meister Mopper 1 Reply Last reply Reply Quote 0
            • Meister Mopper
              Meister Mopper @dirk1962 last edited by

              @dirk1962

              Kommst Du von der ioBroker shell über ssh auf die hosts?

              dirk1962 1 Reply Last reply Reply Quote 0
              • dirk1962
                dirk1962 @Meister Mopper last edited by

                @meister-mopper

                Optionen des LXC


                Prox.png

                Netzwerkkonfiguration


                Netzwerk.png

                Vergebe grundsätzlich alles über DHCP und nicht statisch.

                1 Reply Last reply Reply Quote 0
                • dirk1962
                  dirk1962 @Meister Mopper last edited by

                  @meister-mopper sagte in Test Adapter Linux Control v1.x.x:

                  @dirk1962

                  Kommst Du von der ioBroker shell über ssh auf die hosts?

                  Sorry, verstehe nicht, was Du meinst oder wie ich das machen soll.

                  Meister Mopper 1 Reply Last reply Reply Quote 0
                  • Meister Mopper
                    Meister Mopper @dirk1962 last edited by Meister Mopper

                    @dirk1962 sagte in Test Adapter Linux Control v1.x.x:

                    Sorry, verstehe nicht, was Du meinst oder wie ich das machen soll.

                    Na hier:
                    ceb4741a-32ca-406f-8153-a27253e7ace9-grafik.png

                    Login und dann ssh user@IP_des_Zielhost

                    Vergebe grundsätzlich alles über DHCP und nicht statisch.

                    Das halte ich für keine gute Idee. Wer führt die Regie, Du oder der Router?

                    dirk1962 2 Replies Last reply Reply Quote 0
                    • dirk1962
                      dirk1962 @Meister Mopper last edited by

                      @meister-mopper sagte in Test Adapter Linux Control v1.x.x:

                      Das halte ich für keine gute Idee. Wer führt die Regie, Du oder der Router?

                      Ich im Router. Im Router sind feste IP-Adressen vergeben.

                      1 Reply Last reply Reply Quote 0
                      • dirk1962
                        dirk1962 @Meister Mopper last edited by

                        @meister-mopper sagte in Test Adapter Linux Control v1.x.x:

                        @dirk1962 sagte in Test Adapter Linux Control v1.x.x:

                        Sorry, verstehe nicht, was Du meinst oder wie ich das machen soll.

                        Na hier:
                        ceb4741a-32ca-406f-8153-a27253e7ace9-grafik.png

                        Login und dann ssh user@IP_des_Zielhost

                        Ja, ich komme auf die hosts.

                        Meister Mopper Scrounger 2 Replies Last reply Reply Quote 0
                        • Meister Mopper
                          Meister Mopper @dirk1962 last edited by

                          @dirk1962 sagte in Test Adapter Linux Control v1.x.x:

                          Ja, ich komme auf die hosts.

                          Dann kommt offenbar der Systemuser iobroker nicht auf die hosts.

                          1 Reply Last reply Reply Quote 0
                          • Scrounger
                            Scrounger Developer @dirk1962 last edited by

                            @dirk1962
                            Versuch erstmal iputils Reinstall mit force. Auch wenn das installiert hangts meist daran

                            K 1 Reply Last reply Reply Quote 1
                            • K
                              Kuddel @Scrounger last edited by Kuddel

                              Hallo zusammen,

                              ich teste gerade die Abfrage von Windows Systemen über SSH und Powershell.

                              Leider stürzt der Adapert dabei immer ab. bzw. startet neu.

                              Mein Befehl:

                              powershell (get-Host).Version.Major
                              

                              Die Infos werden korrekt abgefragt und danach stürzt der Adapter ab.

                              Log:

                              linux-control.0 2022-03-01 10:05:17.840	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                              linux-control.0	2022-03-01 10:05:17.840	debug	Plugin sentry destroyed
                              linux-control.0	2022-03-01 10:05:17.839	info	terminating
                              linux-control.0	2022-03-01 10:05:17.839	info	cleaned everything up...
                              linux-control.0	2022-03-01 10:05:17.833	error	Exception-Code: ECONNRESET: read ECONNRESET
                              linux-control.0	2022-03-01 10:05:17.833	error	Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
                              linux-control.0	2022-03-01 10:05:17.833	error	uncaught exception: read ECONNRESET
                              linux-control.0	2022-03-01 10:05:17.827	info	successful received data from win-dhcp (192.168.4.170:22)
                              linux-control.0	2022-03-01 10:05:17.823	debug	[userCommandExecute] win-dhcp (192.168.4.170:22, id: info.ps-version, description: PS-Version): response stdout: 5
                              linux-control.0	2022-03-01 10:05:17.468	debug	[userCommandExecute] win-dhcp (192.168.4.170:22, id: info.ps-version, description: PS-Version): send command: 'powershell (get-Host).Version.Major '
                              
                              1 Reply Last reply Reply Quote 0
                              • O
                                oxident last edited by oxident

                                Ich würde mit dem Adapter gerne meinen VMware ESXi 7 Server herunterfahren, aber irgendwie mag er sich nicht mit Benutzername und Kennwort verbinden. Im Log erscheint

                                inux-control.0
                                2022-03-20 07:26:07.324	error	[getConnection] error: All configured authentication methods failed, stack: Error: All configured authentication methods failed at doNextAuth (/opt/iobroker/node_modules/ssh2/lib/client.js:803:21) at tryNextAuth (/opt/iobroker/node_modules/ssh2/lib/client.js:993:7) at USERAUTH_FAILURE (/opt/iobroker/node_modules/ssh2/lib/client.js:373:11) at 51 (/opt/iobroker/node_modules/ssh2/lib/protocol/handlers.misc.js:337:16) at Protocol.onPayload (/opt/iobroker/node_modules/ssh2/lib/protocol/Protocol.js:2025:10) at AESGCMDecipherBinding.decrypt (/opt/iobroker/node_modules/ssh2/lib/protocol/crypto.js:1086:26) at Protocol.parsePacket [as _parse] (/opt/iobroker/node_modules/ssh2/lib/protocol/Protocol.js:1994:25) at Protocol.parse (/opt/iobroker/node_modules/ssh2/lib/protocol/Protocol.js:293:16) at Socket.<anonymous> (/opt/iobroker/node_modules/ssh2/lib/client.js:713:21) at Socket.emit (events.js:400:28) at Socket.emit (domain.js:475:12) at addChunk (internal/streams/readable.js:293:12) at readableAddChunk (internal/streams/readable.js:267:9) at Socket.Readable.push (internal/streams/readable.js:206:10) at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
                                

                                Eine SSH-Verbindung per bash ist jedoch problemlos möglich. Habe ich da einen Denkfehler?

                                UPDATE: Mit RSA-Keys geht's!

                                1 Reply Last reply Reply Quote 0
                                • Elektroniker86
                                  Elektroniker86 last edited by

                                  Kann man im Adapter auch Werte automatisiert abfragen, also z.B in einem Intervall?

                                  Ich würde gerne den Zustand von einem an den GPIO angeschlossenem Relais abfragen z.B im 5 Sekundentakt?

                                  Bin für jeden Tipp dankbar!

                                  Screenshot 2022-04-09 122256.jpg

                                  liv-in-sky 1 Reply Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @Elektroniker86 last edited by

                                    @elektroniker86

                                    müßte doch das sein

                                    Image 3.png

                                    Elektroniker86 1 Reply Last reply Reply Quote 1
                                    • Elektroniker86
                                      Elektroniker86 @liv-in-sky last edited by

                                      @liv-in-sky

                                      OMG manchmal sieht man den Wald vor lauter Bäumen nicht.
                                      Natürlich! Ich habe es nur nicht gesehen.

                                      Habe es direkt ausprobiert, funktioniert natürlich.

                                      Vilen Dank !!!

                                      1 Reply Last reply Reply Quote 0
                                      • gelberlemmy
                                        gelberlemmy @Scrounger last edited by

                                        @scrounger hallo, ich habe einal eine Frage. Ich habe nun die Daten eingegeben. Aktuell ohne RSA Key Pfad. Er sagt mir das mein PI aktuell nicht online ist. Ich komme aber per SSH drauf. Auch der Ping aus der Kommandozeile funktioniert. Die Keys habe ich gefunden. Da gibt es zwei eine ohne Endung und eine Datei mit der Endung .pub
                                        Wenn ich diesen Pfade eingebe, das selbe Problem.
                                        Könnt Ihr mir kurz aufs Pferd helfen ?

                                        Gruß André

                                        linux-control.0
                                        2022-04-17 20:43:45.575	info	[getConnection] Host 'MotionEye' (192.168.171.72:22) seems not to be online
                                        
                                        linux-control.0
                                        2022-04-17 20:43:45.558	info	getting data from MotionEye (192.168.171.72:22)
                                        

                                        2022-04-17 22_48_58-instances - IOBroker-Proxmox.jpg

                                        liv-in-sky 1 Reply Last reply Reply Quote 0
                                        • liv-in-sky
                                          liv-in-sky @gelberlemmy last edited by

                                          @gelberlemmy

                                          wie schon gesagt, entweder mit passwort oder mit key - der key müßte eh erst angelegt werden

                                          im adapter kommt die fehlermeldung, wenn der ping nicht erfolgreich ist - ist wohl ein test, bevor die ssh verbindung gemacht wird

                                          zur ssh verbindung kommt es dann garnicht, daher ist es egal, was du eingibst.

                                          bin daher etwas verwirrt - gib mal einen großeren wert bei timeout z.b. 10 an

                                          Image 011.png

                                          gelberlemmy 1 Reply Last reply Reply Quote 0
                                          • gelberlemmy
                                            gelberlemmy @liv-in-sky last edited by

                                            @liv-in-sky sagte in Test Adapter Linux Control v1.x.x:

                                            @gelberlemmy

                                            wie schon gesagt, entweder mit passwort oder mit key - der key müßte eh erst angelegt werden

                                            im adapter kommt die fehlermeldung, wenn der ping nicht erfolgreich ist - ist wohl ein test, bevor die ssh verbindung gemacht wird

                                            zur ssh verbindung kommt es dann garnicht, daher ist es egal, was du eingibst.

                                            bin daher etwas verwirrt - gib mal einen großeren wert bei timeout z.b. 10 an

                                            Image 011.png

                                            Guten Morgen,
                                            habe ich getan. Hoch bis 30. Immer noch das gleiche.

                                            linux-control.0
                                            2022-04-18 11:35:41.181	info	[getConnection] Host 'motioneye' (192.168.171.72:22) seems not to be online
                                            
                                            linux-control.0
                                            2022-04-18 11:35:41.163	info	getting data from motioneye (192.168.171.72:22, Adapter start)
                                            
                                            linux-control.0
                                            2022-04-18 11:35:41.142	warn	This object will not be created in future versions. Please report this to the developer.
                                            
                                            linux-control.0
                                            2022-04-18 11:35:41.141	warn	Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
                                            

                                            Habe einmal direkt in der iobroker Konsole den Ping ausgeführt. Das funktioniert auch. Hmm...

                                            2022-04-18 11_37_57-instances - IOBroker-Proxmox.jpg

                                            liv-in-sky 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            825
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter control hardware linux steuern
                                            64
                                            656
                                            128572
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo