In the past two articles, we have talked about FreeNAS hardware and skill requirements plus howto perform the installation and network connection. Now that we have the basics covered and our FreeNAS servers are actually running, we can start to configure them so they are useful.
Log Into The WebUI
One of the favorite parts of the FreeNAS system is the webUI. A webUI is simply a web based user interface. You use a web browser to access the system and make any configuration changes.
To access the webUI, you simply open up your favorite web browser (cough…cough…Firefox). In the address bar, type in the website URL that you wrote down when you got the network IP address from DHCP in the previous article.
In our example it was http://192.168.202.54.
You will now be prompted to log into the FreeNAS server. The default username is admin and the default password is freenas. Click OK.
Note: One of the first things that we are going to do is change these!
You are now in the FreeNAS system status page of the webUI.
The webUI is broken into two sections. On the left had side is the menu where you will select different options. On the right is where you will set and configure the options.
For the purpose of this article, we are going to focus on the top three main sections of the menu.
Lets start to configure the system. Under the System menu, click on General setup. You will see a list of several options available here. We are not going to talk about all of them but I would like to focus on a few that you should set.
At the top of the page is the Hostname. This is the name the your FreeNAS server will be known by on your network. There really is no restrictions here except that it can’t contain any spaces or special characters. So FreeNASServer, FileServer, NY-FS-01, and JustenCase are all legitimate host names. It really is up to you.
Next is the Domain. This is the internal domain name that exists on your network. This should match so that the FreeNAS server knows how to communicate properly.
The third item to set is DNS servers. This is very important, especially if you are using them inside your network. It is less important if you are not but it is still useful if the system needs Internet access (e.g. if you set time servers). Set the DNS servers to the same settings as the rest of the local subnet.
If you are not sure about what some of these previous entries should be, you can download a tool that I wrote which will attempt to gather this information from your computer and display it so that you can then just enter it into the screens.
The next two items are the most important. Even if you leave the other three items the same, you should definitely change these items. The first is username. The default is admin. I suggest you change it to something obscure but memorable.
This also goes for the password. There are tons of articles on howto write better passwords. Please read one and create a great password. If you are having trouble creating a password, feel free to use this one that has been randomly generated (it changes every time you reload the page):
Now enter your twice into the password field so that you do not accidentally write the wrong password and lock yourself out of the FreeNAS server.
Once you are done you can save the information by clicking the button. In the end, this is how my setup looked:
Next, we are going to work on fine tuning the network. Click on LAN under Interfaces.
There are a few options that we want to change here. The first is Type. Since there is a possibility of the IP address changing when it is set to DHCP, it is always recommended that the FreeNAS server be set to Static. This way, it will always be available.
When selecting a static IP address, make sure that the IP address is not in use or will not be used in the future. You can check to see if your IP address is presently being used by using the ping command.
This does not guarantee that the IP address is not being used but it does tell you it is not being used write now and that your IP address is still a good candidate. You should also check to see that the IP address is not in your DHCP scope because it could then potentially be used in the future. Most well designed IP network infrastructures has a static IP section in the subnet reserved for these IP addresses.
The subnet mask should match the subnet mask for the rest of the network. This can be retrieved using the ipconfig command.
Since Windows typically will give the mask in dotted decimal notation (e.g. 255.255.255.0) and FreeNAS uses CIDR notation (e.g. /24), you will need to convert your subnet mask into CIDR notation.
The final entry is the Gateway. This should be set to the same as the default gateway on your own computer system. This information can also be retrieved using the ipconfig command.
When you have made your changes, click the button.
Note: If you have changed the IP address from the one that was assigned to you in DHCP to something different, you will need to close your web browser and then reconnect to the new IP address once you click .
My final settings look like this:
There are a number of other settings and tweaks that we could do in these areas but I think that we have talked about the most critical ones. The next step will be to set up actual disks for use in FreeNAS.
|Trackback link - http://www.dailycupoftech.com/freenas-basic-configuration/trackback/|