[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: MAC address



Yes, I did mean local network. Thanks for the info.


From: "Reuben D. Budiardja" <techlist voyager phys utk edu>
Reply-To: redhat-list redhat com
To: redhat-list redhat com
Subject: Re: MAC address
Date: Fri, 5 Mar 2004 10:21:46 -0500

On Friday 05 March 2004 09:22 am, Iain Robertson wrote:
> Is there a linux system call or fortran routine which will output the MAC
> address on a network card?

did you mean on your local network card?

run '/sbin/ifconfig'

you may have to parse the output just to get the MAC address (it'd be a real
pain in fortran though). I don't know any better way.

RDB
--
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
---------------------------------------------------------
"To be a nemesis, you have to actively try to destroy
something, don't you? Really, I'm not out to destroy
Microsoft. That will just be a completely unintentional
side effect."
                 - Linus Torvalds -


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]