• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

No Internet Connection Magic mirror

Scheduled Pinned Locked Moved General Discussion
10 Posts 4 Posters 2.3k Views 4 Watching
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.
  • F Offline
    Fab
    last edited by Jan 19, 2022, 10:53 AM

    Hello,

    I have a problem and I hope to get a Solution for it.
    Since a week the Magic Mirror has no Internet connection.

    The Mirror finds the WiFi but it doesn‘t connect to the WiFi.

    Because of that the SSH doesn‘t work too.

    Did someone had this Problem or had someone a solution for this problem?

    Trank you in advance.

    Best regards

    S C 2 Replies Last reply Jan 19, 2022, 12:50 PM Reply Quote 0
    • S Away
      sdetweil @Fab
      last edited by Jan 19, 2022, 12:50 PM

      @fab what changed a week ago?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      F 1 Reply Last reply Jan 19, 2022, 4:26 PM Reply Quote 0
      • C Offline
        CFenner @Fab
        last edited by Jan 19, 2022, 1:48 PM

        @fab I have (or had in the past) the issue that my wifi device hangs up after some amount for uptime (maybe a week). Never found the reason for that though.

        S F 2 Replies Last reply Jan 19, 2022, 1:58 PM Reply Quote 0
        • S Away
          sdetweil @CFenner
          last edited by Jan 19, 2022, 1:58 PM

          @cfenner I have one location that used to be a problem all the time, usually every other day would drop wifi and never reconnect

          changed to a mesh router that puts a point near that location and stable since.

          also have one sbc, Jetson nano that doesn’t work reliably w any USB wifi adapter. but change to an Ethernet extender and solid as a rock.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • F Offline
            Fab @sdetweil
            last edited by Jan 19, 2022, 4:26 PM

            @sdetweil I did not change anything. I added a new module (MMM-Globe) . In the setting there are no changes.

            1 Reply Last reply Reply Quote 0
            • F Offline
              Fab @CFenner
              last edited by Jan 19, 2022, 4:33 PM

              @cfenner What did you do? Did you recreate the mirror when you didn’t find the problem?

              C 1 Reply Last reply Jan 19, 2022, 4:37 PM Reply Quote 0
              • C Offline
                CFenner @Fab
                last edited by Jan 19, 2022, 4:37 PM

                @fab the waf dropped to low that I teared down the mirror for 3 years ;)
                Now I reinstalled it and it’s running for a week now.

                F 2 Replies Last reply Jan 19, 2022, 5:06 PM Reply Quote 0
                • F Offline
                  Fab @CFenner
                  last edited by Fab Jan 19, 2022, 5:06 PM Jan 19, 2022, 5:06 PM

                  @cfenner i think I must reinstall the mirror too. I try some options, but when these does not solve the problem, I will do it like you ;-)

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    Fab @CFenner
                    last edited by Jan 20, 2022, 6:35 AM

                    @cfenner I hope it works after that. I’d say it’s independent of the MM since the Pi itself doesn’t connect and not really just the mirror.
                    I’ll just test it and see if it works.
                    There’s probably nothing else left.
                    I will also test to plug in a WiFi repeater nearby to see if the signal is too weak.

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      nickthebeer
                      last edited by Jan 23, 2022, 7:03 AM

                      I had a similar issue whereby my connection kept dropping, my issue was due to poor WiFi connectivity so I created a simple bash script to restart the network connection every so often to bring it back onto the network. Here’s how I did it.

                      #!/bin/bash
                      
                      # The IP for the server you wish to ping (8.8.8.8 is a public Google DNS server)
                      SERVER=192.168.240.254
                      
                      # Only send two pings, sending output to /dev/null
                      ping -c2 ${SERVER} > /dev/null
                      
                      # If the return code from ping ($?) is not 0 (meaning there was an error)
                      if [ $? != 0 ]
                      then
                          # Restart the wireless interface
                          ifconfig wlan0 down
                          ifconfig wlan0 up
                      

                      This was inside a file within my home area, the IP address on line 4 is of my router (I couldn’t see a need to ping an internet endpoint in my scenario). The last two lines may need amending depending on which network interface your MM is using. Once that file is created insert a crontab (crontab -e) and insert the following to restart the network connection every 30 minutes (adjust to your needs)

                      */30 * * * *   root    /home/pi/scripts/wifi_rebooter.sh
                      
                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 / 1
                      • First post
                        10/10
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy