Lock Preferences for SMB

Thank you. Here is the log.

Please use OSMC log uploader either via GUI (MyOSMC) or grab-logs -A

That machine does not have an internet connection.

Ok, you still could use https://paste.osmc.tv/

Feeling like a noob, sorry. Like this?

That worked, but somehow no SMB errors visible in the logs, only thing I see is that you use DNS/Netbios names for the shares which some people has reported to have issues with…
You might need to enable “component specific logging” for SMB.
But to be honest I am not sure if it maybe easier to go for fstab based mounting of SMB shares which would make it easier and more performant.

If you don’t want to switch to fstab based samba share you also could try this

I’ve been messing with this all day. Adding the user.conf file did nothing at all as far as I can tell. When I tried editing the fstab file file, I added this line at the end:

//192.168.1.1/Movies /mnt/Server_Movies cifs x-systemd.automount,noauto,rw,iocharset+uft8,username=admin,password=admin,uid=osmc,gid=osmc,file_mode=0770,dir_mode=0770 0 0

and then when I typed $ sudo mount -a I got an error that the mount “is does not exist.” It’s almost like it’s using bad grammar to tell me how dumb I am :slight_smile:

The particularly frustrating thing about this is that I made a system with identical hardware for my dad, and it just works. SO I can’t help but think there’s some user error, but the user is stumped.

Should be

iocharset=utf8

Thank you for the typo catch, Mount point still is does not exist. Does that imply there’s another typo in there?

The mountpoint will be automatically created.

Have you rebooted? You need to do that for the automounter to run.

Yes, I’ve rebooted. the full error that I get on mount -a is:
mount: /etc/fstab: parse error: ignore entry at line 2.
mount: mount point is does not exist

provide the fstab to us with cat /etc/fstab | paste-log

Did you add a single line to fstab, or 2 lines.

Please show your entire fstab file, easiest way is to

grab-logs -f

And share the link here.

Fstab file

Your fstab is a total mess! And you didn’t fix the problem I pointed out to you (not that it matters since the file is so messed up it won’t work). Give me a few minutes and I’ll try to create one for you.

Try this:

/dev/mmcblk0p1  /boot    vfat     defaults,noatime,noauto,x-systemd.automount    0   0
#rootfs is not mounted in fstab as we do it via initramfs. Uncomment for remount (slower boot)#/dev/mmcblk0p2  /    ext4      defaults,noatime    0   0
//192.168.1.1/Movies /mnt/Server_Movies cifs x-systemd.automount,noauto,rw,iocharset=utf8,username=admin,password=admin,uid=osmc,gid=osmc,file_mode=0770,dir_mode=0770 0 0

I had tried to edit it in Notepad ++ to make it easier in Windows rather than sudo nano. COuld I have putzed it up by doing that?

Very likely. Use nano to edit it.

That got me further before I flew off the rails :smile:

I typed:
sudo mount -a
sudo systemctl daemon-reload
sudo systemctl restart-fs.target
cd /mnt/Server_Movies

and got back:
-bash: cd: /mnt/Server_Movies: No such device

Did you reboot?

Show the results of:

$ mount