Preserve custom Servers after Iomega/Lenovo 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!!!

0 0 vote
Article Rating

Leave a Reply

28 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
rmilyard
5 years ago

Anyone upgraded to Firmware Version 4.1.102.29716 for ix4-300d yet?

If so did you have any issues?

rmilyard
5 years ago
Reply to  Steven

I was thinking about trying to upgrade both mine this weekend.

rmilyard
5 years ago
Reply to  Steven

Not sure where should add this command. Looks like Mozy has been removed now.

rmilyard
5 years ago
Reply to  Steven

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.

Rmilyard
Rmilyard
5 years ago
Reply to  Steven

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

Max
Max
5 years ago
Reply to  rmilyard

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

rmilyard
5 years ago

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?

rmilyard
5 years ago
Reply to  Steven

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?

rmilyard
5 years ago

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?

rmilyard
5 years ago
Reply to  Steven

So looks like you got it running?

rmilyard
5 years ago
Reply to  Steven

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.

rmilyard
5 years ago

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.

Marius
Marius
5 years ago

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?

Marius
Marius
5 years ago
Reply to  Steven

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?

Marius
Marius
5 years ago
Reply to  Steven

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

jimmyselix
jimmyselix
5 years ago

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.… Read more »

Joe
Joe
5 years ago

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.

ashokaiyarAshok
5 years ago

Hi Steven,

I’m running firmware 4.1.104.31360, optware packages are not saved after a reboot. Any suggestions on how to fix this?

Thanks!

ic0r
ic0r
5 years ago

Hi, i have the same issue…..