User introduction Hello, new user from the Netherlands

Currently reading
User introduction Hello, new user from the Netherlands

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

Old thread notice: There have been no replies in this thread for quite some time. The last reply was on .
The content in this thread may no longer be relevant. It might be better to open a new thread instead.

Similar threads

  • Article
User introduction Hello, New Synology User!
Welcome to the forum.
Replies
2
Views
1,140
  • Article
User introduction Hello everyone
ok,My problem is the same as this post, since I'm not familiar with ubuntu, it's not clear how to rebuild...
Replies
3
Views
159
  • Article
User introduction Hello all,
An excellent replacement model. If you have the budget, recommend upgrading to 10GBE, as it has an...
Replies
2
Views
153
  • Article
User introduction Hello from a DS224+
And hello from SynoForum! Welcome!
Replies
2
Views
181
  • Article
User introduction Hello All DS720+ ans DS220+
Hello, nice to have you here!
Replies
1
Views
123
  • Article
User introduction Hello to all.
Hello and welcome to the forum!
Replies
1
Views
175
  • Article
User introduction Hello everyone.
Hello and welcome to the forum!
Replies
1
Views
172

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Trending threads

Back
Top