didnt someone just say its not possible? lol<br><br>
<div><span class="gmail_quote">On 29/04/2008, <b class="gmail_sendername">Alan Pope</b> &lt;<a href="mailto:alan@popey.com">alan@popey.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Tue, 2008-04-29 at 14:03 +0100, Javad Ayaz wrote:<br>&gt; or ill just say its part of my going green aim!!! lol<br>
<br>An admirable goal. Certainly a little nslu2 and a usb drive will take<br>much less power than a multi-core CPU machine with a monster video card,<br>driving a flat panel.<br><br>What I do is have an old PC I was given for nothing which draws about<br>
30W. It&#39;s a Dell Optiplex G1, which has the following specification:-<br><br>$ grep MHz /proc/cpuinfo&nbsp;&nbsp;# 400MHz CPU<br>cpu MHz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 398.790<br><br>$ grep MemTotal /proc/meminfo&nbsp;&nbsp;# 192MiB RAM<br>MemTotal:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 190740 kB<br>
<br>$ df | head -n 2<br>Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Size&nbsp;&nbsp;Used Avail Use% Mounted on # 6GB Disk<br>/dev/sda1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5.7G&nbsp;&nbsp;4.3G&nbsp;&nbsp;1.1G&nbsp;&nbsp;81% /<br><br>Which is running Ubuntu Hardy Server (upgraded from Gutsy, previously<br>upgraded from Feisty). I put it on my network and installed the<br>
necessary packages to enable me to logon to it:-<br><br>(all the commands below are run on the server)<br><br>$ sudo apt-get install ssh<br><br>And then installed the rtorrent package to enable me to download<br>torrents:-<br>
<br>$ sudo apt-get install rtorrent<br><br>Next we install the program &quot;screen&quot; which allows things to carry on<br>running when you&#39;re disconnected:-<br><br>$ sudo apt-get install screen<br><br>Then on my desktop PC I go and find a torrent I want to download, ah,<br>
here is one:-<br><br><a href="http://releases.ubuntu.com/hardy/ubuntu-8.04-alternate-i386.iso.torrent">http://releases.ubuntu.com/hardy/ubuntu-8.04-alternate-i386.iso.torrent</a><br><br>I then open a terminal on my desktop and ssh from my desktop to the<br>
server:-<br><br>$ ssh <a href="http://192.168.129.5">192.168.129.5</a><br><br>(Note: <a href="http://192.168.129.5">192.168.129.5</a> is the IP address my server has, yours may be<br>different of course depending upon how you configured your network)<br>
<br>I then get the torrent to the server machine:-<br><br>$ wget<br><a href="http://releases.ubuntu.com/hardy/ubuntu-8.04-alternate-i386.iso.torrent">http://releases.ubuntu.com/hardy/ubuntu-8.04-alternate-i386.iso.torrent</a><br>
<br>Which gives output that looks like this:-<br><br><a href="http://pastebin.ubuntu-uk.org/872">http://pastebin.ubuntu-uk.org/872</a><br><br>Then run rtorrent:-<br><br>$ screen -S hardytorrent rtorrent ubuntu-8.04-alternate-i386.iso.torrent<br>
<br>This then gives a screen which looks like this:-<br><br><a href="http://pastebin.ubuntu-uk.org/873">http://pastebin.ubuntu-uk.org/873</a><br><br>(which shows that it&#39;s _just_ started downloading).<br><br>A few minutes have now passed since I typed that and thanks to the<br>
lovely people at Ubuntu, and the equally lovely people at Virgin Media<br>(providing me with a 20Mb/s connection) I get something like this:-<br><br><a href="http://pastebin.ubuntu-uk.org/874">http://pastebin.ubuntu-uk.org/874</a><br>
<br>Look at him go! 2 MegaBytes a second.<br><br>Ok, I need to go for a cup of tea, and maybe shutdown my desktop for<br>some contrived reason, so I press the following keys in the rtorrent<br>session:-<br><br>CTRL+A then D<br>
<br>The word &quot;[detached]&quot; appears, which shows that I am no longer attached<br>to the screen session. I can now logout of the server with:-<br><br>CTRL+D<br><br>Now I could shutdown my desktop, go to bed and dream of torrents.<br>
<br>Time passes...<br><br>WAKEY WAKEY! Rise and Shine! It&#39;s morning, which must mean it&#39;s time to<br>check the torrents!<br><br>So, we boot up the desktop and then ssh to the server:-<br><br>$ ssh <a href="http://192.168.129.5">192.168.129.5</a><br>
<br>Now, lets see if that screen session (containing rtorrent) is still<br>running by just typing this:-<br><br>$ screen -ls<br>There is a screen on:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 21100.hardytorrent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Detached)<br>1 Socket in /var/run/screen/S-alan.<br>
<br>So that means that my rtorrent is probably still running but nobody is<br>attached, watching it. Lets re-attach to screen to see if it&#39;s finished<br>torrenting the ISO image:-<br><br>$ screen -r hardytorrent<br><br>
Ooh, it&#39;s finished:-<br><br><a href="http://pastebin.ubuntu-uk.org/876">http://pastebin.ubuntu-uk.org/876</a><br><br>(Note: I actually stopped rtorrent by accident and restarted it, but it<br>carried on regardless)<br>
<br>When finished, if I want to quit rtorrent (and hence screen) I press:-<br><br>CTRL+q<br><br>I then see:-<br><br>[screen is terminating]<br><br>Job done.<br><br>I can now copy the files over from the server to my desktop using the<br>
Ubuntu/Gnome places menu to create a connection to my server.<br><br>My manky old PC actually also has a USB drive attached, so I could<br>rtorrent directly to it rather than store on the small internal hard<br>disk, but as you can see, my usb disk is a bit full too :)<br>
<br>Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Size&nbsp;&nbsp;Used Avail Use% Mounted on<br>/dev/sdb1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 699G&nbsp;&nbsp;690G&nbsp;&nbsp;9.3G&nbsp;&nbsp;99% /media/750GDisk<br><br>:)<br><br>Hope that&#39;s helpful.<br><br>Cheers,<br>Al.<br><br>--<br><a href="mailto:ubuntu-uk@lists.ubuntu.com">ubuntu-uk@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk">https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk</a><br><a href="https://wiki.ubuntu.org/UKTeam/">https://wiki.ubuntu.org/UKTeam/</a><br><br><br></blockquote>
</div><br>