You are not logged in.
First off, I apologize if this issue has already been covered. I could not find any references on the forums that worked for my situation.
When trying to mount a Samba share on my Archlinux host, I receive the following error:
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Now, some back story... My laptop runs Archlinux and I am trying to connect to a Samba share on my Raspberry Pi (running Archlinux ARM). Here is the Raspberry Pi's 'smb.conf' settings for the share in question:
security = user
...
[shares]
comment = Network Shares
path = /path/to/share
browsable = yes
writable = yes
guest ok = yes
guest user = <myguestacct>
guest only = yes
<myguestacct> exists in the 'smbpasswd' database as well as the Raspberry Pi's '/etc/passwd' file. The folder on the Raspberry Pi has the following permissions: drwxrwxrwx. It is a folder located on an external USB harddrive formatted in NTFS. 'ntfs-3g' is installed on the Raspberry Pi and my laptop.
My fiance is using elementaryOS on her laptop and I was able to mount the same share by using the following command:
sudo mount -t cifs //<ipaddress>/shares /mnt/netshares -o guest
Using the same command on my laptop produces the error shown above. The only access issue with this share is from my laptop AND in the terminal. I can access the share from my fiance's laptop via her file manager and terminal, as well as from my laptop via Thunar. '/mnt/netshares' is created on my laptop and also has the following permissions: drwxrwxrwx.
I have tried manipulating the 'mount' command to get it to mount, but to no avail. Adding 'sec=ntlm' to the end of the options did not work. I tried using 'mount.cifs' instead of 'mount' and that didn't work. I also tried to connect to another, secured, share on the Raspberry Pi via the terminal; I supplied my credentials, and it failed the same way. Yet again, I have no access issues with the secured share via Thunar on my laptop; or on my fiance's laptop. Any help is appreciated. I'd rather not change my settings drastically since it only affects me connecting on my laptop via the terminal, however, I want to get people's thoughts on the matter to see if I'm overlooking something trivial.
Let me know if I need to post any other configs or outputs. Thanks.
P.S. I hope I'm not wasting anyone else's time. This one just has me completely stumped
Last edited by Orlin (2013-10-16 10:42:51)
Offline
Hi Orlin,
Try:
sudo mount -t cifs //<ipaddress>/shares /mnt/netshares -o user=guest
That should work.
Offline
Thank you for the suggestion, ArchWA. I tried that command and it prompted me to supply a password for 'guest@//<ipaddress>/shares'
This is the part that has me the most stumped. I tried the command I was already using in elementaryOS (my fiance's laptop), and for whatever reason, it did not give me an error this morning; it worked perfectly with no prompt for credentials. I can't say a reboot fixed the issue, because I had tried that yesterday too. However, this morning I was able to, not only get it to mount, but add it to '/etc/fstab' and have it automount.
For anyone else searching and finding this post, here's the line I added to 'etc/fstab'. Some of the options might be overkill, but I like to specify exactly what I want.
//<ipaddress>/shares /mnt/netshares cifs users,comment=systemd.automount,nofail,rw,guest 0 0
Offline
For anyone else searching and finding this post, here's the line I added to 'etc/fstab'. Some of the options might be overkill, but I like to specify exactly what I want.
//<ipaddress>/shares /mnt/netshares cifs users,comment=systemd.automount,nofail,rw,guest 0 0
I just wanted to thank you for this follow-up. I was having trouble connecting and only after reading this was able to successfully connect to a server.
Offline