FreeNAS Tutorial for Windows Users - Part Two - Configuration
You can find my FreeNAS posts/Tutorials here:
- FreeNAS - switching back. About my decision to move back to FreeNAS from Windows Home Server.
- FreeNAS Tutorial for Windows Users - Part One - Installation - installing the FreeNAS server onto a PC. (this post)
- FreeNAS Tutorial for Windows Users - Part Two - Configuration - configuring FreeNAS and Windows File Sharing.
- FreeNAS Tutorial for Windows Users - Part Three - Upgrading - Upgrading your FreeNAS Server.
- Using Microsoft SyncToy 2 with FreeNAS - Automating your backups - for free.
- FreeNAS Tutorial for Windows Users - Part Five - XBOX 360 - Using FreeNAS with your XBOX 360
- FreeNAS Tutorial for Windows Users - Part 6 - Adding another drive
In Part One we installed FreeNAS onto our server. In this section we configure FreeNAS to allow Windows File Sharing and network browsing.
1. Open a browser and type in the IP address of your server (in our example from Part One the IP address was 192.168.1.250. A Logon Dialog will appear:
| The login name is “admin” and the password is “freenas”. Enter this and click enter. |
| 3. Click the Password tab. |
| 4. Enter the old password and then the new password in the dialog - the new password is entered twice. |
5. Click back to the General Tab.
- Here you can rename your server. The default name is freenas, and that works for me. Feel free to change it. I haven’t played with this so I would stick with a single word with no spaces or odd characters.
- If you are on a domain you can change the default. I’m just on a Workgroup, so I’ll leave this as local.
- For added security you can change the admin name to something else.
- Change the time zone so it reflects your location.
- Click the Enable NTP checkbox to allow the server to update the clock over the Internet.
6. Before configuring anything else we will reboot the server and make sure that we can still login with our new credentials. On the left navigation under system click on Reboot, then click on Yes.
7. The system will only take a minute or so to reboot. Refresh your browser window and type in your new credentials. Next we prepare the shared drive.
| 8. From the Navigation Menu select Management under Disks. In the screen displayed click the circle with the plus in it to add a new disk. |
That’s it! As you can see there are a lot of settings we didn’t mess with. You may want to, or need to change some of these. That is beyond the scope of this simple tutorial.
So let’s go test our new server!
First, the browser test. In your web browser type \\servername and press enter (since I called my server freenas, I type \\freenas\ into my web browser and the following dialog appears:
As you can see - this is a standard Windows Explorer view showing my server and the share I created, Data. There is no printer installed on my server, and I haven’t played with that option, but the printer icon shows as well.
Now I can map a network drive using the UNC of \\freenas\data.
That’s all there is to it. You can go and add additional shares to point to subdirectories in Data - I created folders called Music, Pictures, Movies, Videos, and Users (where I created folders for me and my kids). You can also set up users and groups and limit access to these shares based on the user/group.
There are a ton of features I haven’t even discussed. This tutorial just focused on getting the Windows File Sharing and Browsing set up. The FreeNAS Knowledgebase has a ton of additional information.
*** Random Post ***
January 2nd, 2008 at 11:19
[...] Part Two - Configuration [...]
January 5th, 2008 at 02:36
Worked like a charm. Thank you for the amazing set of instructions.
January 5th, 2008 at 09:33
@Shannon - thanks for letting me know it worked for you!
January 21st, 2008 at 07:47
CIFS/SMB does not work for me.
FreeNAS need name/passwd (or guest !!! / passwd).
But User in the Group/User is not accepted.
No problem with “FTP”. It works fine.
January 21st, 2008 at 10:56
@FeroS - Sounds like you don’t have CIFS/SMB authentication set to anonymous. My tutorial doesn’t cover user authentication - my LAN is secure, and I assume those within my LAN are trusted.
Set the authentication to anonymous and try it again.
January 21st, 2008 at 11:24
I have added my IP in CIFS/SMB / Shares / path / Hosts allow. And it works.
It does not work in Anonymous or Local user mode without my IP address.
I think there is problem of the longtime Windows user with UNIX reality :))
January 21st, 2008 at 11:28
@FeroS - did you put your local subnet into NFS|Authorized Networks? I put my subnet in there and leave the CIFS/SMB/Share/Hosts allow set to ALL.
January 21st, 2008 at 11:44
Yes. Now it is O.K. Thank you
There are several people with the same problem on the SourceForge FreeNAS forum.
January 21st, 2008 at 11:46
@FeroS - I’ll review my tutorial and make sure I make that step very clear.
January 21st, 2008 at 16:13
[...] Comment on FreeNAS Tutorial for Windows Users - Part Two … By FeroS I have added my IP in CIFS/SMB / Shares / path / Hosts allow. And it works. It does not work in Anonymous or Local user mode without my IP address. I think there is problem of the longtime Windows user with UNIX reality :)) Comments for STUFFLEUFAGUS - http://lagesse.org [...]
January 21st, 2008 at 20:32
@FeroS - I covered this NFS setting in step #13 ahead. Do you think I need to change it, or is the step written clearly?
January 25th, 2008 at 22:39
I have tried every way I know how along with going through this tutorial and I cannot access my shares using Cif. It always pops up the window for a guest user and wants a password. My authentication is set to anonymous, I added my network in NFS as well as in cifs but still no luck. Running the latest version of FreeNas.
January 25th, 2008 at 22:41
@Marvin - can you save your configuration and send it to me (email is in upper left). I’ll see if I can figure it out.
February 11th, 2008 at 01:18
Rob, Netmask should be set to 24 on NFS service.
February 21st, 2008 at 18:34
I had to manually add the “read only = no” value to the share I created in the smb.conf file in order to write to the Samba share using version 0.686.
February 26th, 2008 at 18:08
I had the same issue and added a share to the Data directory.
Path Name Comment Browseable
/mnt/Data/ Root Data Root No
Then went to \\nas\root
Then i created my folders then pointed the shares to it.
March 30th, 2008 at 19:51
I was having the same issues as the rest regarding the setup of CIFS shares. The rest of your tutorial works like a charm except for the section where I had to do a bit of Unix hacking to get it to work. In my particular situation I was unable to create new folders inside the mount points that I created in NFS and in CIFS. The work around that I used was to do the following from the console on the freenas server:
1. From “Console setup” select “6) Shell”
2. cd /mnt to get to the mount points in your freenas server
3. ls -la to get a directory listing and permissions of the items in the /mnt directory
4. Issue the command chmod 777 data or whatever the name of the directory is that you want to change the write permissions.
You should now be able to write files to the share that you created. You will need to do this going forward for any new directories that you create in freenas.
March 30th, 2008 at 19:55
@Tony - thanks for the additional information. I wonder why you ran into this and I never have? I’ve installed FreeNAS dozens of times and have never had to issue a single command via the shell. Odd - but do appreciated the added knowledge!
June 20th, 2008 at 06:29
[...] Part 2 - Configuration [...]
August 23rd, 2008 at 14:22
I have a computer on my network that is usually logged into a domain and therefore is not in the same workgroup as the rest of my PCs. All the other PCs that are in the workgroup can connect to the freenas server and view the CIF/SMB shares. However if I point the computer that is in the domain at the shares I get a guest logon (where guest is grayed out) and password prompt. Nothing works. How can I get this computer connected to the shares? Thanks.
September 2nd, 2008 at 12:22
Rob, thank you. You’ve got me out of hole. The installation guide of the FreeNAS website did not include the bit about adding Shares to the CIFS/SMB configuration.
The part of your tutorial that is not like the webGUI I have is the setup of NFS. On the version I have got - 0.686.4, the latest stable version - there is also a ‘Shares’ tab where the authorised network is added, rather like the CIFS/SMB setup. It was common sense and all your other instructions worked a dream.
Thanks for a great set of tutorials.
September 2nd, 2008 at 17:15
@Julian - thanks - glad they helped. At some point I’ll catch up in this new job and I’ll re-do the tutorials with the latest version of FreeNAS
- Rob
September 4th, 2008 at 07:45
Hello, I also had problems mounting the FreeNAS SMB share from a Windows PC connected to a domain. It always poped up asking for password for the NetBIOSName/Guest user. My problem was that I had not set up FreeNAS with the same DNS server as the windows pc and the domain. The second problem I encounterd were that I typed a mount folder that was not yet created on the shared drive under the SMB/CIFS Shares. I created the folder with 777 rights from shell on the freenas and once I had set the first DNS on freenas the same as the windows pc it worked fine to access the share anonymnous.
bJøRn
September 5th, 2008 at 08:40
Help needed to properly setup FreeNAS to work with Win XP.
Win XP can see freeNAS but cannot make a directory or write data.
Is there a common misconfiguration that causes this?
Can someone walk me through FreeNAS setting to get it fully operational with
Win XP?
FTP services from WinXP to FreeNAS is fine however.
Please help me. I am totally lost. Any clues appreciated. Thank you in advance.
PS. Your help pages are great.
September 5th, 2008 at 22:48
@Anthony - if you create the directory on FreeNAS, can WinXP see it, read from it?
September 30th, 2008 at 04:47
i have install freenas seprate mox now it is working fine i am via IE http:\\172.16.0.10 on windows box everything working fine i want to know how to configure NFS server on freenas.
i try enable the nfs option and setting , services enable map the all user root -> YES
path how to give ( already fedora7 box is there i am configure nfs i give that box ip or freenas machine ip and after path default /mnt) pls any one help me
October 16th, 2008 at 23:40
What is the guest password? help
I have tried every way I know how along with going through this tutorial and I cannot access my shares using Cif. It always pops up the window for a guest user and wants a password. My authentication is set to anonymous, I added my network in NFS as well as in cifs but still no luck. Running the latest version of FreeNas.
Sound familiar, all I did was cut and paste the problem. I have reinstalled to start clean several times.I want away from Microsoft. I ran my Novell server for 15 years or so. freebsd is next, if I can get freenas running.
Its 12:30 am - will look for an answer. Thanks Harry
October 29th, 2008 at 12:15
Had the same problem. Make sure that the share NAME appears at the end of the PATH. For example NAME = data, PATH = /mnt/NAS_SHARE/data or you could just leave PATH as /mnt/NAS_SHARE, but would be limited to configuration options. NAS_SHARE appeared by default under the /mnt point when I installed. Originally had it as /mnt/data, but would prompt for user name and password. Once I corrected as mentioned above, the user prompt went away. All I did after that was map a drive to \\freenas\data.
October 29th, 2008 at 20:46
@Jeff - thanks. As much as I love FreeNAS, I have been neglectful of this thread. I am *so* pleased to seeing you helping each other!
Rob
November 10th, 2008 at 19:31
[...] FreeNAS Tutorial for Windows Users - Part Two - Configuration - configuring FreeNAS and Windows File Sharing. [...]
November 13th, 2008 at 00:00
Worked great. I spent a lot of time trying to figure this out before coming across this. Thank you so much!
November 13th, 2008 at 20:38
@humanform - thanks. I’m glad the post helped, even if it is becoming a bit outdated now.