Skip to content

[Bug] network interface #6

@TimerWolf

Description

@TimerWolf

Another problem i have been facing for a longer time then my other report (#5) is that the module both this and MMM-NetworkScanner when i was using that one did not find my online devices and i could not figure out why.

I have always use the "Raspberry Pi" on "WiFi" connection and have not bother to mess with it.

But today i found out about the "arp-scan" command line option "--interface=<s> or -I" and if you modify this line and change it to the fallowing

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

var arp = sudo(['arp-scan', '--interface=wlan0', '-q', arpHosts]);

It works perfect for me and the problem is fixed, so maybe make a "default" that uses the "defult" way as it was or the option to add "wlan0" or whatever your interface is that you are using if it not work with the default way.

The arp-scan documentation says the fallowing

The network interface to use can be specified with the --interface option. If this option is not present, arp-scan will search the system interface list for the lowest numbered, configured up interface (excluding loopback).

I would think that was what was happening to me, but how would you know that if it¨s not documented ?

Open terminal and write "ifconfig" to find out the name of the interface that is connected to the router and put it in the "variable" for interface in "MMM-MacAddressScan"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions