FreeNAS Bittorrent Connection Failed

I had managed to install the FreeNAS 0.69 (Kwisatz Haderach) server on one of my old PC. I would say it’s a great piece of software that has features such as CIFS/SMB, NFS, RSync and etc.

However I encountered a problem while trying to use Bittorrent service with the following configuration.
The problem is

Connection Failed
Could not connect to the server. You may need to reload the page to reconnect.

Configuration for Bittorrent

Port: 9091
Download directory: /mnt/Disk (mounted drive)
Configuration directory: blank

After spending hours of trying to find the actual cause, it’s because of default port (9091) used by FreeNAS acccording to admius’s post from FreeNAS forum https://apps.sourceforge.net/phpbb/freenas/viewtopic.php?f=60&t=104&sid=cebebf6b1276cd38a3fb30af0b3d9b0a#p437

Changed the port to 9000 instead of default 9091.

Port: 9000
Download directory: /mnt/Disk (mounted drive)
Configuration directory: blank

Leave a Comment

Happy New Year 2009

May all your wishes come true in the great year of 2009.

Leave a Comment

CakePHP 1.2 Final

The CakePHP 1.2 Final has been released.

First of all, I must say “Thanks to the core developers of CakePHP” You guys have worked really hard to get this beautiful framework done for Christmas and Happy New Year 2009. It’s a great news to its community and developers like me to benefit from this.

The development of  CakePHP 1.2 was started in late 2006 and released final in late 2008. With the plenty of developers involved, the plenty of new features and tests have been added. See announcement

Merry Christmas & Happy New Year 2009

Leave a Comment

How to Setup DNS in Webmin

After the installation of Webmin, I have not been able to catch up with it lately as I was busy over other personal stuff. So I will write quick-setup on DNS in Webmin.

Here are instructions:

1. Log into Webmin control panel
2. Update Webmin if necessary
3. Go to Servers > Bind DNS Server

Create a Master Zone
1. Click on Create Master Zone
2. Enter the domain into Domain name / Network
3. Enter the domain into Master server
4. Check Add NS record for master server? (optional)
5. Enter the email into Email address
6. Enter the IP address into IP address for template records
7. Click Create
You will be redirected to the zone page of the domain that you created.

Create Address Records
1. Click on Address
2. Leave the Name field blank
3. Enter the IP into Address field
4. Click Create
Create www address record
5. Enter www in the Name
6. Enter the IP into Address field
7. Click Create
Create mail address record
7. Enter mail in the Name
8. Enter the IP into Address field
9. Click Create
Create ftp address record
10. Enter ftp in the Name
11. Enter the IP into Address field
12. Click Create
Create ns1 address record
13. Enter ns1 in the Name
14. Enter the IP into Address field
15. Click Create
Create ns2 address record
16. Enter ns2 in the Name
17. Enter the IP into Address field
18. Click Create
After you created necessary address records, click on the Return to Record Types.

Create Name Server (NS)
1. Click on Name Server
2. Enter the domain followed by dot (.) in Zone Name (e.g, domain.com.)
3. Enter ns1.domain.com. into Name Server
4. Repeat the above to create ns2.domain.com. as well
After Name servers are created, click on the Return to Record Types.

If you wish to create Mail Server on the domain, follow the below:
Create MX Record
1. Click Mail Server
2. Enter domain.com. into Name
3. Enter mail.domain.com. into Mail Server
4. Enter 10 in Priority
5. Click Save

If you have a problem or like this tutorial, I’d like to hear from you.

Leave a Comment

Install Webmin on CentOS 5

I just finished installed Webmin on my CentOS box. The interface has improved vastly over the years. It’s prettier and easier to configure and manage.

Before installing Webmin, you need to install its dependencies.

Install dependencies:
yum -y install perl-Net-SSLeay

Install webmin

Go to:
cd /usr/src

Download webmin:
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.440-1.noarch.rpm
(note: you should always use the latest release)

Install webmin:
rpm -i webmin-1.440-1.noarch.rpm

Comments (1)

Web Control Panels

There are so many control panels available for website management/web hosting over the Internet. They are

Cpanel (paid) http://www.cpanel.net/
DirectAdmin (paid) http://www.directadmin.com
Plesk (paid) http://www.parallels.com/plesk/
Interworx (paid) http://www.interworx.com/
Webmin (free) http://www.webmin.com
ISPConfig (free) http://www.ispconfig.org/
LxAdmin (free) http://lxlabs.com/
Web-cp (free) http://www.web-cp.net/

You should choose the control panel based on your requirements. I would choose based on
1. Does not require much resources such as CPU, Memory.
2. Requires minimum configuration.
3. Obviously free or less cost per month

Leave a Comment

CakePHP for domain and subdomain

If you are using CakePHP with domain and subdomain together, you’d need to enable Session in Cake for both domains. If not, Cake will set session only to the specific domain.

To enable the session for both domain and subdomain:

Go to
app/config/bootstrap.php

Enter
ini_set('session.cookie_domain', 'domain.com');

Leave a Comment

Enable Wildcard DNS in DirectAdmin

I just enabled Wildcard DNS in DirectAdmin. It is much easier than I thought. To enable it, you must be in Admin level.

Here is how to enable:

Amend to domain’s http config:

Go to Extra Features > Custom HTTPD Configurations

Click the domain that you wish to enable.

Enter ServerAlias *.|DOMAIN| in Httpd.conf Customization for domain.com

Click Save

Adding to DNS:

Admin Tools > DNS Administration > Choose domain

Add A record:

Enter *

Enter the IP of domain

Add CName:

Enter *.domain.com

Enter the domain followed by dot

You may need to restart Apache and wait for DNS propagated which may take up to 24-48 hours (usually, it should not take long).

Comments (1)

Hologram Google Earth

While browsing Google Earth Blog, I’ve found something cool. Guess what? It’s Google Earth hologram. It’s purely awesome! This reminds me of Tom Cruise’s Minority Report.

The technology is created by UbiqWindow and kudos to you guys!

Source from Google Earth Blog

The technology comes from UbiqWindow and lets a computer screen be projected in mid-air. They have devised a touchless way to interact with the “hologram”, and Google Earth is a great way to show off its capabilities. it’s not a 3D projection, just 2D. But, it sure looks cool. via Google Earth Design

Leave a Comment