DHD

Guide: Change serial number and MAC address

Recommended Posts

Hi Alligator,

 

this tool would be awesome easy to modify the vender file, but I couldn't get it to run.

 

Inspired by your topic.

 

Vender_edit.jpeg

 

The program opens, I select the vender file and then the message below pops up. To translate: security configuration of the computer doesn't allow the access of a source in another domain. (line 365, row 9) and the script stops.

 

Do you have any idea? how I can solve this?

vender_popup.JPG.c15cd4136662717f1a68b02978a995a7.JPG

Share this post


Link to post
Share on other sites

Hello Community,

 

The checksum for the MACs are calculated (with the formula). there is no Problem for me, but my main question:

how i can calculate the checksum for the serial number?

 

can anyone help me?

 

many grets

 

iceget

Share this post


Link to post
Share on other sites
Do you have any idea? how I can solve this?

 

Error says - the program can not read the file.

Program is running as Administrator?

What localization Windows?

What is a registry "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage\ACP"?

Share this post


Link to post
Share on other sites

I couldn't run it as administrator (at least I don't know how).

 

registry "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage\ACP" is 1252 (German version of Windows 7 64x Enterprise)

Share this post


Link to post
Share on other sites
I couldn't run it as administrator (at least I don't know how).

 

If you want to add the "Run as administrator" item to the

context menu for HTA files or scripts you can do that by hacking the

registry. Here is a reg script that does it for HTA files:

 

Windows Registry Editor Version 5.00

 

[HKEY_CLASSES_ROOT\htafile\shell\runas]

[HKEY_CLASSES_ROOT\htafile\shell\runas\command]

@="C:\\Windows\\system32\\mshta.exe \"%1\" %*"

"IsolatedCommand"="C:\\Windows\\system32\\mshta.exe \"%1\" %*"

Share this post


Link to post
Share on other sites

Excuse me. May I ask why should we edit the serial number for my XPEnology?

 

I can boot/use the original XPEnology img well, I just curious the reasons.

 

Thanks!

Share this post


Link to post
Share on other sites
Hello Community,

 

The checksum for the MACs are calculated (with the formula). there is no Problem for me, but my main question:

how i can calculate the checksum for the serial number?

 

can anyone help me?

 

many grets

 

iceget

 

sure, adding all the ASCII (hexadecimal values) of the serial number string

 

http://www.asciitable.com

 

A = 0x41

B = 0x42

C = 0x43

0 = 0x30

1 = 0x31

....

 

the LSB of the sum is the checksum

 

e.g. the SN = "ABC0000001" <= 10 characters string

 

summation = 0x41 + 0x42 + 0x43 + 0x30 + 0x30 ...... + 0x31 = 0x217

 

checksum = LSB = 17

Share this post


Link to post
Share on other sites
thanks, but how to run the program (hta file)

 

Microsoft HTML Application Host (Mshta.exe)

 

 

thanks

Share this post


Link to post
Share on other sites
Excuse me. May I ask why should we edit the serial number for my XPEnology?

 

I can boot/use the original XPEnology img well, I just curious the reasons.

 

Thanks!

 

to be able to have 2 xpenology on the same network, to test HA for example

Share this post


Link to post
Share on other sites
Hello

 

Sorry to have a noob question, i am under Proxmox and when i am connected to the Syno via winscp,

and i dont have any /volumeUSB1/usbshare

So i don't know where i can find vender file.

 

If someone can help me, it would be glad.

 

Thx

 

Batgod

 

Sorry but I never ever use Proxmox. I think volume name just as same or maybe named with different suffix number (eg. /volumeUSB2/ or /volumeUSB3/...)

 

Well, if you use proxmox, you probably don't mount the img as a usbkey but rather as an IDE drive and get your data drive as SATA drive.

I'll try to check this tomorrow as I also run proxmox kvm for testing xpenology.

Share this post


Link to post
Share on other sites
Dear Community,

 

thanks for this great project. i have coded a new program (vender file patcher).

with this windows software you can patch the vender file within seconds.

created for DSM 4.2 (based on the viewtopic.php?f=2&t=1353).

 

you can download it from http://www.raving.at/.

 

many greets, iceget

 

Thank you!

 

And for convenience can make individual buttons "Rendomize" seriynika and for each MAC address?

Share this post


Link to post
Share on other sites
Dear Community,

 

thanks for this great project. i have coded a new program (vender file patcher).

with this windows software you can patch the vender file within seconds.

created for DSM 4.2 (based on the viewtopic.php?f=2&t=1353).

 

you can download it from http://www.raving.at/.

 

many greets, iceget

 

it is a very useful handy utility, may I suggested that it can read the vender file content first at the 1st time of loading, or has a read button.

 

thanks and regards

Share this post


Link to post
Share on other sites

Hello!

 

I have released version 1.0.0.1.

 

ChangeLog

------------------------------------------------

+ on first start, the vender file will be loaded

+ randomize buttons are added

+ serialnumber can now be edited

 

you can download it from http://www.raving.at/

 

have fun!

 

many greets, iceget

Share this post


Link to post
Share on other sites
Hello!

 

I have released version 1.0.0.1.

 

ChangeLog

------------------------------------------------

+ on first start, the vender file will be loaded

+ randomize buttons are added

+ serialnumber can now be edited

 

you can download it from http://www.raving.at/

 

have fun!

 

many greets, iceget

 

thanks again for your works, the program is really useful :grin:

Share this post


Link to post
Share on other sites

Hi Alligator,

 

thanks for your tipps, but as I didn't have time the last days and iceget brought out his tool, I'll go his way. This tool works like a charm for me.

 

I couldn't run it as administrator (at least I don't know how).

 

If you want to add the "Run as administrator" item to the

context menu for HTA files or scripts you can do that by hacking the

registry. Here is a reg script that does it for HTA files:

 

Windows Registry Editor Version 5.00

 

[HKEY_CLASSES_ROOT\htafile\shell\runas]

[HKEY_CLASSES_ROOT\htafile\shell\runas\command]

@="C:\\Windows\\system32\\mshta.exe \"%1\" %*"

"IsolatedCommand"="C:\\Windows\\system32\\mshta.exe \"%1\" %*"

 

 

But I have another problem where I would need help.

 

I'm running XPenology on VMWare VM (VMWare Workstation 10), but I couldn't find the vender file in WinSCP. It seems, that the Boot-HDD doesn't get mounted. I only see my volume 1 (which is the data-HDD). Does anybody have an idea ho wto access it?

 

Here some screenshots:

 

1.jpg.7828aa1bb53bbbbdbce795e1150d27f2.jpg

XPenology_2.JPG.db56163596cbb30725ec532252eddc26.JPG

XPenology_3.JPG.b7e56853a6efb3756b525fb190845532.JPG

Share this post


Link to post
Share on other sites

Hello

 

It is the same problem in Proxmox.

I think with all Virtual platform the problem is here.

Share this post


Link to post
Share on other sites
Dear Community,

 

thanks for this great project. i have coded a new program (vender file patcher).

with this windows software you can patch the vender file within seconds.

created for DSM 4.2 (based on the viewtopic.php?f=2&t=1353).

 

you can download it from http://www.raving.at/.

 

many greets, iceget

 

 

WOW thanks dude :smile: because of your great app I've installed 4.3. Thanks again.

Share this post


Link to post
Share on other sites

cool Excel run .... y Just edit whit hexedit directli from DSM filemagager download and after y save on share\usbshare2\vendor .... thank

Just a big problem on 3810: no WiFi no Tvtuner no usb2 but ... usb3 run ... Happy coding 2014

Marina

Share this post


Link to post
Share on other sites

I tried to change the vender file of my image.

I am running DSM 4.3 on Proxmox

 

The strange thing is that xpenology doesn't seem to care what mac address is configured in the Proxmox VM settings.

Even if there is a mismatch it will show the original pre-configured mac address of my boot image in the ARP table.

When i change the vender file, my network activity of xpenology is completely gone.

 

I did that by mounting the boot image on xpenology and copied the vender file to my desktop (linux)

I changed the values with wxHexEditor and copied the file back to my xpenology boot image.

Then i did a reboot of the VM.

 

Is there anyone having the same problems with a virtual xpenology?

Share this post


Link to post
Share on other sites