Settings
The Settings tab, shown in Figure 4.6a, contains 4 tabs: General, Advanced, Email, and SSL.
Contents |
General Tab
Figure 4.6a: General Tab of Settings
Table 4.6a summarizes the settings that can be configured using the General tab:
Table 4.6a: General Tab's Configuration Settings
| Setting | Value | Description |
| Protocol | drop-down menu | select HTTP or HTTPS to use when connecting to the administrative GUI from a browser |
| WebGUI Address | drop-down menu | choose from a list of recent IP addresses for the one to use when accessing the administrative GUI; the built-in HTTP server will automatically bind to the wildcard address of 0.0.0.0 (any address) if the configured address becomes unavailable and issue an alert |
| WebGUI Port | integer | allows you to configure a non-standard port for accessing the administrative GUI |
| Language | drop-down menu | select the localization from the drop-down menu; requires a browser reload; ; you can view the status of localization at pootle.freenas.org |
| Timezone | drop-down menu | select the timezone from the drop-down menu |
| Syslog server | string | IP address or hostname of remote syslog server to send FreeNAS™ logs to |
If you make any changes, click the Save button.
This tab also contains the following three buttons:
Factory Restore: replaces current configuration with the factory default. This means that all of your customizations will be erased, but can be handy if you mess up your system or wish to return a test system to the original configuration.
Save Config: allows you to browse to location to make a backup copy of the current configuration in the format hostname-YYYYMMDDhhmmss.db. You should always do this before upgrading your system.
Upload Config: allows you to browse to location of saved configuration file in order to restore that configuration.
NOTE: If you intend to recreate volumes and restore the default configuration, delete the volumes first in Storage -> Volumes.
Advanced Tab
The Advanced tab, shown in Figure 4.6b, allows you to set some miscellaneous settings on the FreeNAS™ system. The configurable settings are summarized in Table 4.6b.
Figure 4.6b: Advanced Tab
Table 4.6b: Advanced Tab's Configuration Settings
| Setting | Value | Description |
| Enable Console Menu | checkbox | unchecking this box removes the console menu shown in Figure 2.4a |
| Use Serial Console | checkbox | do not check this box if your serial port is disabled |
| Enable screen saver | checkbox | enables/disables the console screen saver (see ticket 566) |
| Enable powerd (Power Saving Daemon) | checkbox | used to spin down disks, see powerd(8); this forum post demonstrates how to determine if a drive has spun down |
| Swap size | non-zero integer representing GB | affects new disks only |
| Show console messages in the footer | checkbox | will display console messages in real time at bottom of browser; click the console to bring up a scrollable screen; check the "Stop refresh" box in the scrollable screen to pause updating and uncheck the box to continue to watch the messages as they occur |
| Show tracebacks in case of fatal errors | checkbox | provides a pop-up of diagnostic information when a fatal error occurs |
| Show advanced fields by default | checkbox | several GUI menus provide an Advanced Mode button to access additional features; enabling this shows these features by default |
| Enable autotune | checkbox | enables the autotune script |
| MOTD banner | string | input the message you wish to be seen when user logs in via SSH |
If you make any changes, click the Save button.
This tab also contains the following buttons:
Rebuild LDAP/AD Cache: click if you add a user to AD who needs immediate access to FreeNAS™; otherwise this occurs automatically once a day as a cron job.
Save Debug: creates a text file of diagnostic information which includes the FreeNAS™ version, the status of all services and their settings, the contents of all *.conf files, the debug log, and hardware information.
Firmware Update: used to Upgrade FreeNAS™.
Import Plugins Jail: if you perform a fresh installation or lose your configuration, use this button to import a previously installed plugins jail. This will add the plugins jail and its installed PBIs back into the GUI.
Autotune
Beginning with 8.0.3, FreeNAS™ uses an autotune script to attempt to optimize the system depending upon the hardware which is installed. For example, if a ZFS volume exists on a system with limited RAM, the autotune script will automatically adjust some ZFS sysctl values in an attempt to minimize ZFS memory starvation issues.
Beginning with 8.2, an "Enable autotune" checkbox was added to System -> Settings -> Advanced. This box is unchecked by default; check it if you would like the autotuner to run at boot time. If you would like the script to run immediately, reboot the system.
If autotuner finds any settings that need adjusting, the changed values will appear in System -> Sysctls (for sysctl.conf values) and in System -> Tunables (for loader.conf values). If you do not like the changes, you can modify the values that are displayed in the GUI and your changes will override the values that were created by the autotune script. However, if you delete a sysctl or tunable that was created by autotune, it will be recreated at next boot. This is because autotune only creates values that do not already exist.
If you are trying to increase the performance of your FreeNAS™ system and suspect that the current hardware may be limiting performance, try enabling autotune.
If you wish to read the script to see which checks are performed, the script is located in /usr/local/bin/autotune.
Email Tab
The Email tab, shown in Figure 4.6c, is used to configure the email settings on the FreeNAS™ system. Table 4.6c summarizes the settings that can be configured using the Email tab.
Figure 4.6c: Email Tab
Table 4.6c: Email Tab's Configuration Settings
| Setting | Value | Description |
| From email | string | the From email address to be used when sending email notifications |
| Outgoing mail server | string or IP address | hostname or IP address of SMTP server |
| Port to connect to | integer | SMTP port number, typically 25, 465 (secure SMTP), or 587 (submission) |
| TLS/SSL | drop-down menu | encryption type; choices are plain, SSL, or TLS |
| Use SMTP Authentication | checkbox | enables/disables SMTP AUTH using PLAIN SASL |
| Username | string | used to authenticate with SMTP server |
| Password | string | used to authenticate with SMTP server |
| Send Test Mail | button | click to check that configured email settings are working; this will fail if you do not set the To email address by clicking the Change E-mail button for the root account in Accounts -> Users -> View Users |
SSL Tab
During installation, an unsigned RSA certificate and key are auto-generated for you. You can view these in System -> Settings -> SSL, as seen in Figure 4.6d. If you already have your own signed certificate that you wish to use for SSL/TLS connections, replace the values in the SSL certificate field with a copy/paste of your own key and certificate. The certificate can be used to secure the HTTP connection to the FreeNAS™ system (enabled in the Settings -> General Tab), as well as to secure FTP connections.
Table 4.6d summarizes the settings that can be configured using the SSL tab. This howto shows how to generate a certificate using OpenSSL and provides some examples for the values shown in Table 4.6d.
Figure 4.6d: SSL Tab
Table 4.6d: SSL Tab's Configuration Settings
| Setting | Value | Description |
| Organization | string | optional |
| Organizational Unit | string | optional |
| Email Address | string | optional |
| Locality | string | optional |
| State | string | optional |
| Country | string | optional |
| Common Name | string | optional |
| SSL Certificate | string | paste the RSA private key and certificate into the box |



