Guide: How to install Plex on a ZyXEL NAS520
My friend recently purchased a ZyXEL and was wondering if you could install PLEX Media Server on it. After some quick google searches, I realized that it was indeed possible. This, however, ended up being a little bit of a challenge. In the end, it ended up being just a dumb mistake that held me up.
Lets get started!
Upon taking the NAS520 out of the box, I plugged in both the power and the Ethernet cables and turned it on. To get it all setup, you have to access the WebUI which can be accessed by simply opening your internet browser and typing in the IP address of the unit. I logged into my router, and looked up the assigned IP address, however, before going into all that trouble.. try simply typing in “NAS520/” to see if it automatically redirects you to the web interface.
I followed the very easy setup guide, which allowed me to create my admin account with the password that I got to choose.
My only goal was to setup PLEX, so I didn’t spend too much time tinkering around with the settings. By default, most of the “add-on” features are turned off. This is good because I didn’t want to waste any of the processing power or RAM on anything other than PLEX.
In order to install PLEX, you first need to install FFP. Visit their website and grab the latest version of the ffp program.. http://downloads.zyxel.nas-central.org/Users/Mijzelf/FFP-Stick/
Once you’ve downloaded the zip folder, extract the compressed files by right clicking on it, and choosing the “extract here” option. Drag the extracted files to a USB stick of your choice. The only catch here, is that you need to format your USB stick to FAT.
Insert the USB stick into the back of your NAS520. Before rebooting the device, ensure that your Ethernet cable is connected to the “LAN1” port and not the “LAN2” port. This is the problem that I made, and reboot the NAS.
When the NAS fully boots, it starts telnet, and you should be able to connect to it. If you’re currently on windows, you might need to install the telnet add-on application. Click here for more details.. http://www.technipages.com/windows-10-enable-telnet
Once you’ve connected, utilize the following command to enable an ssh server (this is much more secure than telnet)
chmod a+x /ffp/start/sshd.sh /ffp/start/sshd.sh start
Next, connect to your NAS through SSH to ensure that it is actively working. You should log in using the username: admin, and the password that you set up associated with the admin account. Putty is the SSH client that I decided to use for this purpose, and it can be installed on windows. Click here to grab a copy of Putty.
Once you’ve successfully connected via SSH, make sure you disable the telnet service so that others can’t compromise your device. Execute the following commands via your SSH connection:
/ffp/start/telnetd.sh stop chmod a-x /ffp/start/telnetd.sh
At this point, I followed the following guide, but I’ll summarize it for you! Before continuing the installation, read every step carefully, and then proceed!
Start by opening your SSH connection, and executing the following command:
Next we want to install the PMS (Plex Media Server) package from the Mijzelf repository. You can easily do this by executing the following command:
slacker -UaA mz:plexmediaserver
Note that the package itself doesn’t contain PMS, only a script that allows your NAS to go out and fetch a copy of it.
To start the PMS download, execute these commands:
This will launch a guide to install plex. Once you are able to install it, it’ll prompt you to start it. Once you start the PMS service, give your NAS at least 30 minutes to complete the setup. This is a very demanding process, so it needs time. If you accidentally leave the installation, you can execute the following command to start the service:
sh /ffp/start/plexmediaserver.sh start
After 30 minutes have passed, you can access your PMS Web interface by going to https://”ip_address_of_NAS520″:32400/web, but first you’ll want to enable the autostart feature of Plex. Do this by executing this command via your SSH connection:
chmod 755 /ffp/start/plexmediaserver.sh
You now have a working plex media server on your NAS! For more information, visit the guide I listed above, or post a topic on their forum at http://forum.nas-central.org/index.php.