Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Probleme mit dem Broadlink2 Adapter

    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

    [gelöst] Probleme mit dem Broadlink2 Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • Cinimod
      Cinimod Most Active last edited by

      @wendy2702 so nun endlich ein restore erfolgreich im gang, erstmal danke für eure hilfe bis hier hin 😊

      vielleicht erbarmt sich noch jemand mir mit dem hostname auf die sprünge zu helfen...
      jedesmal wenn ich einen neuen container erstelle, MUSS ich natürlicheinen neuen Containernamen vergeben, kann ja nicht mehrere gleich benennen,
      und offenbar macht er den Containernamen automatisch zum hostname wenn ich das richtig gedeutet habe.

      trotzdem verstehe ich das Problem nicht richtig, wenn ich iobroker auf einem anderen gerät installiere habe ich ja auch einen anderen hostname oder ?

      wieso er dann immer meckert verstehe ich nun nicht so richtig... neues gerät (container) neuer hostname ...

      root@ioBrokerCustom:/opt/iobroker/backups# which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs                            
      /usr/bin/nodejs                                                                                                                                                      
      v12.21.0                                                                                                                                                             
      /usr/bin/node                                                                                                                                                        
      v12.21.0                                                                                                                                                             
      /usr/bin/npm                                                                                                                                                         
      sudo: Hostname ioBrokerCustom kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt                                                               
      6.14.11                                                                                                                                                              
      nodejs:                                                                                                                                                              
        Installiert:           12.21.0-1nodesource1                                                                                                                        
        Installationskandidat: 12.21.0-1nodesource1                                                                                                                        
        Versionstabelle:                                                                                                                                                   
       *** 12.21.0-1nodesource1 500                                                                                                                                        
              500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages                                                                                          
              100 /var/lib/dpkg/status                                                                                                                                     
           10.24.0~dfsg-1~deb10u1 500                                                                                                                                      
              500 http://security.debian.org/debian-security buster/updates/main amd64 Packages                                                                            
           10.21.0~dfsg-1~deb10u1 500                                                                                                                                      
              500 http://deb.debian.org/debian buster/main amd64 Packages
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Cinimod last edited by

        @dom-sch sagte in Probleme mit dem Broadlink2 Adapter:

        cat /etc/hosts
        
        Cinimod 1 Reply Last reply Reply Quote 0
        • Cinimod
          Cinimod Most Active @Thomas Braun last edited by

          @thomas-braun said in Probleme mit dem Broadlink2 Adapter:

          cat /etc/hosts

          # Any manual change will be lost if the host name is changed or system upgrades.                                                                                     
          127.0.0.1       localhost                                                                                                                                            
          ::1             localhost                                                                                                                                            
          127.0.0.1       NAS-DS918                                                                                                                                            
          ::1             NAS-DS918   
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Cinimod last edited by

            @dom-sch
            Statt
            NAS-DS918
            gehört da wohl der jetzige hostname rein.

            Cinimod 1 Reply Last reply Reply Quote 0
            • Cinimod
              Cinimod Most Active @Thomas Braun last edited by

              @thomas-braun ah versthe

              kann ich das mit sudo nano einfach editieren ?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Cinimod last edited by

                @dom-sch Ja.

                Cinimod 1 Reply Last reply Reply Quote 0
                • Cinimod
                  Cinimod Most Active @Thomas Braun last edited by

                  @thomas-braun

                  und wieder will er nicht ....

                  root@ioBrokerCustom:/opt/iobroker# sudo nano /etc/hosts                                                                                                              
                  sudo: Hostname ioBrokerCustom kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt                                                               
                  sudo: nano: Befehl nicht gefunden
                  
                  wendy2702 Thomas Braun 2 Replies Last reply Reply Quote 0
                  • wendy2702
                    wendy2702 @Cinimod last edited by

                    @dom-sch wieso bist du all "ROOT angemeldet ?

                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Cinimod last edited by Thomas Braun

                      @dom-sch nano nicht installiert, vermute ich.

                      Und wenn du schon root bist braucht es auch kein sudo mehr.

                      Cinimod 1 Reply Last reply Reply Quote 0
                      • Cinimod
                        Cinimod Most Active @Thomas Braun last edited by

                        @thomas-braun

                        ja das war es 🙂

                        root@ioBrokerCustom:/opt/iobroker# cat /etc/hosts                                                                                                                    
                        # Any manual change will be lost if the host name is changed or system upgrades.                                                                                     
                        127.0.0.1       localhost                                                                                                                                            
                        ::1             localhost                                                                                                                                            
                        127.0.0.1       ioBrokerCustom                                                                                                                                       
                        ::1             ioBrokerCustom 
                        

                        jetzt sollte schluss sein mit dem gemecker ?

                        wendy2702 1 Reply Last reply Reply Quote 0
                        • wendy2702
                          wendy2702 @Cinimod last edited by

                          @dom-sch wir meckern noch.....

                          wegen ROOT

                          Cinimod 1 Reply Last reply Reply Quote 0
                          • Cinimod
                            Cinimod Most Active @wendy2702 last edited by

                            @wendy2702 ich bin docker container automatisch root ... glaube das geht nicht anders

                            wendy2702 Thomas Braun 2 Replies Last reply Reply Quote 0
                            • wendy2702
                              wendy2702 @Cinimod last edited by

                              @dom-sch Achso.... Docker....

                              Dann habe ich nichts gesagt.

                              Cinimod 1 Reply Last reply Reply Quote 0
                              • Cinimod
                                Cinimod Most Active @wendy2702 last edited by

                                @wendy2702 @Thomas-Braun danke noch mal für eure hilfe, als anfänger ist man da schnell an seinen grenzen angekommen

                                wendy2702 1 Reply Last reply Reply Quote 0
                                • wendy2702
                                  wendy2702 @Cinimod last edited by

                                  @dom-sch Läuft denn jetzt alles?

                                  Wenn ja bitte auf gelöst setzen.

                                  Cinimod 1 Reply Last reply Reply Quote 0
                                  • Cinimod
                                    Cinimod Most Active @wendy2702 last edited by

                                    @wendy2702 also das eigentliche Problem war ja der broadlink2 Adapter 😬

                                    der geht natürlich immernoch nicht, teste aber erst noch mal was, würde mich dann noch mal melden wo und wie es hängt

                                    1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Cinimod last edited by Thomas Braun

                                      @dom-sch sagte in Probleme mit dem Broadlink2 Adapter:

                                      @wendy2702 ich bin docker container automatisch root ... glaube das geht nicht anders

                                      Doch, auch in docker-Containern gibt es ein User Management, bzw. kann es eines geben. Halt autark vom OS, an das der Container angedockt ist. Ist etwas komplexer (oder eigentlich auch nicht, weil die grundlegende Logik nicht anders ist als bei einem nativen Linux). Und u. a. aus diesem Grund halte ich einen Container auch nicht für die geeignete Umgebung für Linux-Anfänger.

                                      Auf Synology geht es wohl angeblich nicht, weil da der Wirt das so nicht hergibt, hab ich mir sagen lassen.

                                      Cinimod 1 Reply Last reply Reply Quote 0
                                      • Cinimod
                                        Cinimod Most Active @Thomas Braun last edited by

                                        @thomas-braun aber ich bin doch dann nur root des Containers? Kann also höchstens den containier Inhalt zerstören? Oder verstehe ich das wieder falsch ?

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Cinimod last edited by

                                          @dom-sch Da geht es nicht (nur) drum.

                                          Cinimod 1 Reply Last reply Reply Quote 0
                                          • Cinimod
                                            Cinimod Most Active @Thomas Braun last edited by

                                            @thomas-braun da brauche ich wohl auch noch mal etwas aufklärung, wieso eigentlich nicht root, und was daran so schlecht ist. Sorry für meine Unwissenheit 🙈

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            532
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            64
                                            1650
                                            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