Install Wake on LAN on a NAS

I have a couple of NAS boxes and I wanted to install a Wake on LAN application on one of them so that I could turn my devices connected to the LAN through one of them. The main reason why I wanted to do this is because my home router doesn’t support Wake on WAN (so it’s not able to translate the initial request and broadcast it).
Since the NAS is always connected to the network, I can use it to turn on my home computer for instance: that’ll allow me to turn it on only when I need it.

The NAS

In my specific case I decided to install it on a Iomega IX4-200D. I believe the procedure applies to other NAS devices with just little changes. The reason why I chose this NAS is because I do have a way to get the firmware back to it even when I replace all of the Hard Drives (as it happened once already!). I’ll look at writing a procedure for that whenever I have the chance.

Step by Step instructions to Install Wake on LAN on a NAS

I will try to be as much specific as possible. Be aware that I am not responsible in case you brick your own device.

  • Enable SSH if it’s still disabled. You can follow my article that describes how to enable SSH on an Iomega/Lenovo device.
  • Connect via SSH to the NAS box. On the link I posted above, it also tells you how to login on an Iomega device.
  • Backup /etc/ipkg.conf (if it exists).
    • You can backup this file using the following command:
  • Delete any existing entry in this file, or just remove the file itself by typing:
  • Add these lines one by one:

    • If you need to delete a line, press ESC (enter command mode), then select the line you want to delete with the arrow keys and then type dd.
    • Save the file by pressing ESC to enter command mode and type

      to exit and save the changes. If you want to exit and discard the changes, type :q!
    • If you need to return in insert mode press i followed by an Enter.
  • NAS boxes generally have an embedded OS which means they have a read only file system. So we have to use ipkg-opt to get rid of this. Run the commands below:

    • It might complain that the command isn’t recognised. In that case, try to type ipkg update.
    • Running ipkg update will give you the below result
      IX4-200D ipkg update
    • Run ipkg install ipkg-opt again
      IX4-200D ipkg install ipkg-opt
  • Run this:
  • Now backup ld.so.conf and then edit it in vi.
  • Append the line below.
    • /opt/lib/
  • Close the SSH connection. This step is very important. (more…)

Read More

Enable SSH on your Iomega StorCenter

If you own one of the Lenovo Iomega EMC StorCenter NAS devices, you might have noticed that SSH is disabled by default and there’s no option, in the common interfaces, to turn it on. Not even in the rack editions!
Fortunately switching this option on is very simple and it’s kind of supported by Iomega/Lenovo. :)
Why is that? Well, the reason is very simple: when troubleshooting any issue you are experiencing, their support team might ask you a dump file or to enable options (including Enable SSH on your Iomega StorCenter) that are available only in a specific interface of the StorCenter which is not linked to in any section of the web UI. This is going to work on the R (rack) series too.
Let’s say that the address of your StorCenter is 192.168.5.15 and that the password of your primary administrative account is Welcome.

If you own a StorCenter IX Series (IX2-200, IX4-200d etc..) Cloud Edition you want to reach this address (remember to replace the IP we’re using in the example with the IP of your NAS):

https://192.168.5.15/diagnostics.html

If you own a StorCenter PX Series (PX2-300d, PX4, PX6 etc..) you want to reach the diagnostics page through this link:

https://192.168.5.5/manage/diagnostics.html

If you own an older IX Series (pre Cloud Edition), then you will need to reach this address:

https://192.168.5.5/support.html

Cloud Edition Series
Once on the diagnostics.html page, you will see the option (Allow remote access for support) straight away, see the following screenshot.

Iomega Enable SSH CloudEdition

(more…)

Read More