Re: Re: MAC address

Alberto Narduzzi <[email protected]> Thu, 31 Mar 2005 08:40:08 +0200
Newsgroups gmane.comp.lang.delphi.kylix
Organization MEP SpA
Message-ID <[email protected]>
hi,

> have you looked in the /proc/ 'directory' ?. all relevant network info
> should be there, listable in simple text format.

well, what I first did was strace-ing ifconfig... but I've seen some 
differencies from my PC and another one; that is, ifconfig appears to check 
(try to open) for a number of files (maybe also in a certain ordrer...) to 
gather the information it needs...
For instance, on my PC it parses the "file" /proc/net/if_inet6 while I cannot 
remember what was on the other PC.
So, is there any file I could check (maybe inside /etc ? ) to see what I need 
to parse in the /proc/net/ directory?

TIA
A.

-- 
Alberto Narduzzi
MEP SpA - Software dept.



-------------------------------------------------------
Forum / mailing list for Borland Kylix programmers
Our web page:  http://groups.yahoo.com/group/kylixgroup
To join the forum: [email protected]
To unsubscribe:  [email protected]
To post your messages:       [email protected]
To contact the moderator:  [email protected]
------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/KylixGroup/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/