IX4-300d software update

Preserve custom Servers after IX4-300d Update

Lenovo recently updated the firmware on their IX4-300d NAS due to hacker vulnerabilities. It’s recommended to update your NAS however we are using a custom startup script which will “break” after updating. In this guide, I will explain how to update your NAS without losing custom server functionality.

Requirements
– Latest firmware files: Here
– Putty or terminal on Mac/Linux.

Tested with all firmware up to 4.1.110.33149

Updating to firmware from 4.1.102.29716 and up

Login to your NAS settings, click “All Features” and click the “Software Updates’ icon. Now there will be a table with your current version and status containing the link to the newest firmware update. Download this firmware or if already downloaded, click the icon in the “Action” bar.

ix4-300d_update
Select your firmware file and click Upload. This will start uploading the update file to your NAS. After uploading you will be redirected to the same page again.

ix4-300d_update2

ix4-300d_update3

the status has changed in “Version 4.0.6.19294 is ready to apply Apply”, Click Apply to start updating, The updating will take about 9 to 10 minutes. After the update is completed, SSH should still be enabled (If not, follow this guide).

The update has overwritten the “Startup Process” file, so to restore your servers we have to insert our custom startup script in the new startup script… Login via SSH (as root, soho+password) :

/opt/editconfig.sh

now a (nano) editor will open, scroll down and add following lines inside group 1 before the </Group>:

<Program Name="init-opt.sh" Path="/opt/init-opt.sh">
<SysOption Restart="-1"/>
</Program>

ix4300dpreserveupdate102

To save the file, hit Escape, then hit CTRL+X, then ENTER to write the file (nano should say “wrote 2xx lines”). If you are a 100% sure your file is correct, restart your NAS. !!!Only restart your NAS when 100% sure the file is correct, pasting this code wrong or editing anything else in this file may/will break your NAS!!!

Updating to firmware up to 4.0.8.23976

Login to your NAS settings, click “All Features” and click the “Software Updates’ icon. Now there will be a table with your current version and status containing the link to the newest firmware update. Download this firmware or if already downloaded, click the icon in the “Action” bar.

ix4-300d_update
Select your firmware file and click Upload. This will start uploading the update file to your NAS. After uploading you will be redirected to the same page again.

ix4-300d_update2

ix4-300d_update3

the status has changed in “Version 4.0.6.19294 is ready to apply Apply”, Click Apply to start updating, The updating will take about 9 to 10 minutes. After the update is completed, SSH should still be enabled (If not, follow this guide).

The update has overwritten the “Startup Process” file, so to restore your servers we have to insert our custom startup script in the new startup script… Login via SSH :

/opt/editconfig.sh

now a (nano) editor will open, scroll down and add following lines inside group 1 under mozzyclient like in the screenshot below. you may have to scroll a while:

<Program Name="init-opt.sh" Path="/opt/init-opt.sh">
<SysOption Restart="-1"/>
</Program>

Putty Startup Script

To save the file, hit Escape, then hit CTRL+X, then ENTER to write the file (nano should say “wrote 2xx lines”). If you are a 100% sure your file is correct, restart your NAS. !!!Only restart your NAS when 100% sure the file is correct, pasting this code wrong or editing anything else in this file may/will break your NAS!!!

Share:

Facebook
Twitter
Pinterest
LinkedIn

31 Responses

        1. 4.1.102.29716 Changelog:
          Atmos and Mozy Backup are no longer included as built-in LifeLine applications. seems like they deleted the mozy app, I will update mine soon and try to find a new way to enable servers again, thanks for letting me know.

          1. I added it to last line. Rebooted and now it’s stuck at 70%. I can’t get it running. Kinda a brick right now. Not sure how I can undo the change since not booting up completely.

            1. not smart of just trying to paste the line at the end, The warning messages in the post are not for decoration. The best solution probably is to bring it back for warranty and hope they fix it for you. Or you could try restoring the firmware over USB

              1. Let me know what you figure out. I am replacing this NAS anyways due to some other issues with it.

    1. Yes; I have attached / called this HDD into Symantec BE2014 but after upgrade FW 4.1xxxxxx its not able to attach. Tried almost everything

  1. My replacement NAS is coming tomorrow. I was having issues anyways so glad they replaced it. It’s the Diskless version with firmware on chip. I am guessing can still hack this one for SABnzbd, Sick Beard and Couchpotatoe?

      1. So my question is on the diskless version since firmware is on the eprom are you editing it or does it also put OS on drives and that was your really using/editing?

        1. The firmware will probably run from the chip since you should be able to get in the webGUI without any disks installed. However if the webGUI is not the full firmware but only a “setup” firmware that copies the full firmware to the driven your firmware will still run from the drives… Let me know how they do it 🙂

  2. Steven I got the imager program to reimage my drives or might just switch the diskless version tonight when get home. I was hoping that the newest firmware would work but guessing no luck?

          1. I will be doing it tonight when I get home and replace NAS or reimage it. Not sure if should keep the diskless version or the other since have this option now.

  3. So if boot the diskless version and access web interface tells you to add drives. So I put my drives in from bricked NAS and boots fine into older firmware. So now I can backup my files. Still not sure how all works as far as adding programs.

  4. Steven thx for the update, just to be clear, do I have to downgrade my firmware?
    Right now I’m on 4.1.102.29716
    Or do I just have to add

    in level 1?

    1. you don’t have to downgrade, i added a new guide “Updating to firmwares from 4.1.102.29716 and up”, this guide works for the new firmware

      1. Yes it works, thx for that – sorry I didn’t updated my comment
        But I have problem with ipkg. I.m doing it right now and some times I have error 22 sometimes error 1 (different after nas restart)
        Plus maybe You can write a tutorial for NZB Drone?

        1. i will try to find a solution for your problem, also i did not know NZBdrone but it seems like a very handy app… i’ll give it a try

          1. Steven, if You need any testing please fell free to contact me directly via email and I will help as much as I can.

  5. thank you for this info however does the installing optware still work? my ix400-3d seems to never save the packages once i do it. Again thanks for the great tips! i’m running the latest firmware as of aug 1, 2014 v 4.1.102.29716.

    One thing i’m having an issue figuring out is how can i get Twonky to rebuild the video thumbnail cache. my 500+ movies no longers how the movie folder.jpg thumbnail art and i have yet been able to figure out RPC command or file to clear to get these to generate. Worked great prior to the firmware updates. TIA!

  6. Hi Steven

    Thanks for the great guide. With the help of these guides and others I found, I was able to get sabnzbd, sickrage and couchpatato installed on my ix4-300d, offloading it from my N5550. What I do miss is nzbdrone, which runs beautifully on my N5550. My goal is to have the ix4-300d do the heavy lifting and the N5550 act as my XBMC media center.

    Have you had a look at nzbdrone yet? It does have one vital prerequisite, mono (mono project), .net libraries.

    1. I have the same problem, who can tell me if I solved this problem? Why is the data not saved after a reboot? What can you think of?

    1. I have the same problem, who can tell me if I solved this problem? Why is the data not saved after a reboot? What can you think of?

  7. Hello, does anyone know how to return to the factory firmware of the PX4-300d? With the update “Milestone Arcus” was installed and the native App for “video surveillance” webcams was lost, which was free and had a lot of compatibility with my cameras. I appreciate the support as I have searched all known websites and this is my last resort.

Leave a Reply

Your email address will not be published. Required fields are marked *

On Key

Related Posts