-
|
I am using dietpi on a rpi3b+ I can connect to the default dietpi SMB share, but, the retronas shares won't authenticate, in windows, or, more importantly, MiSTer... This is what I get on MiSTer:
Edit: This is the response from cifs_mount.sh, just so there isn't any confusion. Edit2: dmesg output
Edit3: I also get this, on the server, when samba starts
|
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 28 replies
-
|
Before anyone starts answering, I've wiped the sdcard, and, I'm starting over, if I encounter the same problem, I'll come back and confirm, if it works, this time, (I might have done something wrong the first time and borked it) I'll come back and close this discussion. |
Beta Was this translation helpful? Give feedback.
-
|
Have you changed the username in the retronas? Password? Hostname? Usually you have to rerun the install scripts and do a few other things to make this happen. Can you run It sounds almost like a DNS hostname resolution issue. Sometimes home routers need to be restarted to resolve this. That might fix the issue. Rebooting the pi, the MiSTer, and your router before trying again could help possibly. Home networks can be finnicky sometimes. |
Beta Was this translation helpful? Give feedback.
-
|
Double checking you set the RetroNAS password under the "Global configuration" menu AFTER installing the various SMB shares. This sets both the Linux and SMB/CIFS passwords. |
Beta Was this translation helpful? Give feedback.
-
Your primary example including error messages is for the mister share, therefore it is reasonable we start there with our attempts to help you. In doing so we have identified errors in the MiSTer documentation that needs correction as such it was captured here. We do however note that dietpi is untested and unsupported currently so any attempt on our part is to be considered best effort based on the information provided until such time as we move to support other distros. I am happy for this particular Discussion to be renamed to "DietPi support discussion" so we can capture what doesnt work quite right in the mean time The specifics to your issue identified that errors in the dmesg output are as per below, the lack of the second backslash implies an improper setup in the attempt to mount for example if using a mount path with backslashes instead of forward slashes as required from the cli the shell will escape the second slash dropping the first which is what we are seeing here. so if you are attempting to mount with the following I would suggest as per this question https://github.com/danmons/retronas/discussions/54#discussioncomment-2128329 you go into the Global Configuration and rerun the change password option after installing samba services set the same password you expect to use when prompted and advise results I will roll a dietpi sdcard this week and see if I can recreate your issue. |
Beta Was this translation helpful? Give feedback.
-
|
There are a couple of issues present with dietpi and our current samba config which you are probably running into (based on my dietpi deploy here). on the dietpi side there is no widelinks module installed as a dependency with samba so the setting
you can work around this by installing the on the RetroNAS side there is a bug where RetroNAS is not updating the pi user in the ansible_vars file and subsequently is failing to set perms on top level file share, this is a problem we will look into separately |
Beta Was this translation helpful? Give feedback.
There are a couple of issues present with dietpi and our current samba config which you are probably running into (based on my dietpi deploy here).
on the dietpi side there is no widelinks module installed as a dependency with samba so the setting
wide links = yesin our samba configs is breaking for dietpi, We havewide linksenabled for the dos users and EtherDFSError loading module '/usr/lib/aarch64-linux-gnu/samba/vfs/widelinks.so': /usr/lib/aarch64-linux-gnu/samba/vfs/widelinks.so: cannot open shared object file: No such file or directoryyou can work around this by installing the
samba-vfs-modulespackage manually we will add this to the samba requirements moving forward.on the Re…