The Wonders of FSTAB, but still missing something Basic

Hi There, been doing some reading, thanks to the ppl who maintain the wiki!

Trying to automount a shared network drive on windows 10.

sudo nano /etc/fstab entry is:

//192.168.1.22/Movies /mnt/ServerMovies cifs x-systemd.automount,noauto,rw,guest,iocharset=utf8,uid=osmc,gid=osmc,file_mode=0770,dir_mode=0770 0 0

(note the use of guest, no password or user entries, for a r/w open share for ‘everyone’ on w10)

and this allows a successful listing of the files there using ‘ls’ of cd /mnt/ServerMovies (using PuTTY/SSH).

However, i seem now to be at the end of Nemo, floating in my bag…now what? Nothing is actually different in the OSMC/Vero4k operating system, and nothing shows up if i browse samba etc. Is this new share supposed to show up somewhere? Not familiar enough with the OS yet i guess. Could use some help.

It is repeatable, and automounting correctly - persists through reboot, so at least that’s working!

I just did:
$ sudo apt-get install smbclient
$ smbclient -L 192.168.1.2 -U osmc

(it prompted for a pwd which is osmc of course), and i got:

OS=[Windows 10 Pro 15063] Server=[Windows 10 Pro 6.3]

    Sharename       Type      Comment
    ---------       ----      -------
    ADMIN$          Disk      Remote Admin
    C$              Disk      Default share
    D$              Disk      Default share
    IPC$            IPC       Remote IPC
    Movies          Disk
    print$          Disk      Printer Drivers

Connection to 192.168.1.22 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled – no workgroup available

To which i have to say my first thought was “well, of COURSE netbios is disabled”.

[EDIT] read one line further down in the guide, and switched IP to servername, and that works. Doh.

When you go to “Add Video” choose Root Filesystem and than /mnt/ServerMovies

thanks fzinken - i was just typing that this works lol - many thanks for listening :slight_smile:

it seems that version 1 of samba set in ‘settings/services’ is required, and an entry of ‘username=guest,password=,’ too, for this to work (with windows password filesharing turned off).