toolboc / psx-pi-smbshare

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

[not a issue] ps3netsrv++ doesn't work properly and doesn't start at boot #45

Open SirKevinBastian opened 2 years ago

SirKevinBastian commented 2 years ago

Hi,

I've noticed that ps3netsrv doesn't work properly with webMAN-mod. The fix it's to compile it again in the RPi and to replace the 'ps3netsrv++' file with the new, but it only compiles in 64-bit system and this distro is a 32-bit. So here is my solution.

1) Install the latest Raspberry Pi OS Lite 64bit with ssh and wifi configuration. You can do it with the official raspberry tool. 2) Download the latest ps3netsrv from aldostools webMAN-MOD github. We're interested in the "ps3netsrv" folder inside the zip. 3) Create a text file, write "ps3netsrv++ /media/sda1/" (in the case you want to share your USB). Rename this text file to "ps3.sh" 4) Turn on the RPi. With FTP, copy the "ps3netsrv" and "ps3.sh" folder to /home/pi/ 5) ssh the rpi and execute

sudo apt-get install iptables sudo apt-get install build-essential 6) Execute setup.sh as said in the README 7) ssh the pi again, cd to the "ps3netsrv" folder and execute sudo make If everything goes okay, now you will see a "ps3netsrv" file if you execute "ls -a" sudo pkill ps3netsrv++ sudo cp ps3netsrv ps3netsrv++ sudo cp ps3netsrv++ /usr/local/bin crontab - e add at the end of the file "@reboot sudo bash /home/pi/ps3.sh" CTRL+O, CTRL+X sudo reboot

And that's all. Please, if there are any errors or there's anything that can be improved, tell me. I just want to help. Maybe this fix is obvious to everyone, but I have 0 knowledge on linux and compilation.

I hope this helps anyone, specially the noob people who want a easy fix.

Thanks for your work,

Kevin S. D'Ambrosio