Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

User introduction Hello, new user from the Netherlands

As an Amazon Associate, we may earn commissions from qualifying purchases. Learn more...

4
0
NAS
DS418play and DS216+II
Operating system
  1. Linux
Mobile operating system
  1. Android
Hello everybody,

I'm new here, I've been using a Synology NAS for about 5 or 6 years now. My first model was a DS418play and last year I got a DS216+II which is at a remote location for backups. Recently I switched from Windows to Linux and while the experience has been good, interaction with a Synology NAS is pretty challenging under Linux compared to Windows.

So that's mainly why I joined, I'm hoping that there are other Linux users on this forum as well, which have more experience then me and might be able to help me with an issue I've been having.

So, thanks for having me and of course if I can help anybody out I will do that as well obviously! ;)
 
Long time linux user. Mostly xubuntu. So if you have any specific questions just ask.
 
Welkom!
Also here some experience with the combination Ubuntu and Synology.
 
Long time linux user. Mostly xubuntu. So if you have any specific questions just ask.
Thank you for the quick reply! :)

It was about auto mounting shares on boot with fstab. I switched to Linux in the beginning of June and I've been trying to get this to work since then (almost 2 months).

At first I was running Debian 11 with Gnome and the following entry sort of worked:
/192.168.178.100/multimedia /media/multimedia cifs credentials=/etc/samba/credentials,rw,uid=1000,gid=1000,nofail

The strange thing was on the first boot of the day I would get a cifs permission 13 error, which the internet is filled with. Without doing anything and after rebooting instantly the mounted shares would work. Which made me believe or come to the conclusion that it was a 'time' issue. With that I mean, the system booted to quick for Linux to make a connection with the network shares. I experienced a similar problem with openelec/libreelec in the past and adding a boot delay for giving the system time to connect to the smb shares fixed that issue.

Though, the error 13 would often mention: "(Permission denied) opening credential file /etc/samba/credentials"

Indicating that the problem was with the credentials file, despite having chmod that file. I've been on and off for the past two months trying to fix this. Most people on various forums claimed that certain additions/flags to the 'mount path' in the fstab file could or would fix the issues, nothing did... I tried so many adaptations and the error would always be the same (cifs error 13).

Today I've been at it a couple of hours again. A few days ago I did a clean install of Debian 12 because I wanted to switch to KDE Plasma instead of Gnome. Note, that after updating my Debian 11 to 12 (with Gnome) the line in the fstab 'worked' as before.

The exact same line does nothing on KDE Plasma, so I went at it today again and changed a couple of things of which one thing I hadn't tried yet. In my credential file I added: domain=WORKGROUP

I tried tons of different versions, like domain=192.168.178.100 / WORKGROUP=192.168.178.100 / domain="nameNAS" etc etc

Hadn't seen the "domain=WORKGROUP" mentioned before, so I guess I'd try it out. The line in my fstab is now:
//192.168.178.100/multimedia /media/multimedia cifs credentials=/etc/samba/credentials,uid=1000,gid=1000,x-systemd.automount 0 0

I tried the "x-systemd.automount" and "0 0" and endless other additions/flags before and nothing ever worked, it always resulted in the infamous error 13. A few days I came accross the "sec=..." flag, I tried a couple like sec=ntlm and sec=sec=ntlmssp, but that didn't work either. It seems to be deprecated now since Linux 6+ apparently? dmesg told me "VFS: bad security option: ntlm". Though dmesg hardly tells you anything useful regarding mounting network drives.

So sorry for the long story, it seems to be working now. But I'll have to check tomorrow morning when I boot my PC for the first time that day. Because for some weird reason that seems to matter...

edit: spelling and formatting
 
Could you please create a new thread for your issue? This will prevent the introduction thread from becoming cluttered. Thank you.
 
I'm sorry, @divx118 asked so I answered 😇

And it might not be an issue anymore, so in that case a thread won't be necessary...
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Many thanks for the welcome!
Replies
2
Views
133
User introduction Colorado Hello
Thanks Rusty, for your action and offer. I’ll likely be in touch. Are you you on Central European time...
Replies
5
Views
139
Hello and nice to have you with us!
Replies
1
Views
113
User introduction Hello from New York
There’s good reason to limit the information released: while that may help assuage your concerns about...
Replies
3
Views
210
Thanks! It’s a nice community!
Replies
2
Views
128

Thread Tags

Tags Tags
None

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending content in this forum

Back
Top