Closed VersatileNinja closed 2 years ago
@VersatileNinja, awesome work and thank you for sharing the solution! I think this is a good change to implement going forward as Windows is phasing into a more secure-by-default settings for SMB in general. This should be legacy enough for working with OPL and also modern enough to work with most other OSs. I’ll need to find time to test this on more setups but for now this a great solution / workaround!
@VersatileNinja, awesome work and thank you for sharing the solution! I think this is a good change to implement going forward as Windows is phasing into a more secure-by-default settings for SMB in general. This should be legacy enough for working with OPL and also modern enough to work with most other OSs. I’ll need to find time to test this on more setups but for now this a great solution / workaround!
@toolboc One quirk I just found out: when I restart the pi and go back into the smb.conf file, it didn't save my changes. I'm not sure why that is, but once you put the code back in, all is good. Need some help to figure out how to save changes permanently, because it gets tiresome to write the code back into smb.conf every single time I boot back into the pi.
I tried to play around with changing permissions but may not get it right.
Update: With toolboc's help, I figured out do the same change to "samba-init.sh" and also "automount-usb.sh" in the /home/pi folder.
Also, in the "usr/local/bin" folder, I did the same code addition to "automount.sh" and "samba-init.sh".
So the good news is now when you look at the code inside /etc/samba/smb.conf, its fixed always!
Recently, I installed the 64-bit version of raspberry pi os (with desktop interface) to my pi 4, 4GB model.
I ran the below script:
cd ~
wget -O setup.sh https://raw.githubusercontent.com/toolboc/psx-pi-smbshare/master/setup.sh
chmod 755 setup.sh
sudo ./setup.sh
Followed the main page to setup the PS2 OPL network settings, and it wouldn't connect to the pi 4! I knew it did in the past.
After some more research on google and trying things out hit or miss, I found the solution.
Do the following:
sudo nano /etc/samba/smb.conf
After that, add the following code under [GLOBAL] section:
min protocol = NT1
Save the file, and then restart samba service by:
sudo systemctl restart smbd
Now go back to your OPL and it should work! Hopefully toolboc sees this and implements into the master!