Advertisements

Posts Tagged NAS

How to move the SymformContribution directory from one volume to another on a Synology NAS

So you’ve got Symform all set up and running on your Synology NAS, and you’ve been contributing space, but now the volume that has your contribution folder is getting full, adn you’d like to move it without disrupting the data that other Symform users like yourself have trusted you with. How to do it? Easily.

In this example, I’ll show you how to move it from volume1 to volume2.

First, stop the Symform service from Package Center.

symform_stopped

Next, SSH into your Synology box and move the target directory to it’s new location, in this case, /volume2/SymformContribution

mv /volume1/SymformContribution/ /volume2

Next, edit the /volume1/@symform/lib/node.config file using vi and update the location by finding the line similiar to the following…

<contribution enabled="True" fragmentStorePath="/volume1/SymformContribution" port="53432" />

… and changing volume1 to volume2.

(Note, this is the same file that’s used to update the incoming port, see this post for more information.)

Save the file, and restart the Symform service.

symform_running

That’s it!

Questions or comments are welcome in the comments section below. Thank you for reading!

Advertisements

, , , , , ,

Leave a comment

Controlling fan speed and hard drive APM settings on Synology DiskStation

There is a file in /usr/syno/etc/scemd.xml which controls the fan speeds and trigger temperatures corresponding to the setting at Control Panel > Power, as well as drive APM settings (for hard drive head parking issues. More information for this issue can be found by reading this post). Feel free to edit the file to your needs, but remember that settings may not be preserved during DSM updates.

On my DS211j running DSM 4.1-2668 the file contains the following:

<?xml version="1.0" encoding="UTF-8"?>
<scemd>
 <fan_config period="20" threshold="6" type="DUAL_MODE_HIGH" hibernation_speed="STOP">
 <disk_temperature fan_speed="ULTRA_LOW" action="NONE">0</disk_temperature>
 <disk_temperature fan_speed="VERY_LOW" action="NONE">52</disk_temperature>
 <disk_temperature fan_speed="LOW" action="NONE">54</disk_temperature>
 <disk_temperature fan_speed="ULTRA_HIGH" action="NONE">58</disk_temperature>
 <disk_temperature fan_speed="FULL" action="SHUTDOWN">61</disk_temperature>
 </fan_config>
 <fan_config period="20" threshold="6" type="DUAL_MODE_LOW" hibernation_speed="STOP">
 <disk_temperature fan_speed="STOP" action="NONE">0</disk_temperature>
 <disk_temperature fan_speed="ULTRA_LOW" action="NONE">40</disk_temperature>
 <disk_temperature fan_speed="VERY_LOW" action="NONE">52</disk_temperature>
 <disk_temperature fan_speed="LOW" action="NONE">54</disk_temperature>
 <disk_temperature fan_speed="ULTRA_HIGH" action="NONE">58</disk_temperature>
 <disk_temperature fan_speed="FULL" action="SHUTDOWN">61</disk_temperature>
 </fan_config>

<fan_config hw_version="Synology-DX5" period="20" threshold="6" type="DUAL_MODE_HIGH_EBOX" hibernation_speed="UNKNOWN">
 <disk_temperature fan_speed="FULL" action="NONE">0</disk_temperature>
 <disk_temperature fan_speed="FULL" action="NONE">45</disk_temperature>
 <disk_temperature fan_speed="FULL" action="NONE">55</disk_temperature>
 <disk_temperature fan_speed="FULL" action="SHUTDOWN">61</disk_temperature>
</fan_config>

<fan_config hw_version="Synology-DX5" period="20" threshold="6" type="DUAL_MODE_LOW_EBOX" hibernation_speed="UNKNOWN">
 <disk_temperature fan_speed="FULL" action="NONE">0</disk_temperature>
 <disk_temperature fan_speed="FULL" action="NONE">45</disk_temperature>
 <disk_temperature fan_speed="FULL" action="NONE">55</disk_temperature>
 <disk_temperature fan_speed="FULL" action="SHUTDOWN">61</disk_temperature>
</fan_config>

<fan_config hw_version="Synology-DX510" period="20" threshold="6" type="DUAL_MODE_HIGH_EBOX" hibernation_speed="LOW">
 <disk_temperature fan_speed="MIDDLE" action="NONE">0</disk_temperature>
 <disk_temperature fan_speed="HIGH" action="NONE">48</disk_temperature>
 <disk_temperature fan_speed="FULL" action="SHUTDOWN">61</disk_temperature>
</fan_config>

<fan_config hw_version="Synology-DX510" period="20" threshold="6" type="DUAL_MODE_LOW_EBOX" hibernation_speed="LOW">
 <disk_temperature fan_speed="MIDDLE" action="NONE">0</disk_temperature>
 <disk_temperature fan_speed="HIGH" action="NONE">48</disk_temperature>
 <disk_temperature fan_speed="FULL" action="SHUTDOWN">61</disk_temperature>
</fan_config>
<disk_control>
 <disk model="ST9120821A">APM_255</disk>
 <disk model="HTS722020K9SA00">APM_255</disk>
 <disk model="ST980811AS">APM_255</disk>
 <disk model="MHV2060BH">APM_255</disk>
 <disk model="MK6034GSX">APM_254</disk>
 <disk model="ST9100824AS">APM_255</disk>
 <disk model="HM250JI">APM_255</disk>
 <disk model="MK1637GSX">APM_254</disk>
 <disk model="ST9100824AS">APM_255</disk>
 <disk model="ST9120822AS">APM_254</disk>
 <disk model="ST9160821AS">APM_254</disk>
 <disk model="WD2500BEVS-75UST0">APM_254</disk>
 <disk model="HM250JI">APM_254</disk>
 <disk model="WD2500BEVS">APM_254</disk>
 <disk model="WD1600BEVT">APM_255</disk>
 <disk model="HTS543232L9A300">APM_255</disk>
 <disk model="WD1600BEVE">APM_255</disk>
 <disk model="MK2546GSX">APM_254</disk>
 <disk model="MHV2080BHPL">APM_255</disk>
 <disk model="WD1200BEVE">APM_255</disk>
 <disk model="HTS543225L9A300">APM_255</disk>
 <disk model="WD3200BEVT">APM_254</disk>
 <disk model="MK8025GAS">APM_254</disk>
 <disk model="ST9200420AS">APM_254</disk>
 <disk model="WD3200BEVT">APM_254</disk>
 <disk model="HTS543216L9SA00">APM_254</disk>
 <disk model="MK4058GSX">APM_254</disk>
 <disk model="WD6400BEVT">APM_254</disk>
 <disk model="ST32000542AS">APM_255</disk>
 <disk model="ST95005620AS">APM_255</disk>
</disk_control>

</scemd>

, , , , ,

6 Comments

PPTP VPN Connection to Synology NAS on Windows 7

I previously wrote a post about connection to a Synology NAS VPN server using OpenVPN. Although OpenVPN is more secure, it does involve installing software and can be a bit tricky to set up.

The Synology NAS VPN server also has support for PPTP VPN connections, which Windows 7 (as well as other operating systems) have built-in support for, without the need to install software. It’s much easier to set up and get going.

Here’s how to do it:

Assuming that you already have the VPN Server package installed and running, go to VPN Server and make sure your PPTP VPN is enabled.

Also go to Privilege and make sure your user has permission to connect.

Lastly, make sure TCP port 1723 is forwarded to your NAS.

Setting up Windows 7

Click Start > Control Panel > Network and Sharing Center (view by large or small icons) and click Set up a new connection or network.

net_setup_new

Click Connect to a workplace.

net_connect_workplace

If you are prompted, click “No, create a new connection”

net_new_connection

Select “Use My Internet Connection (VPN)

net_use_vpn

In the next screen, enter the IP address or hostname of your Synology NAS.

net_enter_address

In the next screen, you can enter your username and password and click Connect.

Your PPTP connection is now set up. You can access it from your network connections menu.

Deciding whether to route all traffic through the VPN connection

By default, the PPTP link will route all traffic. This is good if you’re using your VPN session as a routing point to encrypt all your traffic. However, if you decide you do not want all traffic routed through the VPN, but only non-public Internet traffic, change your settings as follows (Windows 7):

Click Start > Control Panel > Network and Sharing Center > Change Adapter Settings

Right-Click on your PPTP configuration and click Properties.

Click the Networking tab.

pptp_properties

For both IPv6 and IPv4, do the following:

Click Properties.

Under the General tab, click Advanced.

adv_tcp_ip_settings

To route all traffic through the VPN link, check the Use default gateway on remote network.

To route only non-public Internet traffic, uncheck the box.

Questions or comments, please leave a comment below. Thank you!

, , , ,

1 Comment

How to manually change the Symform contribution port on a Synology NAS

Symform is a cloud-based backup solution which allows you to have 10 GB of backup space free, and get additional free space, as well as support, by contributing space.

In order to contribute, you need to have a port forwarded to your Synology device. However, in my experience, I wasn’t able to choose the port (as it’s chosen randomly during installation). If the port number that the Symform service chooses is already taken, or you prefer to assign another port number, here’s how to do it.

To do this, you will already need to know how to set up port forwarding on your router, and install and set up the Symform service on your Synology NAS, as well as be familiar with how to SSH into your Synology NAS. This only shows you how to manually edit the contribution port number chosen by the Symform service.

Make sure the Symform service is stopped

Do this by logging into your Synology on the admin port (usually 5000 or 5001) and going to Package Center. Under Installed, you can stop the Symform service by clicking the stop button. Once the service is stopped (as shown below), you can continue.

symform_stopped

SSH into your Synology NAS

If you haven’t already, turn on the SSH (or telnet) service by going to Control Panel > Terminal, and enabling the desired service. Next, SSH (or telnet) into your Synology NAS box. Once logged in, go to the Symform configuration directory by typing:

cd /volume1/@symform/lib

Next, open node.config with the vi editor:

vi node.config

Locate a line starting with <contribution enabled="True" fragmentStorePath= and scroll to the right of that line, and you will see port="43100" (or another port number). If you’re not familiar with the vi editor, carefully follow the following commands to edit the file in-place:

  • Press the a key to enter append (editor) mode
  • Cursor to the value and use the keyboard to edit it
  • Press the ESC key to exit editing mode
  • Type :w followed by enter to save the file
  • Type :q followed by enter to quit the editor

Now go back to Package Center and start the Symform service.

You will be able to see the updated port number in your Symform control panel.

If you have any questions, comments, or thoughts to share, please do so in the comments below. Thank you!

, , , , ,

Leave a comment

Using Synology DS211j as an AirPrint Print Server for Brother HL-2170W

I have a Brother HL-2170W printer that I’m using as a wireless printer. One thing I wanted to do was use AirPrint from my iPhone to print if the need should arise, as it does from time to time. My Synology DS211j includes a USB print server with Bonjour and AirPrint support, so I knew I could plug my printer into it via USB and use it as a print server, but there was the issue of the already-configured wireless clients.

I wondered: Since I’m already using my printer wirelessly, can I just plug the printer into the NAS using the USB port and use both USB and wireless? The answer to that is actually yes, according to this post at UbuntuForums. You can use USB and either wired or wireless at the same time, but you cannot use both wired at wireless at the same time.

Now that I had that important issue aside, it was time for setting it up.

First, physically plug the USB cable from the printer to the NAS. You should be able to verify that the printer shows up in Control Panel > External Devices as shown here:

Once that’s done, click the printer to select it, then click USB Printer Manager > Set Up Printer:

Since the DS211j didn’t have a specific print driver listed for this model, I took the known-working driver configuration from my “Ubuntu and Brother HL-2170W” post, and set it up as shown below:

  • Mode: Network Printer
  • Advanced Settings: Enable AirPrint
  • Printer Brand: Generic
  • Printer Model: Generic PCL 5e Printer

After that, I hit Save and then Close, and I was able to print a test page successfully by clicking on the printer and then clicking USB Printer Manager > Print Test Page. One thing to be aware of is that the DS211j is a bit lacking in RAM, so print jobs can take a bit (up to 5 minutes) from the time they’re sent to the server until they come out of the printer.

, , , , , , ,

2 Comments