Permanently mount network share on Plasma

Best way for that would be to utilize /etc/fstab. I was struggling with that some time ago, so please find a line that finally worked for me. In my case it cooperates well with ksmbd of OpenWrt.

//192.168.150.1/myshare    /mnt/myshare       cifs    vers=3.0,nobrl,domain=lan,username=username,password=usernamepassword,x-systemd.automount,x-systemd.requires=network-online.target,_netdev,uid=1000,gid=1000,rw      0       0

Some additional hints:

  1. always try to define protocol version.
  2. if you connect through wifi, setup your connection as one other users can connect (NetworkManager setting).
  3. always use IP instead of host.
1 Like