<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Transmission on Wimpy's World</title><link>https://blog.wimpys.world/tags/transmission/</link><description>Recent content in Transmission on Wimpy's World</description><generator>Hugo -- gohugo.io</generator><language>en-gb</language><managingEditor>martin@wimpress.com (Martin Wimpress)</managingEditor><webMaster>martin@wimpress.com (Martin Wimpress)</webMaster><lastBuildDate>Wed, 07 Aug 2013 21:21:09 +0000</lastBuildDate><atom:link href="https://blog.wimpys.world/tags/transmission/rss.xml" rel="self" type="application/rss+xml"/><item><title>Setting up Open Media Vault on the HP MicroServer N54L</title><link>https://blog.wimpys.world/posts/setting-up-open-media-vault-on-the-hp-microserver-n54l/</link><pubDate>Wed, 07 Aug 2013 21:21:09 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/setting-up-open-media-vault-on-the-hp-microserver-n54l/</guid><description>&lt;p&gt;I&amp;rsquo;ve installed &lt;a href="http://www.openmediavault.org/"&gt;Open Media Vault&lt;/a&gt; (OMV)
on my new &lt;a href="http://www8.hp.com/uk/en/products/proliant-servers/product-detail.html?oid=5336624"&gt;HP ProLiant MicroServer G7 N54L&lt;/a&gt;
to replace my aging, and lackluster, &lt;a href="http://www.readynas.com"&gt;ReadyNAS&lt;/a&gt; NV.&lt;/p&gt;
&lt;p&gt;OpenMediaVault (OMV) is a network attached storage (NAS) solution based on
&lt;a href="http://www.debian.org"&gt;Debian&lt;/a&gt; Linux. At the time of writing OMV 0.5.x is
based on Debian 6.0 (Squeeze).&lt;/p&gt;
&lt;p&gt;This blog post is not going to cover the extremely simple OMV installation
procedure, it assumes OMV 0.5.x is already installed. This post explains
how to upgrade the kernel, install some addtional plugins and some hackery
to update &lt;a href="http://www.transmissionbt.com/"&gt;Transmission&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This blog post is basically the essential notes I need to recreate my server setup.&lt;/p&gt;
&lt;h1 id="n54l-custom-bios"&gt;N54L Custom BIOS&lt;/h1&gt;
&lt;p&gt;I&amp;rsquo;ve installed one of the custom BIOS mods for the N54L.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.avforums.com/forums/networking-nas/1521657-hp-n36l-n40l-n54l-microserver-updated-ahci-bios-support.html"&gt;HP N36L/N40L/N54L Microserver Updated AHCI BIOS Support&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I selected the BIOS mod above because the guy who created was an HP engineer and
this BIOS mod only enables additional features that the N54L can actually support.
Using this BIOS mod I&amp;rsquo;ve been able to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Enable AHCI for the Optical Disk Drive (ODD) port.&lt;/li&gt;
&lt;li&gt;Enable AHCI and port multiplier for the the e-SATA port.&lt;/li&gt;
&lt;li&gt;Make all drives hot-pluggable.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The 250GB hard drive that came with N54L is now relocated in the optical drive day
and being used as the OS drive, leaving all 4 bays for data.&lt;/p&gt;
&lt;p&gt;As some point in the future I may want to hook up a 4 bay e-SATA enclosure and this
BIOS mod makes that possible.&lt;/p&gt;
&lt;h1 id="open-media-vault"&gt;Open Media Vault&lt;/h1&gt;
&lt;p&gt;Once Open Media Vault is installed, I do the following.&lt;/p&gt;
&lt;h2 id="enable-ssh"&gt;Enable SSH&lt;/h2&gt;
&lt;p&gt;OMV actually has a really good WebUI that can be used to accomplish most
update/upgrade tasks but I can&amp;rsquo;t help myself. I must have shell access. From
the OMV WebUI:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Services -&amp;gt; SSH&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;Put a tick in &lt;code&gt;Enable&lt;/code&gt; and click the &lt;code&gt;OK&lt;/code&gt; button.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="shell-tools"&gt;Shell Tools&lt;/h2&gt;
&lt;p&gt;Things crave when at the a shell.&lt;/p&gt;
&lt;p&gt;Login to your OMV server as &lt;code&gt;root&lt;/code&gt; using SSH and then do the following.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt-get install less lsb-release rsync screen tree
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id="omv-plugins"&gt;OMV Plugins&lt;/h1&gt;
&lt;p&gt;OMV has a number of built-in plugins and a &lt;a href="http://omv-plugins.org"&gt;third party repository of plugins&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="built-in-plugins"&gt;Built-in Plugins&lt;/h2&gt;
&lt;p&gt;Update the built-in plugins.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;System -&amp;gt; Plugins&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;Click the &lt;code&gt;Check&lt;/code&gt; icon.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="logical-volume-manager"&gt;Logical Volume Manager&lt;/h3&gt;
&lt;p&gt;I use LVM. There, I said it. Enable the LVM2 plugin as follows from the OMV WebUI.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;System -&amp;gt; Plugins&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;Highlight the &lt;code&gt;openmediavault-lvm2&lt;/code&gt; plugin.&lt;/li&gt;
&lt;li&gt;Click the &lt;code&gt;Install&lt;/code&gt; icon and then &lt;code&gt;Yes&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;When the install is &lt;code&gt;Done ...&lt;/code&gt;, click &lt;code&gt;Close&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="3rd-party-omv-plugins"&gt;3rd Party OMV-Plugins&lt;/h2&gt;
&lt;p&gt;Follow the instructions on the following page to enable the OMV-Extras plugin repository.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://omv-extras.org/simple/index.php?id=how-to-install-omv-extras-plugin"&gt;http://omv-extras.org/simple/index.php?id=how-to-install-omv-extras-plugin&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="backports-32-kernel"&gt;Backports 3.2 Kernel&lt;/h3&gt;
&lt;p&gt;I updated the Kernel to 3.2 because it better supports the N54L hardware, in
particular the embedded graphics controller. The Linux 3.2 kernel can be
installed via OMV-Extras.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;System -&amp;gt; OMV-Extras.org -&amp;gt; Install Backports 3.2 kernel&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="plex-media-server"&gt;Plex Media Server&lt;/h3&gt;
&lt;p&gt;Plex Media Server is available as a plugin once the OMV-Extras plugin
repository is enabled. Plex is managed via the OMV WebUI.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Services -&amp;gt; Plex&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="transmission"&gt;Transmission&lt;/h3&gt;
&lt;p&gt;Transmission is available as a plugin once the OMV-Extras plugin repository is
enabled. Transmission is managed via the OMV WebUI.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Services -&amp;gt; BitTorrent -&amp;gt; Server&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It&amp;rsquo;s all very straight forward. I use the following block list.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://list.iblocklist.com/?list=bt_level1&amp;amp;fileformat=p2p&amp;amp;archiveformat=gz"&gt;http://list.iblocklist.com/?list=bt_level1&amp;amp;fileformat=p2p&amp;amp;archiveformat=gz&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That pretty much covers the stuff I won&amp;rsquo;t remember in the future. I&amp;rsquo;m considering
adding LXC and Dropbox in the coming that will require some manual steps.&lt;/p&gt;
&lt;h4 id="references"&gt;References&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://thekentishman.wordpress.com/guides-2/open-media-vault-set-up/"&gt;http://thekentishman.wordpress.com/guides-2/open-media-vault-set-up/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://myhpmicroserver.com/wiki/Main_Page"&gt;http://myhpmicroserver.com/wiki/Main_Page&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><summary>Open Media Vault on the HP ProLiant MicroServer G7 N54L</summary></item><item><title>Headless Debian 6.0 Torrent Server</title><link>https://blog.wimpys.world/posts/headless-debian-6.0-torrent-server/</link><pubDate>Thu, 21 Mar 2013 17:35:22 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/headless-debian-6.0-torrent-server/</guid><description>&lt;p&gt;I recently switched ISPs at home and now have unlimited high speed broadband.&lt;/p&gt;
&lt;p&gt;Finally I can participate in torrenting Linux .ISO images. I always download
the latest distros using &lt;a href="http://en.wikipedia.org/wiki/BitTorrent"&gt;BitTorrent&lt;/a&gt;
and can now contribute to the community by seeding the distros I&amp;rsquo;ve downloaded.&lt;/p&gt;
&lt;p&gt;I have a small (in size and resources) &lt;a href="http://www.debian.org"&gt;Debian&lt;/a&gt; 6.0
headless server at home that I wanted to turn into a torrent box. I&amp;rsquo;m a big fan
of &lt;a href="http://www.transmissionbt.com/"&gt;Transmission&lt;/a&gt; since it can be managed from
the shell, web and Android phone/tablet. Sadly, the Transmission packages in the
official Debain squeeze repositories are quite old, 2.03 at the time of writing,
and there are no Transmission packages in &lt;a href="http://backports-master.debian.org/"&gt;Debian Backports&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;However after flexing my &lt;em&gt;google-fu&lt;/em&gt; I found a &lt;a href="http://apt.balocco.name/changelog.txt"&gt;3rd party Debian Squeeze
repository&lt;/a&gt; that includes fairly current
(2.73 at the time of writing) Transmission packages specifically for headless use.
Yah!&lt;/p&gt;
&lt;h2 id="install-transmission-daemon"&gt;Install Transmission Daemon&lt;/h2&gt;
&lt;p&gt;First become root.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo -s -H
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Add the repository key.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt-key adv --keyserver keyserver.ubuntu.com --recv-key 92B84A1E
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Add the repository.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;deb http://apt.balocco.name squeeze main&amp;#34;&lt;/span&gt; &amp;gt; /etc/apt/sources.list.d/balocco.list
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Update the package list.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt-get update
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Install Transmission.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;apt-get install transmission-cli transmission-daemon transmission-webinterface
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="basic-configuration"&gt;Basic Configuration&lt;/h2&gt;
&lt;p&gt;The Transmission settings can be found in &lt;code&gt;/etc/transmission-daemon/settings.json&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;If &lt;code&gt;transmission-daemon&lt;/code&gt; is running when you make changes to &lt;code&gt;settings.json&lt;/code&gt;
the changes you make will be discarded the next time &lt;code&gt;transmission-daemon&lt;/code&gt; is started.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Therefore either stop &lt;code&gt;transmission-daemon&lt;/code&gt; before you make any changes or you can make
the daemon reload &lt;code&gt;settings.json&lt;/code&gt; by sending it the SIGHUP signal.&lt;/p&gt;
&lt;h3 id="connect-from-anywhere"&gt;Connect from anywhere&lt;/h3&gt;
&lt;p&gt;If you want to be able to connect to Transmission from anywhere on the Internet
stop &lt;code&gt;transmission-daemon&lt;/code&gt;, make the following changes to &lt;code&gt;settings.json&lt;/code&gt; and
then start &lt;code&gt;transmission-daemon&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-json" data-lang="json"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s2"&gt;&amp;#34;rpc-password&amp;#34;&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;YourPlainTextPassword&amp;#34;&lt;/span&gt;&lt;span class="err"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s2"&gt;&amp;#34;rpc-username&amp;#34;&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;YourUsername&amp;#34;&lt;/span&gt;&lt;span class="err"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="s2"&gt;&amp;#34;rpc-whitelist-enabled&amp;#34;&lt;/span&gt;&lt;span class="err"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="err"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The &lt;code&gt;rpc-username&lt;/code&gt; field will need adding but you can edit the existing entry
for &lt;code&gt;rpc-password&lt;/code&gt;. Enter the &lt;code&gt;rpc-password&lt;/code&gt; as a plain text string, Transmission
will automatically convert the password to a hash the next time it is started.&lt;/p&gt;
&lt;h2 id="connect-via-a-browser"&gt;Connect via a browser&lt;/h2&gt;
&lt;p&gt;You should now be able to access the Transmission web interface via
&lt;code&gt;http://yourhost.example.org:9091&lt;/code&gt;. If you didn&amp;rsquo;t change the username and password
(you really should) the defaults are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Username : &lt;code&gt;transmission&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Password : &lt;code&gt;transmission&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="connect-via-android"&gt;Connect via Android&lt;/h2&gt;
&lt;p&gt;I have an Android phone and an Android tablet. I use
&lt;a href="https://play.google.com/store/apps/details?id=com.neogb.rtac"&gt;Remote Transmission&lt;/a&gt;
on my Android devices to manage my torrent box.&lt;/p&gt;
&lt;h2 id="connect-via-the-shell"&gt;Connect via the shell&lt;/h2&gt;
&lt;p&gt;If, like me, you spend the majority of you time at the shell. Then
&lt;a href="https://github.com/fagga/transmission-remote-cli"&gt;transmission-remote-cli&lt;/a&gt; is
probably for you. All my workstation run &lt;a href="http://www.archlinux.org"&gt;Arch Linux&lt;/a&gt; so
I install &lt;code&gt;transmission-remote-cli&lt;/code&gt; as follows.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo pacman -S transmission-remote-cli
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;See the GitHub project page for &lt;code&gt;tramission-remote-cli&lt;/code&gt; for instructions on how
to connect to a remote Transmission daemon.&lt;/p&gt;
&lt;h2 id="block-list"&gt;Block List&lt;/h2&gt;
&lt;p&gt;Regardless of how you intend to use Transmission you should enable a block list,
this can be done via &lt;code&gt;settings.json&lt;/code&gt; and the web interface. The following block
lists are a good start.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://list.iblocklist.com/?list=bt_level1&amp;amp;fileformat=p2p&amp;amp;archiveformat=gz"&gt;http://list.iblocklist.com/?list=bt_level1&amp;amp;fileformat=p2p&amp;amp;archiveformat=gz&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.bluetack.co.uk/config/level1.gz"&gt;http://www.bluetack.co.uk/config/level1.gz&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That covers the basics for getting Transmission running on headless Debian 6.0 and
how to connect to it from just about anywhere and on any device. I recommend reading
the &lt;a href="https://trac.transmissionbt.com/wiki"&gt;Trasmission Wiki&lt;/a&gt; as Transmission is
capable of so much more than I have covered in this blog post.&lt;/p&gt;
&lt;p&gt;Happy torrenting.&lt;/p&gt;
&lt;h4 id="references"&gt;References&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://apt.balocco.name/changelog.txt"&gt;http://apt.balocco.name/changelog.txt&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.lowendtalk.com/discussion/1001/squeeze-repository"&gt;http://www.lowendtalk.com/discussion/1001/squeeze-repository&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://trac.transmissionbt.com/wiki/EditConfigFiles"&gt;https://trac.transmissionbt.com/wiki/EditConfigFiles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/fagga/transmission-remote-cli"&gt;https://github.com/fagga/transmission-remote-cli&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.iblocklist.com/"&gt;http://www.iblocklist.com/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><summary>Installing Transmission daemon on headless Debian (Squeeze) 6.0</summary></item></channel></rss>