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.
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.