Archive for January, 2010

Sub-£200 Hackintosh

Here are the specs of my soon-to-be-built hackintosh…

Gigabyte GA-G31M-ES2L iG31 Socket 775 mATX Motherboard
Manuf Code: GA-G31M-ES2L
£ 32.35

Intel Celeron Dual Core CPU – E1500 2.2 GHz (800 MHz) Socket 775 512kb Cache
Manuf Code: BX80557E1500
£ 34.63

Asus 8400GS Silent 512MB DDR2 DVI VGA Out PCI-E Graphics Card
Manuf Code: 8400GSILENTP512MA
£24.86

Crucial 2GB DDR2 800MHz/PC2-6400 RAM
Manuf Code: CT25664AA800
£ 34.00

Shiny Piano Black/Silver Slim MicroATX Mini Tower Case With 400W PSU
Manuf Code: 908BL
£ 31.05

Netgear GA311 PCI Network Card
Manuf Code: GA311-100PES
£ 16.49

Sony AD-5240S 24x Dual Layer SATA DVD±RW
Manuf Code: AD-5240S-0B
£ 15.30

TOTAL : £ 188.68

Ok, I’ve cheated a little bit – I already had an old 80GB SATA Hard Drive which I will use for this PC, but they can be picked up for around a tenner on ebay…

Installing Torrentflux on the Viglen MPC-L

This is a quick guide to installing Torrentflux on my Viglen MPC-L.

First, make sure that python, mysql-server and mysql-client are installed.

Then simply install the software with apt-get: -

    sudo apt-get install torrentflux

Once it is installed, point your web browser at the following location (where a.b.c.d is the IP address of your Viglen).: -

http://a.b.c.d/torrentflux

…and then start uploading .torrent files to it.

By default, files are saved in the following location: -

    /var/cache/torrentflux/

By default, the ports used are 49160- 49300, so remember to open these on your firewall/router.

Pictures of Hard Drive Swap in Revo

Here are some pictures of swapping the hard drive in my Acer Aspire Revo.

Windows 7 and Samba Shares

This is a quick guide to setting up Samba file sharing on my Viglen MPC-L server which is running Ubuntu 8.04.3 LTS. The client is a Windows 7 machine – no changes to the registry or local security policy were needed. The following applies to the version of samba from the repositories –   smbd version 3.0.28a.

1. Install Samba

sudo apt-get install samba smbfs

2. Edit Samba Configuration File

Find the line which is commented out – “;   security=user” and change it to: -

security = user
username map = /etc/samba/smbusers

Find the line “encrypt passwords = no” and change it to “encrypt passwords = true”

Add a section for each share that you want to be available: -

[data]
browseable = yes
comment = Data
path = /data
force user = viglen
force group = users
read only = No
guest ok = Yes

3. Add “smbusers” file

A new file is now needed to map smb users onto local linux users. Create the file: -

sudo vi /etc/samba/smbusers

and add the following to it: -

viglen = "viglen"

4. Change  SMB Password for user

Set a password for the viglen smb user by running the following command: -

sudo smbpasswd viglen

5. Restart Samba

sudo /etc/init.d/samba restart

6. Test Connection from Windows

Open a windows command prompt (Start -> cmd) and enter the following command (with the correct IP address and password)

net use q: \\aaa.bbb.ccc.ddd\data password /user:viglen

You should get a message “The command completed successfully.”, and Q: should be accessible through Windows Explorer etc.

To remove the share, enter the following command: -

net use /d q: