From 7743c41f1036a8a058ef284d1b75665f68a507b0 Mon Sep 17 00:00:00 2001 From: aceberg <1502200+aceberg@users.noreply.github.com> Date: Tue, 22 Apr 2025 19:35:53 +0700 Subject: [PATCH] FAQ.md --- FAQ.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 FAQ.md diff --git a/FAQ.md b/FAQ.md new file mode 100644 index 0000000..3b80092 --- /dev/null +++ b/FAQ.md @@ -0,0 +1,18 @@ +# FAQ + +## Allow custom MAC vendor overrides +Issues [#169](https://github.com/aceberg/WatchYourLAN/issues/169), [#185](https://github.com/aceberg/WatchYourLAN/issues/185) + +WatchYourLAN is using `arp-scan`, so most of its options are available to WYL users. + +1. Prepare a [mac-vendor.txt](https://manpages.debian.org/testing/arp-scan/mac-vendor.5.en.html) file with additional MACs and put it in a mounted WYL directory. +2. If you are using `IFACES` variable to define interfaces, add path to mac-vendor.txt to `ARP_ARGS` +```yaml +arp_args: --macfile=/data/WatchYourLAN/mac-vendor.txt +``` +3. For interfaces defined in `ARP_STRS` add the same directly in the beginning of `ARP_STRS` string +```yaml +arp_strs: + - --macfile=/data/WatchYourLAN/mac-vendor.txt -gNx 10.144.0.1/24 -I eth0 +``` +4. **WARNING!** To see an updated vendor, you'll have to delete host and wait for the next scan. \ No newline at end of file