Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Tester gesucht] WireGuard UI Installer

    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

    [Tester gesucht] WireGuard UI Installer

    This topic has been deleted. Only users with topic management privileges can see it.
    • CrunkFX
      CrunkFX Forum Testing @Guest last edited by

      @ilovegym Ich hatte diesbezüglich schon Kontakt mit @Scrounger und bin aktuell dabei das Ganze umzusetzen. Gedacht ist das wieder als Installer. Ich gebe Bescheid wenn ich mehr weiß 😉

      ? 1 Reply Last reply Reply Quote 2
      • ?
        A Former User @CrunkFX last edited by

        @crunkfx ah, super, dann muessen nicht viele das Rad neu erfinden... 🙂

        Ich habe in den wireguard-tools das script hier gefunden, damit bekommt man schonmal die Daten von wg als json, wenn ich das in Linuxcontrol ausfuehren lassen, dann bekomm ich die json in den iobroker, schonmal die halbe Miete..

        Am besten man kastriert das json script nur soweit, dass man die Daten die wir brauchen lassen und den Rest rausnimmt. Irgendwo muss man halt den key zu einem Usernamen assignen.

        Aber nur so ne Idee...

        1 Reply Last reply Reply Quote 0
        • dslraser
          dslraser Forum Testing Most Active @CrunkFX last edited by

          @crunkfx sagte in [Tester gesucht] WireGuard UI Installer:

          @dslraser Ja das sollte gehen, wenn nicht bitte Melden 😉

          Ich habe jetzt das hier installiert

          Bildschirmfoto 2021-11-26 um 20.11.20.png

          Mit dem Installer vom 1.Beitrag komme ich nicht weiter. Endet immer mit Uups....Fehler (oder so ähnlich)
          Leider läuft das so schnell durch, das ich nichtmal einen Screenshot hinbekomme.

          Mit den Installationsbefehlen aus dem anderen Thread (Proxmox) komme ich mit Fehlermeldungen zwischendurch bis zum QR Code, kann aber dann die Seite IP:5000 nicht aufrufen ?

          CrunkFX 1 Reply Last reply Reply Quote 0
          • CrunkFX
            CrunkFX Forum Testing @dslraser last edited by

            @dslraser Mach mal:

            cd /opt/wireguard-ui
            
            docker-compose up
            
            dslraser 1 Reply Last reply Reply Quote 0
            • dslraser
              dslraser Forum Testing Most Active @CrunkFX last edited by

              @crunkfx sagte in [Tester gesucht] WireGuard UI Installer:

              docker-compose up

              Finished!
              
              The client configuration is available in: /root/test.conf
              New clients can be added by running this script again.
              root@tinkerboard:~# cd /opt/wireguard-ui
              root@tinkerboard:/opt/wireguard-ui# docker-compose up
              Removing wgui
              Starting e99836ca4efb_wgui ... error
              
              ERROR: for e99836ca4efb_wgui  Cannot start service wg: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: process_linux.go:458: setting cgroup config for procHooks process caused: can't load program: function not implemented: unknown
              
              ERROR: for wg  Cannot start service wg: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: process_linux.go:458: setting cgroup config for procHooks process caused: can't load program: function not implemented: unknown
              ERROR: Encountered errors while bringing up the project.
              root@tinkerboard:/opt/wireguard-ui# 
              
              
              1 Reply Last reply Reply Quote 0
              • CrunkFX
                CrunkFX Forum Testing last edited by

                @dslraser sagte in [Tester gesucht] WireGuard UI Installer:

                setting cgroup config for procHooks process caused: can't load program: function not implemented

                Ich habe leider kein funktionierendes Armbian am laufen aber teste das mal bitte:

                nano /boot/cmdline.txt
                

                ans Ende anfügen:

                systemd.unified_cgroup_hierarchy=0
                

                Neustarten

                cd /opt/wireguard-ui
                
                docker-compose up
                
                dslraser 1 Reply Last reply Reply Quote 0
                • dslraser
                  dslraser Forum Testing Most Active @CrunkFX last edited by

                  @crunkfx sagte in [Tester gesucht] WireGuard UI Installer:

                  docker-compose up

                  leider kein Erfolg

                  root@tinkerboard:~# cd /opt/wireguard-ui
                  root@tinkerboard:/opt/wireguard-ui# docker-compose up
                  Starting e99836ca4efb_wgui ... error
                  
                  ERROR: for e99836ca4efb_wgui  Cannot start service wg: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: process_linux.go:458: setting cgroup config for procHooks process caused: can't load program: function not implemented: unknown
                  
                  ERROR: for wg  Cannot start service wg: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: process_linux.go:458: setting cgroup config for procHooks process caused: can't load program: function not implemented: unknown
                  ERROR: Encountered errors while bringing up the project.
                  root@tinkerboard:/opt/wireguard-ui# 
                  
                  
                  CrunkFX 1 Reply Last reply Reply Quote 0
                  • CrunkFX
                    CrunkFX Forum Testing @dslraser last edited by

                    @dslraser zeig mal bitte den output von:

                    ls /boot
                    
                    dslraser 1 Reply Last reply Reply Quote 0
                    • dslraser
                      dslraser Forum Testing Most Active @CrunkFX last edited by

                      @crunkfx sagte in [Tester gesucht] WireGuard UI Installer:

                      ls /boot

                      root@tinkerboard:/opt/wireguard-ui# cd
                      root@tinkerboard:~# ls /boot
                      armbianEnv.txt                  boot.scr                  dtb                           System.map-5.10.0-9-rt-armmp  uInitrd-5.10.60-rockchip
                      armbian_first_run.txt.template  cmdline.txt               dtb-5.10.60-rockchip          System.map-5.10.60-rockchip   vmlinuz-5.10.0-9-rt-armmp
                      boot.bmp                        config-5.10.0-9-rt-armmp  initrd.img-5.10.0-9-rt-armmp  uInitrd                       vmlinuz-5.10.60-rockchip
                      boot.cmd                        config-5.10.60-rockchip   initrd.img-5.10.60-rockchip   uInitrd-5.10.0-9-rt-armmp     zImage
                      root@tinkerboard:~# 
                      
                      CrunkFX 1 Reply Last reply Reply Quote 0
                      • CrunkFX
                        CrunkFX Forum Testing @dslraser last edited by

                        @dslraser Kannst du einmal das docker Installationsscript Ausführen:

                        curl -fsSL https://get.docker.com | sh
                        
                        dslraser 1 Reply Last reply Reply Quote 0
                        • dslraser
                          dslraser Forum Testing Most Active @CrunkFX last edited by

                          @crunkfx sagte in [Tester gesucht] WireGuard UI Installer:

                          curl -fsSL https://get.docker.com | sh

                          root@tinkerboard:~# curl -fsSL https://get.docker.com | sh
                          # Executing docker install script, commit: 93d2499759296ac1f9c510605fef85052a2c32be
                          Warning: the "docker" command appears to already exist on this system.
                          
                          If you already have Docker installed, this script can cause trouble, which is
                          why we're displaying this warning and provide the opportunity to cancel the
                          installation.
                          
                          If you installed the current Docker package using this script and are using it
                          again to update Docker, you can safely ignore this message.
                          
                          You may press Ctrl+C now to abort this script.
                          + sleep 20
                          + sh -c apt-get update -qq >/dev/null
                          
                          + sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
                          + sh -c curl -fsSL "https://download.docker.com/linux/debian/gpg" | gpg --dearmor --yes -o /usr/share/keyrings/docker-archive-keyring.gpg
                          + sh -c echo "deb [arch=armhf signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian bullseye stable" > /etc/apt/sources.list.d/docker.list
                          + sh -c apt-get update -qq >/dev/null
                          
                          + sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends  docker-ce-cli docker-ce >/dev/null
                          + version_gte 20.10
                          + [ -z  ]
                          + return 0
                          + sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce-rootless-extras >/dev/null
                          + sh -c docker version
                          Client: Docker Engine - Community
                          Version:           20.10.11
                          API version:       1.41
                          Go version:        go1.16.9
                          Git commit:        dea9396
                          Built:             Thu Nov 18 00:37:17 2021
                          OS/Arch:           linux/arm
                          Context:           default
                          Experimental:      true
                          
                          Server: Docker Engine - Community
                          Engine:
                           Version:          20.10.11
                           API version:      1.41 (minimum version 1.12)
                           Go version:       go1.16.9
                           Git commit:       847da18
                           Built:            Thu Nov 18 00:35:33 2021
                           OS/Arch:          linux/arm
                           Experimental:     false
                          containerd:
                           Version:          1.4.12
                           GitCommit:        7b11cfaabd73bb80907dd23182b9347b4245eb5d
                          runc:
                           Version:          1.0.2
                           GitCommit:        v1.0.2-0-g52b36a2
                          docker-init:
                           Version:          0.19.0
                           GitCommit:        de40ad0
                          
                          ================================================================================
                          
                          To run Docker as a non-privileged user, consider setting up the
                          Docker daemon in rootless mode for your user:
                          
                             dockerd-rootless-setuptool.sh install
                          
                          Visit https://docs.docker.com/go/rootless/ to learn about rootless mode.
                          
                          
                          To run the Docker daemon as a fully privileged service, but granting non-root
                          users access, refer to https://docs.docker.com/go/daemon-access/
                          
                          WARNING: Access to the remote API on a privileged Docker daemon is equivalent
                                  to root access on the host. Refer to the 'Docker daemon attack surface'
                                  documentation for details: https://docs.docker.com/go/attack-surface/
                          
                          ================================================================================
                          
                          
                          

                          Ich installiere WG mit Deinem Script jetzt dann nochmal ? (hatte ich gerade deinstalliert)

                          CrunkFX 1 Reply Last reply Reply Quote 0
                          • CrunkFX
                            CrunkFX Forum Testing @dslraser last edited by

                            @dslraser Versuch nochmal
                            Reboot

                            cd /opt/wireguard-ui
                            
                            docker-compose up
                            
                            dslraser 1 Reply Last reply Reply Quote 0
                            • dslraser
                              dslraser Forum Testing Most Active @CrunkFX last edited by

                              @crunkfx sagte in [Tester gesucht] WireGuard UI Installer:

                              docker-compose up

                              root@tinkerboard:~# cd /opt/wireguard-ui
                              root@tinkerboard:/opt/wireguard-ui# docker-compose up
                              ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
                              
                              If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
                              
                              CrunkFX 1 Reply Last reply Reply Quote 0
                              • CrunkFX
                                CrunkFX Forum Testing @dslraser last edited by

                                @dslraser Das ist leider ein armbian Problem, ich werde bei mir ein Test Setup aufbauen und den installer erweitern. Wenn ich es schaffe noch bis Tagesende

                                Scrounger dslraser 2 Replies Last reply Reply Quote 1
                                • Scrounger
                                  Scrounger Developer @CrunkFX last edited by

                                  @crunkfx
                                  Hab es heute auch mal getestet - funktioniert wunderbar, vielen Dank dafür!

                                  1 Reply Last reply Reply Quote 0
                                  • dslraser
                                    dslraser Forum Testing Most Active @CrunkFX last edited by

                                    @crunkfx sagte in [Tester gesucht] WireGuard UI Installer:

                                    Wenn ich es schaffe noch bis Tagesende

                                    Konntest Du schon was testen?

                                    CrunkFX 2 Replies Last reply Reply Quote 0
                                    • CrunkFX
                                      CrunkFX Forum Testing @dslraser last edited by

                                      @dslraser Ja ich bin aktuell dabei das ganze ohne Docker auszulegen, da das auf den ARM und Proxmox Plattformen nur Probleme macht. Allerdings ist das etwas aufwendiger als gehofft. Ich bin gerade in der Testphase

                                      CrunkFX 1 Reply Last reply Reply Quote 2
                                      • CrunkFX
                                        CrunkFX Forum Testing @CrunkFX last edited by

                                        @crunkfx Mal kurz OffTopic: könnt ihr aktuell auf Github Zugreifen?

                                        IdleBit 1 Reply Last reply Reply Quote 0
                                        • IdleBit
                                          IdleBit @CrunkFX last edited by

                                          @crunkfx Nein ich auch nicht 😞
                                          1b585c82-d296-490b-b7a3-3b1a10f88da5-image.png

                                          1 Reply Last reply Reply Quote 1
                                          • CrunkFX
                                            CrunkFX Forum Testing @dslraser last edited by

                                            @dslraser @BBTown
                                            Ich habe nun den Installer komplett Entdockert😳(Steht so bestimmt im Duden!).
                                            Wer testen möchte und bereits die Docker Variante am laufen hat macht folgendes:

                                            docker stop wgui
                                            
                                            docker rm wgui
                                            

                                            Anschließend für alle:

                                            wget https://raw.githubusercontent.com/KleSecGmbH/ioBroker/dev/wireguard/installer-wgui.sh -O installer-wgui.sh && bash installer-wgui.sh
                                            

                                            Die Konfigdaten liegen im Ordner:

                                            /opt/wireguard-ui/db
                                            

                                            wer damit spielen möchte.

                                            Negalein dslraser BBTown 4 Replies Last reply Reply Quote 2
                                            • First post
                                              Last post

                                            Support us

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

                                            567
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            68
                                            4566
                                            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