arp-scan
arp-scan copied to clipboard
get-oui from Fedora package arp-scan-1.9.7-7.fc37 fails with unhelpful message due to unmet dependency
After installing arp-scan
from the binary package arp-scan-1.9.7-7.fc37
on a Fedora 37 system after a "minimal install", get-oui
fails:
[rsh@fedora ~]$ get-oui -v
Fetching OUI data from http://standards-oui.ieee.org/oui/oui.txt
Could not get OUI data from http://standards-oui.ieee.org/oui/oui.txt
After changing get-oui
so it displays the underlying error rather than the unhelpful "couldn't do it" message, we get:
[rsh@fedora ~]$ get-oui -v
Fetching OUI data from http://standards-oui.ieee.org/oui/oui.txt
501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed) at /usr/sbin/get-oui line 87.
Installing perl-LWP-Protocol-https
solves the problem:
[rsh@fedora ~]$ get-oui -v
Fetching OUI data from http://standards-oui.ieee.org/oui/oui.txt
Fetched 5343714 bytes
Opening output file ieee-oui.txt
33095 OUI entries written to file ieee-oui.txt
[rsh@fedora ~]$ ls -l ieee-oui.txt
-rw-r--r--. 1 rsh rsh 1000513 Dec 18 13:43 ieee-oui.txt
[rsh@fedora ~]$ wc -l ieee-oui.txt
33115 ieee-oui.txt
Error message change implemented in PR https://github.com/royhills/arp-scan/pull/116