Article 5KP6D Problem connecting to samba share

Problem connecting to samba share

by
peter7089
from LinuxQuestions.org on (#5KP6D)
I have arch linux installed as server on laptop and connected to my wifi network. I installed samba server but i have problem setting the server and connecting to it from my pc with mx linux. I added these lines in the /etc/samba/smb.conf file:

Code:[myshare]
comment = Samba Share
path = /data
browsable = yes
read only = no
writable = yes
guest ok = no
Then if i try to mount the samba share folder i get this:
Code:$ sudo mount -t cifs //192.168.100.10/data /media/data2 -o username=xxxx,password=xxxx
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)It seems that for some reason it doesn't recognize the /data folder, but the folder exist.latest?d=yIl2AUoC8zA latest?i=86-tBS1Pq-Y:EHWy1vrCbx4:F7zBnMy latest?i=86-tBS1Pq-Y:EHWy1vrCbx4:V_sGLiP latest?d=qj6IDK7rITs latest?i=86-tBS1Pq-Y:EHWy1vrCbx4:gIN9vFw86-tBS1Pq-Y
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments