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 @dg19222 last edited by

      @dg19222 Node is v18.19.0
      npm is v10.2.3

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

        @dg19222

        Und der Rest vom Fest?

        D 1 Reply Last reply Reply Quote 0
        • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            597
                                            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