So I'm hitting a wall here. I've tried modifying my script to include versions 1, 2, not adding a version to no avail.
I'm simply trying to default mount my share, that's it. It should be easy, but it's not.
So I've tried the following scripts to mount into a file:
# This is a sample service script to mount CIFS/SAMBA shares. # Please read carefully the comments in this file. For production usage # you can remove all comments (lines beginning with "#") from this file. [Unit] # The description should be used to explain what this servicefile is for Description=cifs mount script # if we do network mounts like here we *require* 'network-online.service' # which checks if the network is online Requires=network-online.service # our scripts must start *after* 'network-online.service', on timeout and if # 'network-online.service' fails we can not mount and this scripts fails too After=network-online.service # usually we mount networks shares because we want they avaible *before* XBMC starts. # so XBMC has access to this mounts from beginning. Note: this slows down the boot! Before=kodi.service [Mount] # The share we want mount What=//192.168.1.3/Volume_1 # Where we want mount this share Where=/storage/files # Any options you usually use with the "-o" parameter in the mount command Options=username=MYUSERNAME,password=MYPASS # filesystem type Type=cifs [Install] # The target is used by 'systemctl enable <name_of_this_file.mount>' to link # this service to a runlevel for starting on boot. usually 'multi-user.target' # is ok here. WantedBy=multi-user.target # Important: # this file must be renamed to <mountpoint>.mount where <mountpoint>, is the FULL path # where the share will be mounted but slashes "/" MUST BE REPLACED with dashes "-" with .mount # as extension. # This means, if we want mount to "/storage/music2" (see above "Where=/storage/music2") # then this file must be renamed to 'storage-music2.mount' and can be enabled via ssh with the # command 'systemctl enable storage-music2.mount'
[Unit] Description=cifs mount script Requires=network-online.service After=network-online.service Before=kodi.service [Mount] What=//192.168.1.3/Volume_1 Where=/storage/files Options=username=MYUSERNAME,password=MYPASSWORD,rw,vers=2.1 Type=cifs [Install] WantedBy=multi-user.target
Yet if I connect using smbclient -U MYUSERNAME //192.168.1.3/Volume_1
I can connect with no issues, browse and such.
I'm able to connect a wide range of shares directly in libreelec without issue as well.
But I'm at a loss as to what's going wrong, when I try to test things out on that mount, I get this error
I have very few hairs left to yank out.