Category Archives: server

Installing Madsonic 5.1 the FREE Subsonic alternative on NAS4Free

Why Madsonic rather than Subsonic?

Madsonic is a fork of Subsonic the excellent cross platform web based media streamer which is free to use for media streaming but which has some ‘premium features’ only available by a low cost subscription.

Of particular interest to me was the ability to record, store, manager and stream my podcast subscriptions as there is nothing else similar which provides a web interface and cross platform APPs for mobile devices which works in NAS4Free. The Podcast capability comes under the Premium features of Subsonic. Madsonic being a fork of Subsonic works in a similar way to Subsonic, except it is truly free and Podcast management is included and runs exceptionally well in a BSD Jail in NAS4Free.

Continue reading Installing Madsonic 5.1 the FREE Subsonic alternative on NAS4Free


Install And Configure Nagios on Ubuntu 14.04 LTS

This is a great blog post on Unixmen about installing Nagios, an open source network and infrastructure software solution, on Ubuntu Server 14.04LTS. Not only does it cover the install but also a basic configuration for monitoring a networked computer.

If you do not know how to install Ubuntu Server 14.04.1LTS then read the following blog post on HowToForge

If you have not got a spare computer lying around but have one with 4Gb of RAM, make it multi-purpose and install VirtualBox on it . Then install Nagios as virtual machine on Ubuntu Server under Virtualbox.

As with everything open source, the only cost is your time to install and your willingness to explore and learn.


Installing Subsonic 5.0 on NAS4Free 9.2.x Embedded–PART 1

To be able to run Subsonic on a NAS4Free server you need to run it within its own separate environment which is called a Jail. There are different ways of creating a Jail within NAS4Free, this post is going to cover installing TheBrigg Jail manager. In part 2 we will look at how to install Subsonic within a Jail in NAS4Free.

PART 1 – Install TheBrig Jail manager and associated YouTube video

Note: All existing Jails must be removed from NAS4Free

Create a directory to contain your Jail, do this in the root of your data drive rather than anywhere else. in my case the directory was created on the first data drive called data1

From terminal SSH into your server and create a directory called Jail in the root of your share:

mkdir /mnt/data1/Jail

Change directory to the root of the share by entering

cd /mnt/data1

Now we are going to download the script from and save it to the current directory using the fetch command

fetch -o

If successful you should get something similar to the following

clip_image001.png Continue reading Installing Subsonic 5.0 on NAS4Free 9.2.x Embedded–PART 1

Installing MiniDLNA extension in NAS4Free

Before you start making any changes to your NAS4Free server, please remember to backup your config.xml file

Before you can install MINIDLNA on your NAS4Free server, you need to ensure you have SSH setup.

Configuring SSH Access

From the NAS4Free menu select Services > SSH

Check the Enable box on the right hand side to enable SSH.

In my screenshot below I have checked the Permit Root Login option, this is optional but useful.


Then click Save and Restart to start the service.

Continue reading Installing MiniDLNA extension in NAS4Free

FreeNAS 0.8 Beta 2/12/10 – Installation and Basic Configuration

Back in August I explained how to Install FreeNAS 0.7 Network Attached Storage Server on to a low specification PIII PC with plenty of disk storage.

Back in November iXsystems announced FreeNAS 0.8 Beta with the following changes:

  • FreeNAS 0.8 has undergone a complete rewrite.
  • The GUI has been redesigned to be easier to use and extend. Rewritten using Python and Django.
  • Improved hardware support, faster I/O, better modularity, and easier upgrades (see Note below).
  • The base system has migrated from FreeBSD 7.x and the m0m0wall build system to FreeBSD 8.1-RELEASE and NanoBSD.
  • The installation types have changed; there’s no longer an embedded or full install, nor can the image be installed on a data disk. You must now install FreeNAS onto a dedicated device.
  • FreeNAS 0.8 features ZFS version 14
  • The media centre features of the box have not been reimplemented in the core FreeNAS package. This will be added as an add-on at a later date.

So as the user interface has changed, I though it worth rewriting my August blog post.

One thing to note is FreeNAS version 0.8 currently ONLY supports upgrades to FreeNAS 0.8. It is not possible to upgrade from 0.7 or earlier.

These instructions were written using the FreeNAS 0.8 Beta release of the 02/12/10 running in a VirtualBox VM. I do not recommend using any Beta software for any purpose other than testing, as by it’s nature it is incomplete and undergoing rapid development.

What you Need!

  • One low specification PC, the less power it consumes the better as a NAS box generally gets left on for hours/ days on end. A Pentium III is probably a good starting point, with 512Mb of RAM, but if you are serious about power consumption then an Intel Atom or similar CPU is recommended.
  • A 512Mb (for RC2 this is now 1Gb, thanks to vyccid for letting me know about this change) USB stick (assuming the PC can boot* off a USB device) or a low capacity hard disk on which to install the operating system
  • At least 1 hard disk to store your data.

* If your PC does not support USB boot a work-around is to use


Boot off the FreeNAS 0.8 CD, you will briefly be shown the following screen before the default option is selected and you are taken to the main installation menu.

The main boot menu will then be displayed.

Choose option 1 and select OK

All available physical disk media will now be displayed. In my case below I have one 256Mb hard disk available. This will become the FreeNAS system disk. I will add my data disk later, although this is not a requirement.

Select the disk you wish to install FreeNAS on (remember this disk is only for the operating system) so does not need to be large. Select OK.

Before FreeNAS is installed on the chosen disk, you will get the following warning message. Read it and if happy select Yes.

The disk will now be formatted and the operating system installed.

Once this has completed, the following screen will be displayed. Follow the instruction and then press OK.

On reboot you will be given a FreeBSD login prompt as below.

Enter the username of root and the password of freenas to login.

The first problem you will encounter is that there is no menu for setting the IP address or even a display of what it current IP address is set to! Hopefully, it will be recognised by the FreeNAS developers that this is an oversight.

To display you IP address enter the command ifconfig, you will see something similar to the following screen-shot which shows an IP address of

Setting the IP address is now only possible, unless you like using Vi editing Unix configuration files, via the web interface. Whilst this may seem like a backward step, I think it is a good move as it means that all configuration is now done through the GUI.

Open a web browser and type in the IP address. In our case this is You will then get the login screen.

Enter the defualt username of Admin and the password of freenas

You will be taken to the FreeNAS Home page

The first thing you need to do is change you Timezone in the settings tab, using the drop-down, then click Save Settings.

Setting a Fixed IP Address

To do this, in the toolbar click on Network and then in the Network Settings tab, select Interfaces.

Click Add Interface.

Normally you will select em0 if you only have one NIC in your PC. lo0 should not be used as it is local.

You can give your interface any name you wish but I tend to stick to calling my interfaces eth followed by a number in this case 0.

Then enter an IPv4 IP address, I will use

Click Add Interface.

At this point your connection with your FreeNAS web interface will be lost as you have changed the IP address of the server from a variable DHCP address to a fixed address.

In your web browser change you IP address to the new fixed address. In our example this is

You will be asked to login again and you will then be shown your network interfaces window

Attaching Storage

So far all we have done has been to install the FreeNAS operating system and set a fixed IP address. The next step is to make our FreeNAS server useful and turn it into a network storage device by adding disks.

To do this click on Storage on the FreeNAS toolbar.

Now click Storage Wizard. The following window will be displayed

Enter a Volume Name, we are going to use NASDISK1

Select the file system type, I’m going to use UFS as the future of ZFS remaining opensource under Oracle in currently in question. A real shame as this is a good file system.

Finally select the disk you want to assign to the Volume. I have two ad1 and ad3. I will select ad1.

Click Next>>

You will now get a summary screen of your settings, click Save

Having repeated this process for my second disk, the store screen now looks like the following, showing two active disks.

I’m now going to edit some of the default settings for each of my disks by doing the following:

  1. Click the View Disks button for NASDISK1
  2. The Disks in volume 1 window will appear, click Edit for ad1
  3. I’m going to set the following:

HDD Standby will be set to 30 seconds

Adcanced Power Management will be set to Level 1

Th results will look as follows

Click Update ad1 (ad1) and then repeat for all remaining disks.

Sharing the Disks (Windows Shares)

With the disks mounted and a file system allocated, the next step is to share the disks. In this example I’m going to use Windows Sharing as this is universal to all operating systems.

From the FreeNAS toolbar click on Sharing. The following screen will be displayed

Click Add Windows Share. You will be asked for the following

  • Share Name, in this example I will call it WINShare1
  • Path, this is the disk you want the share to be associated, so in this example we will select /mnt/NASDISK1 from the drop-down menu.

The results will look like the following screen-shot. Click Add Windows Share to save the settings.

Repeat for all remaining disks you wish to share.

Once you have finished your Sharing screen will look similar to the following

With your shares set-up, you now need to start the Windows Shares service. To do this click Services on the FreeNAS toolbar.

Click on the OFF button adjacent to Windows Shares, this will turn on the service, the button will change to ON.

Note: I’m not sure of this is a problem or not, but I found that after setting up the shares, it was necessary to reboot the server otherwise you will be asked for a login id and password and nothing seems to work! This might have been because I enabled the Samba service for the first time for Windows Shares.

When browsing for Windows shares, some reason they appear under the workgroup of MyGroup. This is not configured in /usr/local/etc/smb.conf as the Samba workgroup is set to FREENAS. So I assume must be a unexposed configuration setting in the FreeNAS configuration file and I can’t find a setting in the GUI.


The interface is considerably easier to use when setting up shares, in fact is it very “polished” compared to FreeNAS 0.7. and should attract a lot more non-technical users. The issue of not displaying the default DHCP IP address on boot-up is a problem in this respect and I hope this is addressed before the final release candidate is published.

Currently, in terms of functionality FreeNAS 0.8 does not compare to 0.7 as a lot of the functionality is missing. Anyone planning to move to 0.8 from 0.7 will find that unless they use FreeNAS as a basic NAS server, this is a retro step, especially as there is no upgrade path from 0.7.

From what I can tell, the following functionality is currently missing when compared to 0.7:

  • User Account creation and permission setting on shares – currently absent and this needs to be urgently addressed via the GUI.
  • File Browser and Editor – currently absent
  • Plug-ins – currently absent
  • System Information screen only provides Basic details, Live CPU, Memory and Disk Space Usage is missing
  • The Backup option is missing, as are system packages.
  • Not sure whether a Firewall is present and if it is there is no GUI to configure
  • Users and Groups are missing
  • Only file sharing services are currently present, thing like iTunes, Webserver, and BitTorrent are missing

Hopefully this will be partly resolved in the final release, bearing in mind that this is only a Beta and a lot can change! Furthermore, it would be very unfair to disregard the amount of progress made in the past 12 months in the development of FreeNAS. If this pace continues, then I’m sure it won’t be too long before missing features are restored.

What is very clear is that a lot of effort has been put into making FreeNAS very easy to use. In my opinion the developers have done an really excellent job.

A lot of the missing functionality is because 0.8 is a complete re-write and therefore the developers have had to effectively start from scratch, so the absence of features is very understandable

I really look forward to watching how the FreeNAS 0.8 development progresses in 2011. If most of the missing features in 0.7 are eventually restored in 0.8, then I’m definitely upgrading to what looks like becoming the ‘killer’ NAS solution outside of using dedicated hardware.

Congratulations to the FreeNAS team for continuing to create a excellent NAS solution.

Powered by Blogilo