mac2ven - look up the vendor to a mac address

Synopsis

This script can look up one or more vendors to a list of MAC addresses:
  • mac2ven <MAC> [..]

Motivation

Doing this lookup using "grep" seemed too slow. This is at least twice as fast. If you look up more than one MAC at a time it will be a lot faster.

Requirements

Perl5, DBI, DBD::SQLite and a MAC address.

Installation

  1. Copy mac2ven somewhere into your $PATH.
  2. Copy etherdata.db into /var/db/.
If mac2ven can't find /var/db/etherdata.db it will attempt to create it by fetching the oui data from standards.ieee.org.

Downloads

The files:

License

You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.