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

Re: MAC address



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 -




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