Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. IKEA Trådfri The security code is incorrect or

    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

    IKEA Trådfri The security code is incorrect or

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dg19222 @Thomas Braun last edited by

      @thomas-braun
      sag mir was du brauchst und ich schike es dir

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

        @dg19222

        Die Ausgabe von

        iob diag
        
        1 Reply Last reply Reply Quote 0
        • D
          dg19222 last edited by

          @thomas-braun
          ok da komme ich leider net ran dann mus es halt leider ohne den adapter gehn

          danke dir für die mühe

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

            @dg19222 sagte in IKEA Trådfri The security code is incorrect or:

            ok da komme ich leider net ran

            Warum nicht?
            Wenn da nodejs 18.19.0 installiert ist muss ja ein PW für den root vorhanden sein, sonst bekommt man das nicht ordentlich auf das System.
            Und der root kann natürlich neue PW an die user vergeben.

            D 1 Reply Last reply Reply Quote 0
            • D
              dg19222 @Thomas Braun last edited by

              @thomas-braun
              habe das system gestern aufgesetzt ging alles mit meinem pw nur das net

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

                @dg19222

                Dann ist das wohl schief aufgesetzt, denn iob diag funktioniert natürlich grundsätzlich.

                D 1 Reply Last reply Reply Quote 0
                • D
                  dg19222 @Thomas Braun last edited by

                  @thomas-braun ok wenn du meinst komisch das alles andere geht aber trozdem danke

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dg19222 @dg19222 last edited by

                    @dg19222 ich kann es netmal als root ausführen
                    root@Iobrocker:/opt/iobroker# iob diag
                    This script must not be run as root!
                    Please use your standard user!
                    root@Iobrocker:/opt/iobroker# su dg19222
                    dg19222@Iobrocker:/opt/iobroker$ iob diag
                    [sudo] password for dg19222:
                    Sorry, user dg19222 is not allowed to execute '/usr/bin/curl -sLf https://ioer.net/diag.sh --output /home/iobroker/.diag.sh' as iobroker on Iobrocker.

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

                      @dg19222 sagte in IKEA Trådfri The security code is incorrect or:

                      ich kann es netmal als root ausführen

                      Richtig. Das muss ja auch als user ausgeführt werden, direkt als root macht man eh nichts, man meldet sich nicht mal als root an.

                      Dem user 'dg19222' fehlen wohl die notwendigen Rechte.

                      groups
                      

                      sagt?

                      Und genau das meine ich mit 'schief aufgesetzt'.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        dg19222 @Thomas Braun last edited by Homoran

                        @thomas-braun

                        dg19222 cdrom floppy audio dip video plugdev users netdev bluetoot
                        

                        MOD-EDIT: Code in code-tags gesetzt!

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

                          @dg19222

                          Der user fehlt in den Gruppen sudo, dialout und iobroker.

                          Als root:

                          apt update
                          apt install sudo
                          usermod -a -G sudo,dialout,iobroker dg19222
                          exit
                          

                          Den dg19222 aus- und wieder einloggen, niemehr als root herumhampeln.

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            dg19222 @Thomas Braun last edited by Homoran

                            @thomas-braun

                            root@Iobrocker:/opt/iobroker# usermod -a -G sudo,dialout,iobroker dg19222
                            bash: usermod: command not found
                            

                            MOD-EDIT: Code in code-tags gesetzt!

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

                              @dg19222

                              Was haste denn da für ein System rumpeln?

                              useradd -G sudo dg19222
                              useradd -G dialout dg19222
                              useradd -G iobroker dg19222
                              
                              D 1 Reply Last reply Reply Quote 0
                              • D
                                dg19222 @Thomas Braun last edited by

                                @thomas-braun intreasnterwies macht er das auch net wenn ich aber in den ordener usr/sbin gehe sind die befehle da

                                es läuft debian-12.4.0-amd64-netinst auf nem intel laptop

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

                                  @dg19222

                                  Keine Ahnung was du da wie installiert hast, aber bei einer ordentlichen Installation von Debian 'Bookworm' ist das alles schon vorhanden. Inkl. sudo-Recht für den ersten User.

                                  Installier es nochmal und diesmal vergibst du einfach KEIN Passwort für den root, wenn der Installer danach fragt. Dann passt der Rest auch.

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    dg19222 @Thomas Braun last edited by

                                    @thomas-braun problem das die befehle net gehn gelöst dirkt am system gehn se nur net über putty

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

                                      @dg19222

                                      Was auch nicht normal ist...

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        dg19222 @Thomas Braun last edited by

                                        @thomas-braun über powershel geht es reicht dir die zusammenfassung oder alles ?

                                        Thomas Braun D 2 Replies Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @dg19222 last edited by

                                          @dg19222

                                          Bei dem Zustand der Kiste?
                                          Alles...

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            dg19222 @dg19222 last edited by

                                            @dg19222 Copy text starting here:

                                            ======================= SUMMARY =======================
                                                                    v.2023-10-10
                                            
                                            
                                             Static hostname: Iobrocker
                                                   Icon name: computer-laptop
                                                     Chassis: laptop 💻
                                            Operating System: Debian GNU/Linux 12 (bookworm)
                                                      Kernel: Linux 6.1.0-15-amd64
                                                Architecture: x86-64
                                             Hardware Vendor: Medion
                                              Hardware Model: E6222
                                            Firmware Version: 206
                                            
                                            Installation:           native
                                            Kernel:                 x86_64
                                            Userland:               amd64
                                            Timezone:               Europe/Berlin (CET, +0100)
                                            User-ID:                1000
                                            X-Server:               false
                                            Boot Target:            graphical.target
                                            
                                            Pending OS-Updates:     0
                                            Pending iob updates:    1
                                            
                                            Nodejs-Installation:    /usr/bin/nodejs         v18.19.0
                                                                    /usr/bin/node           v18.19.0
                                                                    /usr/bin/npm            10.2.3
                                                                    /usr/bin/npx            10.2.3
                                                                    /usr/bin/corepack       0.22.0
                                            
                                            Recommended versions are nodejs 18.19.0 and npm 10.2.3
                                            Your nodejs installation is correct
                                            
                                            MEMORY:
                                                           total        used        free      shared  buff/cache   available
                                            Mem:            4.0G        2.1G        1.6G        933K        630M        1.9G
                                            Swap:           1.0G          0B        1.0G
                                            Total:          5.0G        2.1G        2.6G
                                            
                                            Active iob-Instances:   21
                                            Active repo(s): stable
                                            
                                            ioBroker Core:          js-controller           5.0.16
                                                                    admin                   6.12.0
                                            
                                            ioBroker Status:        iobroker is running on this host.
                                            
                                            
                                            Objects type: jsonl
                                            States  type: jsonl
                                            
                                            Status admin and web instance:
                                            + system.adapter.admin.0                  : admin                 : Iobrocker                                -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                            + system.adapter.web.0                    : web                   : Iobrocker                                -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                            
                                            Objects:                17781
                                            States:                 15023
                                            
                                            Size of iob-Database:
                                            
                                            28M     /opt/iobroker/iobroker-data/objects.jsonl
                                            8.5M    /opt/iobroker/iobroker-data/states.jsonl
                                            
                                            
                                            
                                            =================== END OF SUMMARY ====================
                                            D 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            938
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            2
                                            34
                                            1208
                                            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