cosypanther
11-04-2008, 04:37 PM
Hey!
I need your help. When I want to connect to the Network at work, it does
not work, cause of an MAC-filter. So is there a possibility to change the MAC of
my Wizard (XDA mini s)?
After searching a long time, I found this:
Finally changing MAC on the fly is working .
Here are the steps I followed(just detailing them incase someone needs)
Step 1 --> changes to driver
Steps [2-5] from C# application
1) In NDIS Intermediate driver (QueryMiniport function), I made the
following changes
a) When OID is CURRENT_MAC_ADDRESS , open registry , read a
registry name ChangeMAC,
b) if value of ChangeMAC is 1 then read registry value of "NewMAC"
and then convert it appropriately to MAC format
(remove extra unicode characters etc)
c) then do a NDISMoveMemory to current adapters MACaddr field.
d) close registry
2) Set value of ChangeMAC (DWord) to 1
3) Set value of NewMAC (string) to the new mac address
4) Invoke a NDIS_REBIND_ADAPTER (this internally will call
QueryMiniport ) and inturn execute step (1)
5) Set value of ChangeMAC (DWord) to 0
Once again thanks Chris and Paul.
Source: forum.xda-developers.com (http://forum.xda-developers.com/showthread.php?p=1130426#post1130426)
But I don't know what to do exactly :confused:.
Is it possible and how does it work?
cosypanther
I need your help. When I want to connect to the Network at work, it does
not work, cause of an MAC-filter. So is there a possibility to change the MAC of
my Wizard (XDA mini s)?
After searching a long time, I found this:
Finally changing MAC on the fly is working .
Here are the steps I followed(just detailing them incase someone needs)
Step 1 --> changes to driver
Steps [2-5] from C# application
1) In NDIS Intermediate driver (QueryMiniport function), I made the
following changes
a) When OID is CURRENT_MAC_ADDRESS , open registry , read a
registry name ChangeMAC,
b) if value of ChangeMAC is 1 then read registry value of "NewMAC"
and then convert it appropriately to MAC format
(remove extra unicode characters etc)
c) then do a NDISMoveMemory to current adapters MACaddr field.
d) close registry
2) Set value of ChangeMAC (DWord) to 1
3) Set value of NewMAC (string) to the new mac address
4) Invoke a NDIS_REBIND_ADAPTER (this internally will call
QueryMiniport ) and inturn execute step (1)
5) Set value of ChangeMAC (DWord) to 0
Once again thanks Chris and Paul.
Source: forum.xda-developers.com (http://forum.xda-developers.com/showthread.php?p=1130426#post1130426)
But I don't know what to do exactly :confused:.
Is it possible and how does it work?
cosypanther