Charlih Chen

My Photo
Location: Cupertino, California, United States

I'm orignal from Taiwan.

Monday, May 18, 2015

XPEnology lost Web Interface to Diskstation after upgraded to 5565. Solution: downgrade to 5022.

Uncheck the autoupgrade on XPEnology right away, DO NOT upgrade to 5565!!!
*** Your XPEnology Web Interface will be gone once upgraded it ***.
*** Synology Assistant CAN NOT find diskstation ***.

If it was too late, then you have to do the Downgrade procedure: downgrade by 5565 to 5022
Download link:

Quick steps:
Logon as "root" with its password
cd /etc.defaults [ENTER]
Press "i"
modify minorversion=”1″ to "2" -> "1" and buildunumber="5565" to "5021"
Press ESC -> w[ENTER]
reboot [ENTER]

Select ...Install/Upgrade

Run Synology Assistant
Right click the [Migratable] on the found diskstation -> Install -> Browse
Browse to DSM_DS3615xs_5022.pat
Input admin's password twice -> [Next>] -> [Finish]

How to install XPEnology on non-Synology hardware?
Download iso file and burn it to either USB drive or CD media.
Download URL:
Once the PC was boot from USB or CD, you need the SynologyAssistant from another PC to scan the same LAN to discovery the XPEnology server for reset of the installation.
You need the .pat file on the PC. Remember to shutdown any Antivirus or Firewall app like the FortiClient etc..

How to create a Bootable CD with new serial number:
#1. Duplicated the original XPEnoboot.iso and rename it to XPEnoboot_newSN.iso
#2. Open the XPEnoboot_newSN.iso with MagicIso, hightlight the isolinux.cfg file and extract it to C: drive.
#3. Check the MAC to serial number generator Excel file.
#4. Drap and drop the modified with new serial number file:isolinux.cfg to XPEnoboot_newSN.iso on MagicIso
#5. Save it on MagicIso top menu.


Thursday, May 07, 2015

FOG 1.2.0 PXE menu options: Auto registration for unregistered hosts with Quick registration and inventory

Don't have time to manually input HOST PC mac address on Fog portal.

Try the "Quick registration" option on PXE menu.

STEP1: Edit it by using nano /var/www/fog/lib/fog/BootMenu.class.php
STEP2: Find a code looking like this:
$this->defaultChoice = "choose --default fog.local --timeout $timeout target && goto \${target}\n";

Just change 'fog.local' to 'fog.reginput' (full registration) or 'fog.reg' (quick registration)... 
Save the file and boot your clients.

$this->defaultChoice = "choose --default fog.reg--timeout $timeout target && goto \${target}\n";