PDA

View Full Version : Turn a Netbook into a torrentbox / File server using Ubuntu



SBcheater
19.09.09, 23:46
I decided to turn my Netbook into a dedicated torrent box and file server for a convenient always-on-low-power-consumption-"server"

Step 1: Get really bored
Step 2: Purchase a cheap netbook (I chose a Dell Mini 9 ($129 at the time))
Step 3: Grab a spare HDD
Step 4: Download an image of Ubuntu desktop edition

Go ahead and blow away that crappy pre-customized Ubuntu distro first off.

Then once you have successfully installed Ubuntu go to Synaptic Package Manager and install Samba (smbserv).

Once completed, open up terminal and root in.

Type "cd /etc/samba"

type "gedit smb.conf"

Copy and Paste this in there...just blow away all that is in there



[global]
panic action = /usr/share/samba/panic-action %d
workgroup = "INSERT-WORKGROUP-NAME-HERE"
netbios name = "INSERT-NETBIOS-NAME-HERE"
invalid users = root
security = user
wins support = no
log file = /var/log/samba.log
log level = 3
max log size = 1000
syslog = 1
encrypt passwords = true
passdb backend = smbpasswd
socket options = TCP_NODELAY
dns proxy = no
passwd program = /usr/bin/passwd %u
passwd chat =*Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
obey pam restrictions = yes
pam password change = no
null passwords = no
usershare owner only = false
#Share Definitions

[homes]
comment = Home Directories
browseable = yes
writable = yes
security mask = 0700
create mask = 0700




Note: this is mostly shared code with a few lines inserted in. I cannot take personal credit for it



Save and exit

Type "/etc/init.d/samba restart"

Insert new smb passwd

Type "smbpasswd -a INSERT-NETBIOS-NAME-HERE"



Once completed....

Open up Nautilus and right click on the directory you wish to share. I am far from proficient via terminal so I prefer the GUI option. Click 'Share Folder' insert the obvious information-here boxes. Go to your main PC (I use Windows 7 and not Linux for Gaming) and map the drives as such:

\\your-ip-address\share-name

Enter your credentials

YOU ARE 1/2 WAY DONE!
:und_wech:


This part is easy...

Open up preferences and click on Remote Desktop

Click enable and "do not sent authorization"- this way you don't have to click

YES on the Netbook every time you want to obtain access.

Go to your main PC (if you are using Linux moot this step)

Download VNC viewer.

Enter the IP address of the device


:klatsch_3: And done.:klatsch_3:


Results: :pasi:


MAIN SERVER & EXT HDD


http://img3.imageshack.us/img3/8923/0914092328.jpg


My Computer

http://img9.imageshack.us/img9/8346/pic2hb.jpg

BitClient

http://img141.imageshack.us/img141/5083/pic1nu.jpg






NOTE: I have tried my best to keep this Tut Jargon Less for n00bs to take advantage of it give it a try and remember possibilities are endless