Page 31 of 44

Re: [How-To] Alternatives of Samsung WiFi Link Stick

Posted: Mon Jan 09, 2012 9:07 am
by nspierbundel
Ok if I read e2p I get this:

Code: Select all

ra0       e2p:
[0x0004]:0x0834  
ra0       e2p:
[0x0005]:0x0408  
ra0       e2p:
[0x0006]:0x3104  
ra0       e2p:
[0x0007]:0x0031  
ra0       e2p:
[0x0008]:0x9385  
ra0       e2p:
[0x0009]:0x0093  
which of these do I need to change to change mac ?

ty
Daniel

Re: [How-To] Alternatives of Samsung WiFi Link Stick

Posted: Mon Jan 09, 2012 9:58 am
by Aloyz
Why did you read it byte to byte? e2p returns word (double byte)

You have to use:
iwpriv ra0 e2p 04
iwpriv ra0 e2p 06
iwpriv ra0 e2p 08

and check if it confirms with your MAC address in byte order. Example:
if your mac is: 34-08-04-31-85-93 you will get:

iwpriv ra0 e2p 04 -> 0x0834
iwpriv ra0 e2p 06 -> 0x3104
iwpriv ra0 e2p 08 -> 0x9385

If it is eguals your original MAC address use
iwpriv ra0 e2p 04=7CE4
iwpriv ra0 e2p 06=31F9

So the first 3 bytes will change to Samsung prefix. Dunno why you want to do that, i think that samsung does not check MAC address yet.

Re: [How-To] Alternatives of Samsung WiFi Link Stick

Posted: Mon Jan 09, 2012 10:45 am
by nspierbundel
thanx for explaining
dont want to use it for samsung :mrgreen: I have another project wich need changed mac.

Daniel

Re: [How-To] Alternatives of Samsung WiFi Link Stick

Posted: Mon Jan 09, 2012 11:29 am
by nspierbundel
hi checked it,
however changing the mac adress doesnt work so easy,
numners are changed but not all are ok

f4:7e:ff:ff:xx:xx
iwpriv ra0 e2p 04=7CE4
iwpriv ra0 e2p 06=31F9

any idea what went wrong ?

Re: [How-To] Alternatives of Samsung WiFi Link Stick

Posted: Mon Jan 09, 2012 12:14 pm
by Aloyz
Please show output:
iwpriv ra0 e2p 04

iwpriv ra0 e2p 04=0x7CE4

iwpriv ra0 e2p 04

I want to see what was before e2p and what happend after it.

I write from my memory becouse i'm at work. I can VNC to VM but dongle is not atached to host.

Re: [How-To] Alternatives of Samsung WiFi Link Stick

Posted: Mon Jan 09, 2012 1:02 pm
by nspierbundel

Code: Select all

root@lappie:/home/daniel# iwpriv ra0 e2p 04
ra0       e2p:
[0x0004]:0x7EF4

root@lappie:/home/daniel# iwpriv ra0 e2p 04=0x7CE4
ra0       e2p:04=0x7CE4

root@lappie:/home/daniel# iwpriv ra0 e2p 04
ra0       e2p:
[0x0004]:0x7EF4

Re: [How-To] Alternatives of Samsung WiFi Link Stick

Posted: Mon Jan 09, 2012 2:54 pm
by Aloyz
you do all ok, maybe your cards bios is somehow shadowed in ram? Or it has write protected eeprom? It can be a matter of drivers too.

What card (model, revision, pid, vid) are you trying to flash? It could be a hint what not to buy for others.

Re: [How-To] Alternatives of Samsung WiFi Link Stick

Posted: Mon Jan 09, 2012 3:16 pm
by nspierbundel
It is a dlink dwa 140 rev b2

at first it changed the mac address values but seems locked or write protected now
mac address is partly changed but not correct values
I already reinsmodded the driver
will try a reboot

reboot didn`t worked

daniel

Re: [How-To] Alternatives of Samsung WiFi Link Stick

Posted: Mon Jan 09, 2012 4:34 pm
by nspierbundel
ok just tried to change pid /vid
this is also written different in eeprom from what I typed. change back isn`t working.
really strange behaviour.
maybe eeprom is bad or driver is corrupted

Daniel

Re: [How-To] Alternatives of Samsung WiFi Link Stick

Posted: Mon Jan 09, 2012 4:59 pm
by Aloyz
IMHO driver is corrupted. Had simmilar problem on live ubuntu machine, on VM with xbunut worked like a charm. 2011_0719 driver worked ok. On real machine some other driver didn't change my pid and vid but made whole card dead. Maybe i will upload VM on net so you can try to with it.