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.

    MMM-NetworkScanner-loading...indefinitely

    Scheduled Pinned Locked Moved Solved Troubleshooting
    54 Posts 6 Posters 15.0k Views 7 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.
    • S Offline
      sdetweil @jthirasilpa
      last edited by

      @jthirasilpa are those wireless? The arp scan only did Ethernet connected devices

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • J Offline
        jthirasilpa
        last edited by jthirasilpa

        Those devices are ethernet connected. Also, I was just checking the logs and there are a lot of ip addresses and:

        0|mm       | [20:52:38.389] [LOG]    MMM-NetworkScanner is performing arp-scan
        0|mm       | [20:52:38.419] [LOG]    MMM-NetworkScanner is performing ip address scan
        

        but no MAC addresses - which you seem to have in your logs.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jthirasilpa
          last edited by

          After a complete reinstall of MM, I finally managed to resolve this. After reinstalling the original NetworkScanner module and using macaddresses to add to the config.js, I kept getting the “sudo requires your password” message. I went through node_helper.js and the only command that appears to require sudo is arp-scan. So I amended sudoers to allow sudo arp-scan without password using:

          sudo visudo
          

          and then adding:

           # Allow arp-scan without sudo
          username ALL=(ALL) NOPASSWD: /usr/sbin/arp-scan
          

          This allows sudo arp-scan to run without a password, while maintaining password requirements for other sudo commands.

          Many thanks to Sam et. al. for input on this issue.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @jthirasilpa
            last edited by

            @jthirasilpa cool. Thx for the update. Using the updated file w password support should have allowed without sudoers

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • D Offline
              DarkZOne
              last edited by DarkZOne

              Hello,
              i want to use this Module, but i’ve a iphone that is after some time offline when the screen is off. I have a perl script that check into my fritzbox (router) if the iphone connected to the fritzbox.

              how can i add the perl script to mmm-networkscanner?

              var arp = sudo([‘arp-scan’, ‘-q’, arpHosts]);

              like var arp = sudo([‘perlscript.pl’]); ??

              Thanks!!

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 3
              • 4
              • 5
              • 6
              • 6 / 6
              • First post
                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