[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTimW247sL7mVKChOVjGFTcSA4mYZhwXdasfaYzXN@mail.gmail.com>
Date: Sun, 9 Jan 2011 22:39:13 +0800
From: Chin Shi Hong <cshong87@...il.com>
To: netdev@...r.kernel.org
Subject: Reset hardware address (MAC address) in c++
Dear All,
My final year project is all about MAC address spoofing.
I do know that I can reset the MAC address of my network adapter to
its original by rebooting the Linux operating system I am using.
My Linux distribution is using NetworkManager. On Wireless network,
each time after I change the MAC address of my wireless network
adapter and then connect to the wireless network, and then once I
disconnect from wireless network, NetworkManager will reset the MAC
address of my wireless network adapter to its original.
I had programmed my application to change the MAC address. Now, trying
to implement the feature that reset the MAC address. I don't know
whether NetworkManager record down the original MAC address of my
Network Adapter or not. But, assume if NetworkManager is able to reset
the MAC address of my network adapter to its original MAC address
without recording the original MAC address and without reboot, then my
application must be able to do the same.
So, can anyone tell me the C++ codes that is able to reset the MAC
address, or give me some ideas on this, please?
Regards,
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists