<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Patrick&#039;s playground &#187; Hardware</title>
	<atom:link href="http://www.vankouteren.eu/blog/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vankouteren.eu/blog</link>
	<description>Random thoughts, problems and solutions</description>
	<lastBuildDate>Sun, 29 Jan 2012 07:53:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Installing packages on Synology NAS through ipkg</title>
		<link>http://www.vankouteren.eu/blog/2010/09/installing-packages-on-synology-nas-through-ipkg/</link>
		<comments>http://www.vankouteren.eu/blog/2010/09/installing-packages-on-synology-nas-through-ipkg/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 10:01:00 +0000</pubDate>
		<dc:creator>Patrick van Kouteren</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[ipkg]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[synology]]></category>

		<guid isPermaLink="false">http://www.vankouteren.eu/blog/?p=231</guid>
		<description><![CDATA[Recently I bought a Synology DS210j NAS. This is a linux-based NAS with an ARM processor. As this basically is a full linux server, there are some interesting options for geeks familiar with the command-line. As I am a developer, I would like to be able to use version control for my projects. The NAS [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://www.vankouteren.eu/blog/wp-content/plugins/wordpress-code-snippet/scripts/shBrushCpp.js"></script>
<p>Recently I bought a Synology DS210j NAS. This is a linux-based NAS with an ARM processor. As this basically is a full linux server, there are some interesting options for geeks familiar with the command-line.<span id="more-231"></span><br />
As I am a developer, I would like to be able to use version control for my projects. The NAS offers the possibility to install Subversion. The Synology wiki is excellent regarding instructions for installing the package manager (ipkg), Subversion. I prefer vim over vi. Vi is already installed on the NAS, but vim isn't. This can be easily installed through ipkg as well.<br />
This post will not fully describe the steps of installing all the mentioned stuff (this is well documented at the wiki), but it will describe some items to notice when installing.</p>
<ol>
<li>First enable the command-line to be available. This can be done through the administration panel (go to <em>Network Services &gt; Terminal</em>). You can choose between Telnet or SSH. (<a href="http://forum.synology.com/wiki/index.php/Overview:_What_is_CLI,_how_do_I_access_it,_SSH_or_Telnet%3F" target="_blank">Source</a>). Don't forget to enable the port (23 or 22 respectively) in the firewall so you can access the command-line.</li>
<li>Create a shared folder through the administration panel (<em>Privileges &gt; Shared Folder</em>). Call it anything you want. I called it plain 'svn'.</li>
<li>Create an SVN user through the administration panel (<em>Privileges &gt; User</em>) and give this user Read/write privileges through the Privileges setup tab. You will need this user later on.</li>
<li>Although the NAS is linux-based, it doesn't have a package manager yet. Although it isn't necessary to have this, it makes life easier for you. You can install the ipkg bootstrap. After that you can use the ipkg package manager to install packages easily. For installing the right bootstrap, you first need to know what kind of processor is present in your NAS. You can check that <a title="What kind of CPU does my NAS have" href="http://forum.synology.com/wiki/index.php/What_kind_of_CPU_does_my_NAS_have" target="_blank">here</a>. After that, you can install the ipkg bootstrap by following the instructions at the bootstrap section on <a title="installing ipkg bootstrap" href="http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc" target="_blank">this page</a>.</li>
<li>After that, you can use the <em>ipkg install</em> command. To install vim, you can type 'ipkg install vim'. When using vim the arrow keys may not work. To fix this hit the Esc key and type :set term=builtin_ansi then hit enter.  If you don’t want to have to keep entering that command each time you start vim then you can create a configuration file called .vimrc and place it in your home folder: <em>vim /home/root/.vimrc</em> Put the following two lines in the file:<br />
<pre class="brush: cpp">:set term=builtin_ansi
:set ruler</pre><br />
The :set ruler will enable the line and column number your cursor is on when editing a text file. (<a href="http://www.jedge.com/docs/configure%20ipaq%20for%20use.pdf" target="_blank">source</a>)</li>
<li>The above steps weren't all 100% clear to me. To install Subversion, proceed to follow <a href="http://forum.synology.com/wiki/index.php/Step-by-step_guide_to_installing_Subversion#Install_Subversion_Package" target="_blank">this wiki entry</a> beginning at the 'Installing Subversion Package' section. You've performed the first couple of steps already.</li>
</ol>
<p>&nbsp;</p>
<p><strong>Upgrading PEAR to 1.9.4: out of memory</strong></p>
<p>When I was trying to upgrade PEAR from version 1.9.1 to 1.9.4 I encountered two problems.</p>
<p>Two packages could not be found. This was not 100% clear from the error message (the packages could not be initialized, error on line 0). Fortunately ipkg could install the two packages (bzip and xslt) and the problem was solved.</p>
<p>When upgrading pear ('pear upgrade pear'), the installer used too much memory resources. As pear runs on PHP itself, this problem can be solved by opening the php ini file (location: /opt/etc/php.ini) and raising the default memory_limit (in my case memory_limit = 8M) to a higher value. After that PEAR upgrades just fine.</p>
<p>&nbsp;</p>
<p><strong>Thanks</strong></p>
<p>Thumbs up for Synology for not only creating a great (and stable) product, but also for the good documentation on a lot of subjects you can come up with!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vankouteren.eu/blog/2010/09/installing-packages-on-synology-nas-through-ipkg/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Toshiba back-up discs mess</title>
		<link>http://www.vankouteren.eu/blog/2009/07/toshiba-back-up-discs-mess/</link>
		<comments>http://www.vankouteren.eu/blog/2009/07/toshiba-back-up-discs-mess/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 14:18:30 +0000</pubDate>
		<dc:creator>Patrick van Kouteren</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[power schedule error]]></category>
		<category><![CDATA[Toshiba back-up disc]]></category>

		<guid isPermaLink="false">http://www.vankouteren.eu/blog/?p=121</guid>
		<description><![CDATA[About a week ago my parents bought a Toshiba Satellite L350 notebook. As with other brands, it comes with a lot of extra applications installed which you don't need at all while taking away precious internal memory space. Luckily it is fairly easy to remove these applications. One application created by Toshiba, and supposed to [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://www.vankouteren.eu/blog/wp-content/plugins/wordpress-code-snippet/scripts/shBrushCpp.js"></script>
<p>About a week ago my parents bought a Toshiba Satellite L350 notebook. As with other brands, it comes with a lot of extra applications installed which you don't need at all while taking away precious internal memory space. Luckily it is fairly easy to remove these applications. One application created by Toshiba, and supposed to be useful, is the application to create back-up discs which can come in handy when your notebook has crashed. It looks pretty easy to use, but has a big constraint when you want to actually create these discs.</p>
<p><span id="more-121"></span></p>
<p>My parents were given two Sony DVD+R discs to create the back-up, but when started, the application pretty soon gave an error (mostly about the power schedule) and the DVD is completely useless. After some searching on the web, I found suggestions to use 'good brands', or else the creation would fail. I've tried a Sony DVD+R disc, a PHILIPS DVD-RW disc, a Bruna DVD+R disc, but all of them made the application hang. The solution is pretty simple, but not documented very good on both the Toshiba documentation as well as the web: use DVD-R discs (DVD minus R discs). The brand doesn't matter. When I used two Bruna DVD-R discs, the application finally created the back-up discs. My parents can now finally screw up their notebook in a safe way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vankouteren.eu/blog/2009/07/toshiba-back-up-discs-mess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

