MAC Address on Linux

Pierre Sahores psahores at easynet.fr
Sat Oct 9 18:20:00 EDT 2004


Hi,

Use the "ifconfig -a" command to collect all the availables interfaces 
informations.

Best,

Le 9 oct. 04, à 23:20, Alex Tweedly a écrit :

> At 15:18 09/10/2004 -0500, Ken Ray wrote:
>> (Sorry about that last one)
>>
>> Thanks, Mark... I tried this in my copy of RedHat 9, and I don't get
>> anything with "HWaddr" in /sbin/ifconfig. When I looked at Mark 
>> Waddingham's
>> approach of doing "cat /proc/net/arp", I didn't get anything either. 
>> The
>> only thing I got with /sbin/ifconfig is the localhost address 
>> (127.0.0.1).
>>
>> So perhaps it's not as universal as we'd think... any suggestions for
>> getting MAC address in RedHat 9?
>
> Stupid question - but are you sure you had an ethernet interface up 
> and running on the Redhat9 box when you tried this ?
>
> Getting only localhost back is what you'd expect if there is no active 
> ethernet interface, and the /proc/net/arp method would similarly give 
> you nothing back.I don't have a copy of Redhat - but I know that back 
> at version 6 it supported ifconfig as needed for this method to work.
>
> -- Alex.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
-- 
Bien cordialement, Pierre Sahores

100, rue de Paris
F - 77140 Nemours

psahores+ at +easynet.fr
sahoresp+ at +mac.com

GSM:   +33 6 03 95 77 70
Pro:      +33 1 64 45 05 33
Fax:      +33 1 64 45 05 33

<http://www.sahores-conseil.com/>

WEB/EAI services & ACID DB over IP
"Mutualiser les deltas de productivité"



More information about the use-livecode mailing list