I have followed the wiki on this topic and applied this solution to fix the hang on shutdown and referred to a few other posts on here but can't get a Synology folder (Windows share) to mount on boot in Ubuntu 16.04. I have tried both these in my fstab:
//serverip/foldername /mnt/foldername cifs credentials=/home/username/.smbcredentials,iocharset=utf8,sec=ntlm 0 0 //serverip/foldername /mnt/foldername cifs _netdev,uid=1000,gid=1000,dir_mode=0700,file_mode=0600,nounix,forceuid,forcegid,credentials=/home/username/.smbcredentials,iocharset=utf8,sec=ntlm 0 0
sudo mount -a works in terminal so I assume the details are correct.
Is this a bug with the boot order in Ubuntu? Does fstab stuff get run before the network interface is loaded? I am connected over wifi if that makes any difference. I don't have home encryption on either.