toolboc / psx-pi-smbshare

A swiss army knife for enhancing classic game consoles with Raspberry Pi
387 stars 34 forks source link

Default SMB Settings don't appear to work/Recommendation #67

Open thanevim opened 1 year ago

thanevim commented 1 year ago

I have been racking my head against the wall trying to figure out why this solution wasn't as out-of-the-box as it seemed it should have been. No matter what changes I made to OPL's config though, no games would show.

I don't know if this is just because of recent versions of samba v OPL, or some other technicality, but I discovered that in order to get games to show, I had to change some of the settings on the smb.conf file to include the following (per https://www.psx-place.com/threads/opl-smb-linux-configuration-guide.20638/)

[global]
client min protocol = CORE
client max protocol = NT1
server max protocol = SMB3
server min protocol = LANMAN1
strict sync = no
keepalive = 0

Potentially with the additional changes to the share itself, renaming it to PS2SMB and the comment "PS2 SMB" as in:

[PS2SMB]
   comment = PS2 SMB

Once I made these changes and rebooted, OPL running on a PS2 wired directly to the Pi would immediately find all of the games in the share. I would guess it has to do with Samba forcing v2 or later, and the PS2/OPL wanting to have SMBv1.