I have been following the same tutorial that everyone else is referencing. My
fstab entry is exactly like in the tutorial with changes to actual location. I keep getting the error
mount: only root can mount //freenas/Server on /media/Server
This is the most irritating thing I run into time and time again with running Ubuntu. I have had a freeNAS box with a single hard drive in it for almost 4 years. I had my server mounted correctly a month ago but I started from scratch again.
The server is functioning normally as I have another Ubuntu box running XBMC perfectly fine.
I am running Ubuntu 12.10 but get the same message with 12.04.
I have installed
smbnetfs from terminal after installing samba from the software center. This is how I got it running last time.
The workgroup in samba matches my network workgroup.
I don't have any credentials to check with the share as it is setup as guest.
I can't browse the network as it keeps giving me a timeout error. I also can't open my share from Nautilus by hitting Ctrl+L and manually typing my server share (
Edit 1: I'm able to browse my network but still am getting the error message?
Edit 2: I'm able to mount the share after testing the individual options one my one. It seems that using
codepage=unicode was causing the problem. My fstab entry now looks like:
//freenas/Media /home/charles/Server cifs guest,iocharset=utf8,uid=1000 0 0
Edit 3: I can only mount using only "guest" for options? Last time I ran into an issue of not being able to open files on other computers that originated from my Ubuntu machine?
Last Edit: I had to force my freeNAS server(Version: 0.7.2.5543) to have the same permissions as Ubuntu,
uid=1000. Also freeNAS by default creates a guest user account
ftp with a null password. With these three items and adding my freeNAS IP address to
/etc/hosts I'm up and running. Sorry for the super long delay closing this question but I greatly appreciate the help!
//freenas/Media /home/charles/Server cifs username=ftp,password=,uid=1000 0 0