Freenas

From Danleff Wiki
Jump to: navigation, search

--Danleff (talk) 07:37, 26 April 2015 (PDT)

Connect to Windows 7 machine

  • go to Control Panel -> Administrative Tools -> Local Security Policy
  • Local Policies - Security Options
  • Network security: LAN Manager authentication level
  • Send LM & NTLM responses
  • Minimum session security for NTLM SSP
  • Disable Require 128-bit encryption
  • I think i might have figured this out, now that im on a roll...
  • edit /etc/samba/smbusers and add to the line:
  • nobody = guest pcguest smbguest <your domain accountname here>
  • just the account name, not the whole DOMAIN\accountname


I am assuming you CAN contact your Freenasbox's webGUI from your win7 box. If not, check your connections...

Make sure your Freenasbox is up and running and that your Services|CIFS/SMB service is enabled (save and restart).

Make sure you have your shares properly defined in Services|CIFS/SMB|Shares and that you have the (edit share) "Set browseable" option ticked for each share (Save).

In windows7 open "windows explorer"; go to the bottom of the lefthand panel and click "network"; click in the textbox that says "search network" on the righthand part of your explorer window's bar (top right of windowframe); enter your freenasbox's name, the exact same one you baptized it in Services|CIFS/SMB|Settings|NetBIOS name and hit enter.

Your FreeNas box should come right up, but at times I have had to do this a few times, all the while right-clicking on the "computer" panel and selecting "refresh".

Once you find the freenas box, double click it (or singleclick-enter) and you should see your shares there; right-click the share you want and select "Map network drive". You will have the option of making the maping temporary or permanent.

Print Server

Static IP

  • To do this: Go to Network -> LAN
  • In IPv4 Configuration, select Static Type, IP address change the final number to 250 from the IP FreeNAS currently is assigned, and Gateway your router's IP address (should already be present).
  • Click Save at the bottom of the page.
  • You will then need to reboot, as suggested by the link near the top.
  • You will then need to login again using the newly assigned static IP given above.


Unison

I managed to get unison syncing doing the following:

  1. Downloaded the unison package (Note: link is for amd64) ftp://ftp.freebsd.org/pub/FreeBSD/ports ... .157_2.tbz
  2. Made sure I have a FreeNAS user with an actual home directory
  3. Extracted unison-text file in the user's home and made sure the rights are OK (execute for the user and the file belongs to the user)
  4. On the other machine (the one that connects to FreeNAS using SSH) created a unison profile that had to contain:

Code: Select all

   servercmd=/path/to/user/home/unison-text

(otherwise you get "unison: Command not found.")

If you haven't already, somewhere around step 4 you should do the usual unison / ssh setup.

Resources