MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Magic Mirror Schlafmodus trotz* Powermanagement off*

    Troubleshooting
    2
    9
    226
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      djuscha last edited by

      Hi Community, hab mein MagicMirror neu aufgesetzt. Unter anderem hab ich Telegram Modul drin.
      Als Betriebssystem musste ich Buster für mein Pi nehmen. Solange der Raspi am Netzwerkkabel angeschlossen ist läuft alles gut. Wenn ich aber über den Wlanadapter mit Inet verbinde hab ich verschiedene Fehler.
      Das Sagt mir mein Telegrambot.

      Ich bin aus dem Tiefschlaf aufgewacht.
      Error: EFATAL
      Description: No internet?
      

      Oder ich hatte auch

      [Warning] An error has occurred!
      Error:502
      Description:Bad Getaway
      

      Meistens aber die erste Fehlermeldung. Und der News Modul zeigt Meldung kein Internet.
      Ich glaube mein Wlanadapter geht in den Schlafmodus.
      Wenn ich iwconfig eingebe. Steht die Meldung Powermanagement off
      Das hab ich auch noch probiert

      sudo nano /etc/network/interfaces
      allow-hotplug wlan0
      iface wlan0 inet manual
      post-up iw wlan0 set power_save off
      

      Jetzt läuft der MMirror länger aber steigt trotzdem mal aus 
      Ich hab WlanAdapter von Edimax , also hab ich auch das probiert

      sudo nano /etc/modprobe.d/8192cu.conf
      options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
      

      Fehler ist immer noch da. Jetzt weiss ich nicht mehr was ich machen mus 😞

      M 1 Reply Last reply Reply Quote 0
      • M
        MMRIZE @djuscha last edited by

        @djuscha
        Leider ist meine Deutsche nicht so gut.

        RPI’s WLAN sometimes go to sleep and never wakes automatically.
        Maybe this would be help.

        > sudo iw dev wlan0 set power_save off
        

        wlan0 might be your WLAN adapter name… It might be different by your setup.

        1 Reply Last reply Reply Quote 0
        • D
          djuscha last edited by

          Thanks for the answer, I can also speak English with Google 🙂
          I’ll try that now and let you know if it works

          @MMRIZE said in Magic Mirror Schlafmodus trotz* Powermanagement off*:

          RPI’s WLAN sometimes go to sleep and never wakes automatically.

          I understand that, but how do I make sure it doesn’t fall asleep

          
          that shows my iwconfig
          
          pi@raspberrypi:~ $ iwconfig
          lo        no wireless extensions.
          
          eth0      no wireless extensions.
          
          wlan0     IEEE 802.11  ESSID:"FRITZ!Box Fon WLAN 7490"
                    Mode:Managed  Frequency:2.467 GHz  Access Point: FC:EC:AA:32:ED:5A
                    Bit Rate=72.2 Mb/s   Tx-Power=20 dBm
                    Retry short limit:7   RTS thr=2347 B   Fragment thr:off
                    Power Management:off
                    Link Quality=54/70  Signal level=-56 dBm
                    Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
                    Tx excessive retries:0  Invalid misc:644   Missed beacon:0
          
          
          1 Reply Last reply Reply Quote 0
          • D
            djuscha last edited by

            > sudo iw dev wlan0 set power_save off
            

            I tried that too 😞 Mirror goes to sleep anyway, only later

            M 2 Replies Last reply Reply Quote 0
            • M
              MMRIZE @djuscha last edited by MMRIZE

              @djuscha
              Leider.
              Which RPI device / OS are you using? (detailly)

              1 Reply Last reply Reply Quote 0
              • D
                djuscha last edited by

                @MMRIZE said in Magic Mirror Schlafmodus trotz* Powermanagement off*:

                Which RPI device / OS are you using? (detailly)

                Raspberry Pi 2 Model B V1.1
                OS Buster Raspberry Pi OS (Legacy) with desktop Debian version: 10 (buster)
                Image 2022-09-22-raspios-buster-armhf.img

                M 1 Reply Last reply Reply Quote 0
                • M
                  MMRIZE @djuscha last edited by MMRIZE

                  @djuscha
                  Check your previous trial with this.

                  sudo nano /etc/modprobe.d/8192cu.conf
                  options 8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1
                  
                  D 1 Reply Last reply Reply Quote 0
                  • M
                    MMRIZE @djuscha last edited by

                    @djuscha
                    Ah in that case see https://github.com/MichMich/MagicMirror/wiki/Configuring-the-Raspberry-Pi#disable-wifi-power-save

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

                      @MMRIZE
                      I know this site and I tried the first one.
                      But I have Buster and it says something about Jessy and Stretch, what goes with Buster

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy