Showing posts with label DS212j. Show all posts
Showing posts with label DS212j. Show all posts

Sunday, September 23, 2012

Connecting a DS212j NAS Directly to a Computer Without Using a Router

Background

I had the problem that I wanted to transfer about 100 GB of video files from my old Windows XP PC to my new Synology DS212j NAS (Networked Attached Storage). The network environment consisted of the DS as NAS, connected via cable to an airplay express wlan router (connected to a cable modem) and the PC connected via wlan to the network. One complication concerning this set-up was that the PC is quite far away from the airport express, resulting in a quite low bandwidth resulting in transfer times for the data of several ten hours.
My goal was to connect the Disk Station directly via cable to the ethernet port of the PC to benefit from the 1 GBit transfer rates of the cable connection.

One note: if you like this post, I'd be happy if you clicked on the ads banner ;)

Realization

Before you start to move your NAS to the PC direct "network", you have to note the network settings of the NAS in the standard network with the router. IN case of the Synology DS212j do the following:

1. Open the DSM - Disk Station Management Console. This can either be done by using the Synology "Assistant" program (needs to be downloaded from the Synology website) or you can open the DSM by typing <ip address of your DS>:5000.  
2. In DSM start the Control Panel and click in section "System" on "Network":


3. In the network settings go to the tab "Network Interface":


Make sure that your network configuration is set to manual. If not done already, choose an appropriate IP address for your DS together with a subnet mask that fits to your wlan router setup. Note the IP address, you will need it to do the proper configuration of the network settings of your PC as soon as the NAS is connected directly to it. Save this configuration. and shut down the NAS.

You have to connect the DS212j - and any NAS having an ethernet port - directly to the PC by using a crossed (this is important) ethernet cable not a standard one. After having realized the hardware set-up (PC + NAS) you have to play a bit with the network settings of the PC.
In the windows control panel start the network setting tool. Quite likely, the network settings of your PC are set to wlan. Disable the wireless connection - and don't forget to switch it on again if you are done with your work ;). Now go to the network settings of the ethernet LAN and there configure the TCP/IP settings. Similar to the NAS set the network address configuration to "manual". Now you have to choose an ip address for your computer which is differing only in the last number from those of the NAS (in my example I choose 10.0.1.1) and choose an appropriate subnet mask (255.255.0.0 worked for me). Save your changes.
You can check if your changes work by using the ping command. To use it open a console in Windows (programs --> run --> type in "cmd"), then type in: ping <ip number of NAS> (in my example "ping 10.0.1.5). If the PC and the NAS are connected properly, the system will respond to the ping command with something like:
"64 bytes from 10.0.1.5: icmp_seq=35 ttl=64 time=3.856 ms"

Now you can open the NAS drives like any other. However, it will not be available by standard in the explorer of Windows. You have to open the drive via "programs" --> "run" and typing in the drive/path of the folder you want to open. The only problem I encountered was that the drive could not be opened by its name, but I had to use the ip of the drive. Meaning I had to type:
<ip of NAS>∕<directory> (example: "10.0.1.5∕video")

Now it was time to copy my video data and it worked like a fly.

I hope you got something out of this blog and you enjoyed.



Wednesday, September 5, 2012

Synology DS212j - Experiences and Usage Scenarios




This is the fourth of blog posts wherein I describe my experiences with setting up a Synology disk station DS212j by re-using a hard disk which I recovered from an Apple Time Capsule wlan router & NAS which quitted service. In this post I want to describe my experiences with the new device after having the hardware up and running.

Set-Up and Installation


The setup of the DS is quite simple if you have a SATA hard disk at your disposal which is either empty or does not contain valuable data: the disk will be formatted during the setup process. As described in the first post of this series the installation procedure is started via a Synology desktop application which is called "DS Finder" and which available (at least) for Windows and Mac OS X. The Disk Station is detected via WLAN if it has been connected to a WLAN router. If the DS has not been set-up before, the DS Finder will list it as "Not Installed".
One thing you have to ensure at this point is that you have an installation file of DSM, the Disk Station operating system available, which can be downloaded from Synology. On the next screen you are asked to tell the program where this installation file is located.
After having started the installation process it is time to go for a loooong coffee break. For my 1TB WD hard disk (from the Time Capsule) the formatting and installation process took about 5-6 hours...

System Configuration

When the coffee break is over, it is time to login for the first time to the system. This can be done via the DS Finder tool -which opens a browser window - or via a web browser. The Disk Station is available at
<ip address>:5000
At the first login you have to use the default admin account, which does not have a password per default. The first configuration I did was giving the admin a password...
If you don't want to access the Ds through DS Finder (which I didn't want either) it is good to assign the DS a static IP so you can be sure which IP:5000 combination to type in the browser. One can do this by opening in DSM:

System Control --> System --> Network

On the tab "Network Interface", LAN settings you can choose between automatic IP (DHCP) and manual IP assignment. To assign a static address, choose "manual" and enter network config data of your choice.
Work in progress...

Creation of Users

The next thing to do is to think about users being allowed to access the DS. This can be done via the Control Panel which is available on the DSM desktop:



The standard administrator user "admin" has no password assigned by default. One should change this as soon as possible if unauthorized access shall be avoided.
Other users can be created and managed via the "User" admin tool. It is possible to create users with different levels of authorization and detailed access to folders and programs.

Creation of Disk Spaces and Folders

After a successful system installation it is time to create (logic) drives on the disk. This can be achieved by a program called "Disk Manager" which comes with the standard installation of DSM:


Via Storage Manager it is possible to create logical drives:


Note: on the screenshot, the drive has already has been created.

After the creation of a logical drive it is time to create folders on the drive.

Accessing the Disk Station Content via iPad (iOS Devices)

To begin with: it is not possible to access music files stored on the DS via iTunes on the iPad which seems to have restricted capacitites compared with the full fledged version on a PC. However, it is possible to access Music via iTunes on a Mac or Windows PC (see section below).
Nevertheless, it is possible to stream media files (music, video, photos) to an iOS device via special apps Synology provides for free in the app store. All in all there are 6 apps for iOS available, apps for Android & Windows Phone are available too:

  • DS Audio: streams music to the mobile device in a player similar to iTunes
  • DS Photo+: photo browser for the mobile device
  • DS Video: streams videos stored on the DS to mobile device
  • DS File: gives access to the DS file system
  • DS Download: didn't check

Accessing the Disk Station Content via Play Station

Getting access to my PS3 was a harder one. But this was not so much due to the PS3, but due to the features of the Airport Express which I use as WLAN router and DAC interface to the HiFi amplifier. To the details:
In the beginning, my Airport Express wlan configuration used the "Autochannel" option to determine the wlan channel the Airport uses. Having this option set, it was not possible to get the PS3 connected via wlan. I checed a couple of community threads and finally found a hint that helped me: if you are running your Airport Express / PS3 setup in an environment with some other wlans that interfere, the Airport switches to wlan channel 13. This seems to cause problems with the PS3. I cured this by manually setting the wlan channel of the Airport to some channel lower than 13 and the setup works ever since.

Back to the Synology-experience: After having fixed the network problems, the DS was automatically recognized as media server by the Playstation. for each category of the PS3 content (music, video, photos) a new folder icon appears giving access to the content stored on the DS. I can now stream music, video and photos directly to the PS3 without having the need to store the content there - very satisfying!

Accessing Music on a PC

The integration with a PC (Mac or Windows, Linux I don't know...) is straight forward. You can connect to the DS via a file browser and open files from there. You can open your iTunes library residing on the DS to listen to music´. Alternatively, you can run an iTunes Server on the Disk Station (available for download in the DS control panel). This iTunes Server makes the music stored in a directory called "Music" available as shared iTunes library. Note that this "iTunes Server" does not work as source to stream music to e.g. an iPad. You need to have a fully fledged iTunes on your remote machine to acces this iTunes Server on the DS

Summary

In the first blog post after the crash of my Time Capsule I formulated a couple if things I wanted to achieve with a replacement for the device:

  • Separate the disk from the WLAN router to avoid collateral damage if one of the devices breaks
  • We wanted to realize a setup which allows streaming music directly from the disk without the need to have a computer running
  • Connection to our HiFi equipment
  • Price should be kind of reasonable
  • With the TC I did the data backup manually, it would be nice to get this automated in a RAID array
  • What I got from reading a couple of forums, it would be nice if the device to come had an iTunes server on board.
  • I wanted as well to connect a PS3 to the disk to view photos via the PS3
Summarizing I can only say that all of these goals have been achieved. Up to now I cannot judge about the RAID functionality as I did not install a second hard disk yet, but I assume as it is one of the main characteristics of the DS212j that this will work without major problems.

Update from April 2013: I installed a second disk about a half a year ago. My initial assumption was right: istallation and setup of the second disk worked without problems. I created a RAID array with the two disks and it works ever since. Up to now I fortunately didn't have the chance to check that the RAID backup works, as none of the disks crashed.
All in all I am VERY content with the new setup. Streaming to the iPad works perfectly, the output to the HiFi amplifier via the Airport Express works seamless too. The only complaint I have about the Airport is the  limited number (only 1) of ethernet cable sockets the device has. The cooperation between the DS and the PS3 works as well very well, even if there was an Airport-induced challenge to master.

I hope that my article will help you to take your own decision, and you enjoyed reading.

Thursday, August 23, 2012

Death of a Time Capsule Part 2 - Setting up a Synology DS212j

A couple of days ago, I blogged about our Apple Time Time Capsule, which ended its service unexpectedly. As discussed there, I decided to replace the Time Capsule with a combination of an Apple Airport Express in combination with a Synology Disk Station DS212j where I wanted to re-animate the Time Capsule's hard disk which I recovered. Here I want to talk about my experience with the device.

DS212j - What is in the Box?

I ordered the DS212j case without hard disk via Amazon and it arrived after three days at my home.  The box contains:
  • the disk case
  • a power supply with cable
  • a network cable
  • a set of screws to fix the disk(s) in the case
  • a "first steps" user manual
  • a CD with documentation and utility programs


Everything seems to be quite solid and of good quality. The case is equipped with some  electronics and a big fan for cooling te disks.

Mounting the disk

The mechanical mounting of the disk is very simple and does not represent any challenges. Simply slide the disk in one of the foreseen slots. In the DS212j there are two of them:



Fix the disk in the frame with the screws coming with the case. On the picture below I mounted the disk in slot 2:



Close the cover of the case and connect the device with power and to the network - in my case the Apple Airport Express.

Setting Up - Not Only Simple...

Quite excited I fired up the assembled box. The DS212j starts with flickering control lamps and after about a second, it signals with a beep that it is ready for the next steps.
The first step after the DS has been started, is to start the step assistant program which comes together with the remaining equipment. Alternatively one can download the latest version of the setup program from synology.com. What you see after the program start is the following screen (please excuse the German screens):

The first thing that made me suspicious was the term "Not Installed" for my newly assembled Disk Station. The next step is to double click either on the line with the Synology server or to mark the line  of the server you want to administer and click on the "install" button in the menu on top of the window. The next window ended my dreams of keeping the data on the old Time Capsule disk:

The message on the screen told me that ALL THE DATA ON THE DISK WOULD BE ERASED during the installation process :(
What next? For me it was important to save the data which piled up in the timeframe since my last backup. Especially pictures of our last holiday were among the things I definitely did not want to get lost.

Please read my next blog post to learn how to master this kind of crisis.