Build a FreeNAS computer
First, you need to find a computer to use in this case. Make sure it has a network adapter, a CD drive, and a minimum of 128MB of RAM.
You also need some drive for storage: drive, USB drive. If you are going to use the LiveCD, you need to have a blank drive and a floppy disk to store the configuration.
Next, you need to download and burn the FreeNAS image to CD or DVD. Alternatively, you can download and install the packaged version on a drive.
Make sure you plug the FreeNAS computer into the network using the Ethernet cable between its wired network adapter and your Router or switch. Then insert the LiveCD disc into the drive, install the packaged version and start the computer.
If you use the LiveCD method, you need to make sure that the floppy disk must be inserted before booting. FreeNAS will search and use the configuration that exists in the floppy drive or start a new configuration during the boot process.
If prompted for Invalid System Disk , do not remove the floppy disk until you see that the FreeNAS program actually starts.
Since you must format the drives used for sharing / storing for the UFS file system, you can install FreeNAS on a drive, instead of always using FreeNAS.
If you only work with one drive, you can choose the option to automatically format and partition the drive for: FreeNAS and configuration, data storage space and sharing, exchange space. To do so, boot from the LiveCD, type 9 on the main interface menu and press Enter .
Run FreeNAS on the network
When FreeNAS starts, you will see the default IP, 192.128.1.250 , displayed with the Console Setup menu (see Figure 1). The program will automatically select the interface, so it will not be properly configured for the network adapter.
To check that you have the right interface, type 1 and press Enter . You will then see a list of interfaces, some interfaces with active connections will be marked UP .
Conversely, disconnect any network cable and see which interface is the interface that is connected to your network. Then scroll the interface and press Enter to select it.
To get a custom interface, you can select the None option. Then in the configuration dialog box, select Yes and press Enter .
If your network is set up in a subnet other than 192.168.1.x , then you will have to change the default static IP address of FreeNAS or enable DHCP to receive the IP address automatically. In this case you should have a static and fixed IP because it is easy to remember.
To change the details of the IP address, type 2 into the main menu of the FreeNAS interface, then press Enter .
To use DHCP, select Yes , or set a static IP address, select No , then press Enter .
When setting up manually, you should use the default subnet mask of 24 (ie 255.255.255.0 ) and enter the Router's IP for the default gateway and DNS server. If using IPv4, ignore IPv6.
Conclude
In the second part of this series, we will introduce access to the graphical user interface and perform some initial configuration. Later, I will show you how to set up the disks and start sharing with the usual protocols.