----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 19, 2003 6:24 AM Subject: How to retrieve a MAC address
> Hi All, > > I need to retrieve the MAC address of my local system from a Perl script. > I'm running RedHat 7.2. > > Can anyone point me to some sample code for accomplishing this? I've Googled > for quite a while, and come up empty. > > Alternatively, does anyone know where the MAC is stored on RedHat 7.2? > > Thanks, > > Aaron > Hi - Attached is a small perl script (ifinfo) I wrote to parse ifconfig. It gives most of the information from ifconfig, including MAC. It works on rh9. Aloha => Beau;
ifinfo
Description: Binary data
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]