amt has asked for the wisdom of the Perl Monks concerning the following question:
Gentlemen,
I am working on a script that needs to report the MAC address of an interface, as well as other specific information, back to a subnet allocation database. The purpose of this is to automate the entry of this information into the new database format.
Is there a default module for ifconfig(8)? I have found Net::Interface, but that isn't a default module. Filesystem size is a major issue, so module installation isn't an option unless absolutely crucial. Is there a module in the IO class of modules, or a hack, considered system() and parsing, but looking for something neater.
Is there a default module for ifconfig(8)? I have found Net::Interface, but that isn't a default module. Filesystem size is a major issue, so module installation isn't an option unless absolutely crucial. Is there a module in the IO class of modules, or a hack, considered system() and parsing, but looking for something neater.
amt
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: MAC Address of An Interface
by tachyon (Chancellor) on Sep 08, 2004 at 05:29 UTC | |
by amt (Monk) on Sep 08, 2004 at 12:52 UTC | |
Re: MAC Address of An Interface
by hsinclai (Deacon) on Sep 08, 2004 at 03:00 UTC | |
Re: MAC Address of An Interface
by JSchmitz (Canon) on Sep 08, 2004 at 04:01 UTC | |
Re: MAC Address of An Interface
by Rhys (Pilgrim) on Sep 08, 2004 at 12:00 UTC | |
by sintadil (Pilgrim) on Sep 09, 2004 at 01:31 UTC |
Back to
Seekers of Perl Wisdom