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

      @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
                                • liv-in-sky
                                  liv-in-sky @gelberlemmy last edited by

                                  hab da im moment auch keine idee dazu

                                  hast du die neuste version über github installiert ? 1.1.4

                                  was hast du für ein system ?

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

                                    @gelberlemmy

                                    Image 013.png

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

                                      @gelberlemmy

                                      sudo apt install iputils-ping
                                      

                                      falls du diesen hinweis brauchst 🙂

                                      gelberlemmy crunchip 2 Replies 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:

                                        sudo apt install iputils-ping

                                        Ja ist die 1.1.4

                                        Und alles installiert

                                        Ubuntu 21.10 IOBroker-Proxmox tty1
                                        
                                        IOBroker-Proxmox login: root
                                        Password: 
                                        Welcome to Ubuntu 21.10 (GNU/Linux 5.13.19-2-pve x86_64)
                                        
                                         * Documentation:  https://help.ubuntu.com
                                         * Management:     https://landscape.canonical.com
                                         * Support:        https://ubuntu.com/advantage
                                        Last login: Mon Apr 18 09:17:00 UTC 2022 on tty1
                                        root@IOBroker-Proxmox:~# apt install iputils-ping
                                        Reading package lists... Done
                                        Building dependency tree... Done
                                        Reading state information... Done
                                        iputils-ping is already the newest version (3:20210202-1).
                                        0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
                                        root@IOBroker-Proxmox:~# 
                                        

                                        Hat das eventuell damit zu tun, weil IOBroker auf Proxmox installiert ist ?

                                        liv-in-sky Scrounger 3 Replies Last reply Reply Quote 0
                                        • liv-in-sky
                                          liv-in-sky @gelberlemmy last edited by

                                          @gelberlemmy eher nicht - habe auch proxmox server und container

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

                                            @gelberlemmy

                                            da müssen wir auf @Scrounger warten - in github steht noch

                                            Due to the many different Linux distributions this feature is only tested with Debian 10, Ubuntu 18 / 20 LTS!

                                            keine ahnung ob das was macht ?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            659
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter control hardware linux steuern
                                            64
                                            656
                                            128541
                                            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