I tried to log on at19:45;about
Jul 20 19:44:52.195947 VeroV smbd[3479]: process_usershare_file: stat of /var/lib/samba/usershares/videos failed. Permission denied
You are using a Filesystem (ext4) which has user and permission management.
Check the owner and permissions of the files/directories
How do I do that from the Vero V as I can’t access them from windows? I formatted them from my PC but did not enter any username or password, Sam suggested ext4 for transfer speed, they worked fine until my system SSD died, I am now using my backup system which should be identical.
You would need to connect to the Vero via SSH. If you use Windows you could use putty or WSL.
The ext4 is a red herring, I plugged an NTFS drive into the Vero V and I get asked for username and password on my pc, the drive works without any password when plugged into the pc. I have run the PW reset hotfix and set up a credential but it still won’t accept osmc as password. I attached the same drive to my SMB connected FoxT2 and it shows on the network, this password problem is just on the Vero V.
It sounds like you might be confusing different types of credentials. It can be a bit confusing TBH. When you plugged that NTFS formatted drive into Windows it is only concerned with NTFS file permissions. Linux essentially ignores those in this situation so that wouldn’t be at issue. An ext4 formatted drive in linux uses them so they are relevant generally speaking. Both of these file system permissions are separate and unique from the systems user credentials, which are also separate and unique from Samba/SMB permissions in OSMC.
What version of Windows are you trying to connect from? Have you attempted to ssh from this windows machine to the Vero? When you go through network neighborhood on windows to access the Vero does it ask for credentials when you click on the Vero, or only when you try to further navigate into the connected drive? Have you tried just opening up Windows Explorer and in the address bar type in the IP address of the Vero (ie \\192.168.x.x)?
I am inserting the network address as the Vero V does not show up on map network drive (it did before the crash) The FoxT2 is SMB and it works fine, it’s certainly a bug with the latest update as I have never had a connection problem before. Why would it ask for a username and password? I have never been asked before. Can’t it be resolved from the logs that I uploaded? I did say in an earlier post that FileZilla would not connect also, I tried various connection options.
@caldirunj where abouts in the UK are you? I have a feeling you might be near me (Bracknell). Wondering if we can get together and get this sorted for you in person.
I just looked at your logs again and detected that you have Ethernet (cable) and WiFi both active.
Try to disable wifi in MyOSMC - Network
After that try to connect to \\192.168.18.5\ if that still doesn’t work try to SSH to 192.168.18.5
I disabled the WiFi, no change, I ssh ed into osmc, I see all the system folders but no usb3 drives even though the Vero V sees and plays them. Thanks for your help👍
What does typing net share list --long show? It should look something like this…
osmc@VeroV:~$ net share list --long
Enter WORKGROUP\osmc's password:
Enumerating shared resources (exports) on remote server:
Share name Type Description
---------- ---- -----------
osmc Disk OSMC Home Directory
IPC$ IPC IPC Service (Samba 4.13.13-Debian)
THUMB DRIVE Disk Auto-mount Volume
If for some reason it doesn’t take “osmc” as the password you can type in sudo smbpasswd osmc to change it, and then sudo systemctl restart smbd to reboot samba to make it take effect.
I get The filename, directory name, or volume label syntax is incorrect
What I posted needed to be done in a ssh session so you were typing that at the Vero’s terminal.
No, in a Windows command box
I know you typed that into Windows command prompt from the error message you said you got. What I was trying to tell you is that the commands I suggested you run need to be run on the Vero itself, which you can do from windows using a ssh session. You said you were able to ssh into the Vero a couple posts ago.
Great, I just need to find out how to ssh commands, I’ve only ever transferred files before
Why do the usb drives not show up on ssh?
You would need to explain how exactly your determining that. When you ssh into a Vero it drops you to a command line (the terminal) that works similar to the command line in Windows but all the commands are different. The post above where I suggested you run the net command is exactly what the termal looks like and exactly how you interact with it. If you can manage that one command it should tell us quite a bit on the Vero side.
More info on ssh can be found here…
I now have the SSH working, osmc, osmc is accepted and I can see my 3 auto mounted discs on Net share list. Still no joy on the PC though.
I think we can be fairly confident at this point that everything is working as it should on the Vero side and you need to just focus on what is going wrong on your Windows PC. Start by making sure your network isn’t set to public. I don’t have an ancient Win7 PC laying around so here is a video to show you how to check and change that…
If it still doesn’t work with it set to home or work you can check to make sure more current versions of SMB are running on your Win7 box. You would bring up the start menu and right click on “cmd” and tell it to run as administrator. In the elevated command prompt you would run these two commands…
sc config lanmanworkstation start= auto
sc start lanmanworkstation
which should output something similar to this ideally…
C:\Windows\System32>sc config lanmanworkstation start= auto
[SC] ChangeServiceConfig SUCCESS
C:\Windows\System32>sc start lanmanworkstation
[SC] StartService FAILED 1056:
An instance of the service is already running.
