I have been stuck for about two days trying to get this to work properly. I have done all of the following with still no luck.
I'm trying to auto permanently mount to a 2 TB Seagate Central that is on my network, using Ubuntu 14.04 LTS Desktop and I updated all cifs
before starting.
I added the following line to /etc/fstab
as root:
#Mapping network drive //Ip-address/media/videos /media/storage cifs username=username,password=password,iocharset=utf8,sec=ntl
I also swapped out the ip-address for its name as well. Since I know this is not the most secure way, but I'm the only one using this Ubuntu-Desktop
also tried the credentials document method without luck.
In the terminal:
sudo mount -a
mount error(22): Invaild argument
refer to mount.cifs(8) manual page (e.g. man mount.cifs)
After seeing that I tried the following:
sudo mount.cifs //Seagate-XXXXX/Media/videos /media/storage
I was then promoted for the password to the network storage and enter in correctly:
Error:
mount error(115): operation now in progress
Refer to mount.cifs(8) manual page (e.g. man mount.cifs)
I got it to work one time, but i had to reinstall Ubuntu after that, and can't seem to get it back working.
I've looked up many different videos and forums and I'm doing this so I can set up my Plex server to see my media folder on a external hard drive.
I have red and watched the following links/videos to no avail [Please Help!]:
Best Answer
The first error you got is because there is no such thing as
sec=ntl
. The available options are (fromman mount.cifs
):So, the first approach (using the
fstab
) might work if you use one of the above. Presumably, you wantedsec=ntlm
.As for the
115
error, I found this very nice guide on the Gentoo forums that I suggest you read. Basically, it suggests adding a line like this to your/etc/hosts
file (change192.168.1.12
to the IP of your drive):Once that's done, you should be able to use
Seagate-XXXXX
instead of the IP to connect. The page provides some other troubleshooting tips (including usingsmbtree
to make sure that the share is actually available). I really suggesty you read it.