
Reboot to test that the share automounts. servername/movies /home/plex/movies cifs nofail,tomount,vers=2.0,uid=plex,gid=plex,credentials=/home/plex/.smbcredentials smbcredentialsĪnd add the share you want to automatically mount as a line in /etc/fstab Install Ubuntu 18.04 LTS, update and login as the plex user, thenĪnd add this to smb.conf in the sectionĪnd add the IP and servername of your fileserver (router) to hostsĪnd add your username and password to. I also discovered that installing asuswrt-merlin firmware enables ASUS routers to use SMB 2.0.

The key items now are using tomount and uid/gid in the fstab line. UPDATE (): The old solution did not survive a reboot, so I’ve updated. ASUS router firmware only supports SMB 1.0.)

(The key items are the smb.conf parameters and adding ver=1.0 in fstab. Here are the steps I took to be able to mount these folders automatically, so that I could then install and configure Plex Media Server and add my libraries. Out of the box Ubuntu would not mount my SMB shares. I ran into issues right away because my media is on an external drive attached to my ASUS router and exposed on the network as Windows (SMB) shares. Nce upon a time I wanted to switch the OS of my Plex Media Server from Windows to Ubuntu.
