LINUX - Ethernet MAC HW address ?

LINUX - Ethernet MAC HW address ?

[ Follow Ups ] [ Post Followups ] [ FAQ ]
[ Back to Messages ]

Posted by Pasquale Lambardi on September 17, 2001 at 09:39:35:


I've got this problem:
I have to retrieve from the Ethernet card MAC HW address,
and I made that by the following C line-code:


but this value can be modified by software with the following
ifconfig eth0 down
ifconfig eth0 hw ether 00:00:AA:BB:CC:DD
ifconfig eth0 up
and now by that line-code the output MAC Address is aabbccdd (which is not equal to real HW Address)

Why? Is it a way to retrieve from the Ethernet card MAC HW address not changable by software ?

Best Regards,
Pasquale Lambardi

Follow Ups:

Post a Followup

Please note:
  • Messages must be on the topic of this forum!
  • No posting of requests for cracks, codes, serials, or warez!
  • No posting of illegal software or links to such sites!
  • No use of profanity or inappropriate or offensive language!
  • Spamming is not allowed!
  • We track the IP addresses of forum abusers!
  • Abuse of this forum will be reported to your ISP!
E-Mail (optional):
please note: your e-mail address will be visible in your message.



Optional Link URL:
Link Title:
Optional Image URL: