[gull] récupérer l'adresse MAC sous Linux

Galland Gregoire gregoire.galland at hispeed.ch
Mon Oct 23 10:51:09 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ifconfig -a te donne-t-il qqchose?
Greg
Jean-Eric Cuendet (ML) wrote:
>
>
> Lol Zimmerli wrote:
>> Hello,
>>
>> "Jean-Eric Cuendet (ML)" <jec at ml1.jesc.ch> écrit/wrote:
>>> Comment faire pour récupérer l'adresse MAC sous Linux? Y-a-t-il
>>> un outil? ifconfig? Ou une entrée dans /proc? Ce serait pour le
>>> kernel 2.6
>>
>> ifconfig, oui, sous HWaddr
>
> Oui, merci, mais je me suis mal fait comprendre. Cela marche quand
> l'interface est configurée, mais si ifconfig ne me renvoie rien
> (seulement l'interface locale 'lo'), comment récupérer la mac
> address? Le driver (une 3c59x) se charge correctement mais
> impossible de configurer la carte. Je pense qu'il faut que
> j'obtienne la mac address (mais ifconfig me donne rien) pour
> pouvoir la configurer. Une autre idée? -jec
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFPIJ8I8gmGeMTr0sRAhbRAKCLPTVBEVjGC6wjSEnYzP4YJ3RRcQCeJmAO
8dVAPN7Pt1DAJyciGxV6uEc=
=RAHf
-----END PGP SIGNATURE-----




More information about the gull mailing list