FreeNAS

From LinuxMCE
Revision as of 23:05, 26 September 2007 by Lozzo (Talk | contribs)

Jump to: navigation, search

FreeNAS is a free NAS (Network-Attached Storage) server, supporting: CIFS (samba), FTP, NFS, AFP, RSYNC, iSCSI protocols, S.M.A.R.T., local user authentication, Software RAID (0,1,5) with a Full WEB configuration interface. FreeNAS takes less than 32MB once installed on Compact Flash, hard drive or USB key. The minimal FreeBSD distribution, Web interface, PHP scripts and documentation are based on M0n0wall.

This device is automatically found and installed as a File Server, with the shares available mounted as Generic Windows Shares.


Troubleshooting

If every time the router is reloaded, you are asked to use the box as a Fileserver, but a device is never created check the following.

  • FreeNAS is not trying to act a Master Samba Server
  • FreeNAS box is on the same subnet as LinuxMCE (192.168.80.*)
  • FreeNAS box is in the same Workgroup (LinuxMCE)

Setting up device manually

  1. Log onto the Webadmin site
  2. scroll to the bottom on the left menu and click on "show devices tree" link
  3. click on "CORE"
  4. the device template will open in the right hand window.
  5. Along the top of the template click the link "Create Child Device"
  6. Click the button "Pick Device Template"
  7. A new window will pop up.
  8. Change the second drop down box to File\Media Server the click button labeled "Apply Filter" (this filters the third drop down box to only the device which meet the criteria listed in the top two drop down boxes.)
  9. Select File Server and click "Pick Device Template"
  10. Now you will be taken back to the original page, with a nearly complete device template for a File Server
  11. Change the Description
  12. Scroll to the bottom and add the username and password and check the check box if you want the box password protected.
  13. Click Save ( now you have added the machine, Now we have to add the shares on the machine)

Adding Shares to the File/Media Server we just created above

  1. Now that the Machine is saved, click "Create Child Device" (same place as before)
  2. Click the button "Pick Device Template"
  3. A new window will pop up.
  4. Change the second drop down box to Network Storage the click button labeled "Apply Filter" (this filters the third drop down box to only the device which meet the criteria listed in the top two drop down boxes.)
  5. Select Windows Share and click "Pick Device Template"
  6. Now you will be taken back to the original page, with a nearly complete device template for a Window Share
  7. Change the Description
  8. Scroll to the bottom of the page, as this is where we need to make some changes.
  9. PK_Users is a drop down list. I have alway selected Pluto's Structure, you may try additional options, but basically this sets up the directory structure under public like LinuxMCE wants it.
  10. add Correct Share Name, username, password
  11. under file system put in "cifs" or "smbfs" (smbfs seems to be more reliable with recent patch)
  12. check the appropriate check boxes for your situation and then press the save button.

Now you need to reload the router and you should have access to the media. If you do not immediately see the media listed on the orbiter, you need to perform the media file sync