VirtualConfusion

Nothing serious!

CIFSĀ mount after wifi connection

TEST

After the installation of KDE Neon on my Macbook pro, I set up mount points to access my NAS.

Mounting them manually works correctly with this command:

sudo mount -a

But it was not mounting automatically because the wifi connection was not ready and I had this error message in the kernel log:

03.12.17 08:29    CIFS VFS    cifs_mount failed w/return code = -101

The solution is to use the systemd automount feature. In your /etc/fstab put this line:

//files.example.com/software /media/software cifs x-systemd.automount,x-systemd.idle-timeout=1min,rw,uid=myuser,gid=users,credentials=path_to_credentials,iocharset=utf8,file_mode=0644,dir_mode=0755 0 0

Adjust the mounting points and credential file to your needs.

Your Name:
Your Comment: