[How-To] Alternatives of Samsung WiFi Link Stick

This forum is for information related with B series hardware instead of firmware/software.
Locked

nspierbundel
Posts: 84
Joined: Thu Sep 29, 2011 3:08 pm

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

Post 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
Aloyz
Posts: 38
Joined: Sun Jan 01, 2012 11:21 am
Location: Poland

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

Post 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.
nspierbundel
Posts: 84
Joined: Thu Sep 29, 2011 3:08 pm

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

Post by nspierbundel »

thanx for explaining
dont want to use it for samsung :mrgreen: I have another project wich need changed mac.

Daniel
nspierbundel
Posts: 84
Joined: Thu Sep 29, 2011 3:08 pm

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

Post 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 ?
Aloyz
Posts: 38
Joined: Sun Jan 01, 2012 11:21 am
Location: Poland

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

Post 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.
nspierbundel
Posts: 84
Joined: Thu Sep 29, 2011 3:08 pm

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

Post 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
Aloyz
Posts: 38
Joined: Sun Jan 01, 2012 11:21 am
Location: Poland

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

Post 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.
nspierbundel
Posts: 84
Joined: Thu Sep 29, 2011 3:08 pm

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

Post 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
nspierbundel
Posts: 84
Joined: Thu Sep 29, 2011 3:08 pm

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

Post 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
Aloyz
Posts: 38
Joined: Sun Jan 01, 2012 11:21 am
Location: Poland

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

Post 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.

Locked

Return to “[B] Hardware”