Read the statement by Michael Teeuw here.
MMM-NetworkScanner help needed
-
@izanbard said in MMM-NetworkScanner help needed:
in this context self has no meaning - add
var self = this;
to the top of the function or replaceself
withthis
self is already defined in the original complete code. the original author @ianperrin will take a look into the latest code (v0.0.2, I presume).
@Mykle1 : For now, I downloaded the previous version (tags v0.0.1 before the official bugs free the new version v0.0.2 fixed/released), and work like a charm.git clone --tags v0.0.1 https://github.com/ianperrin/MMM-NetworkScanner.git
-
@slametps said in MMM-NetworkScanner help needed:
@Mykle1 : For now, I downloaded the previous version (tags v0.0.1 before the official bugs free the new version v0.0.2 fixed/released), and work like a charm.
Very good. :thumbsup:
-
@Mykle1 said in MMM-NetworkScanner help needed:
@slametps said in MMM-NetworkScanner help needed:
@Mykle1 : For now, I downloaded the previous version (tags v0.0.1 before the official bugs free the new version v0.0.2 fixed/released), and work like a charm.
Very good. :thumbsup:
I just fresh cloned the (new) latest version (rather than update/git pull), it is working flawlessly now. Thx to @ianperrin.
-
And easy question I hope you guys can help with – is this module active or passive?
For example, if I take my magic mirror to work to show it off, will this module activly send out network traffic to the network and trigger security alerts (getting me in big trouble)?
I’m hoping the answer is that it only looks for IP and Mac addresses listed in the configuration.
-
@FlatPepsi it is active since arp-scan will executed every updateInterval setting. Of course, it will trigger such a security alert if violate the security policy of your office. No, arp-scan will scan all available devices in the network.
-
@slametps said in MMM-NetworkScanner help needed:
@Mykle1 try to execute the following in shell:
arp-scan -l -q
Compare all the scanned MAC with your MAC device entries in MMM-NetworkScanner.
I have run the command sudo arp-scan -l -q and somehow find only devices that are in the LAN, but no device what is in the WIFI - so unfortunately no mobile. My MM always shows me only “NO DEVICE ONLINE”.
I proceeded as follows:
cd ~ /
sudo apt-get install arp-scancd ~ / MagicMirror / modules
git clone https://github.com/ianperrin/MMM-NetworkScanner.git
cd ~ / MagicMirror / modules / MMM-NetworkScanner
npm installcd ~ / MagicMirror / config
nano config.js{ module: "MMM-NetworkScanner", position: "bottom_right", config: { device: [ { macAddress: "XX:XX:XX:XX:XX:XX", name: "I", icon: "mobile"}, ], showUnknown: true, } },
-
In my case, all the devices on LAN and 2.4 networks are found, while 5ghz network is not seen even through sudo arp-scan -l -q