More > JRiver Media Center 22 for Linux
How do I set up a persistent SMB share?
pepar:
I have an update. I am able to enter "thunar smb://<IP address>/share" in command line. This brings up the box for me to enter the credentials for the share, INCLUDING THE DOMAIN. Is there a way to include the domain in the "//ip.address.of.NAS/share_name /local/mount_point cifs noauto,x-systemd.automount,credentials=/home/your_user/samba-credentials 0 0"
Or maybe in the samba-credentials file? I feel that I am close!
ps. I will look at the fstab edit.
pepar:
--- Quote from: Zhillsguy on June 06, 2017, 11:23:22 am ---Try using this line in fstab and reboot, I just posted in the other thread:
//(server.ip.add)/sharename /home/username/Music cifs auto,user,credentials=/home/username/samba-credentials 0 0
I am not clear about the difference between Samba and regular Windows sharing. At any rate, this works for me to connect to a Win 8.1 share that is not password protected, but I had to use my Windows login credentials in the credentials file to work.
If you have a spare older machine for experimentation, try another distro such as Ubuntu or one of its derivatives, Mint, etc. as they are Debian based.
Also, I'm not sure what your options are in Unraid, maybe the share can be set up as a "standard" Windows share, with or without password protection?
--- End quote ---
Samba (SMB) is the Windows share format. I do use password, but that isn't the showstopper. Just searched for "fstab" and couldn't find it. Of course finding files lead to yet another google search and package installation. Linux will save the world when nerds take over the world. Until then, Windows ... even spyware like Win 10 ... will dominate. Sheesh.
Zhillsguy:
I would go to your Distro/Flavor's forum and ask. They know the specifics and will be of more help.
pepar:
Thanks, @Zhillsguy. Am now looking at documentation for fstab. :)
Jeff
Navigation
[0] Message Index
[*] Previous page
Go to full version