Skip to content

Commit

Permalink
Prepare v1.2 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
toolboc committed Jul 10, 2018
1 parent d431bd4 commit 9015f8d
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 13 deletions.
35 changes: 33 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
SMB sharing for Multiman and Open Playstation Loader on Raspberry Pi

## How it works
psx-pi-smbshare is a preconfigured Raspbian based image for Raspberry Pi 1, 2, and 3. It runs a [Samba](https://en.wikipedia.org/wiki/Samba_(software)) share, a pi-compatible build of [ps3netsrv](https://github.com/dirkvdb/ps3netsrv--), and reconfigures the ethernet port to act as a router. This gives low-latency, direct access to the Samba service through an ethernet cable connection between a PS2/PS3 and Raspberry Pi. This configuration is achieved by running [setup.sh](/setup.sh). A pre-supplied [image](https://github.com/toolboc/psx-pi-smbshare/releases/download/v1.1/psx-smbshare-raspbian-stretch-lite.img) can be applied directly to a Micro-SD card using something like [etcher.io](https://etcher.io/). The image will expand to use the full available space on the SD card when the OS is first booted.
psx-pi-smbshare is a preconfigured Raspbian based image for Raspberry Pi 1, 2, and 3. It runs a [Samba](https://en.wikipedia.org/wiki/Samba_(software)) share, a pi-compatible build of [ps3netsrv](https://github.com/dirkvdb/ps3netsrv--), and reconfigures the ethernet port to act as a router. This gives low-latency, direct access to the Samba service through an ethernet cable connection between a PS2/PS3 and Raspberry Pi. This configuration is achieved by running [setup.sh](/setup.sh). A pre-supplied [image](https://github.com/toolboc/psx-pi-smbshare/releases/download/v1.2/psx-smbshare-raspbian-stretch-lite.img) can be applied directly to a Micro-SD card using something like [etcher.io](https://etcher.io/). The image will expand to use the full available space on the SD card when the OS is first booted.

An [Xlink Kai](http://www.teamxlink.co.uk/) client is also included and accesscible at http://smbshare:34522/. This allows for multi-player gaming over extended LAN. The service is possible to use on a variety of devices including PS2, PS3, Xbox, Xbox 360, and Gamecube. Just connect the ethernet cable to the device and access the Xlink Kai Service over Wi-Fi with a smart phone, tablet, or computer.

Expand All @@ -20,7 +20,7 @@ psx-pi-smbshare supports an optional ability to route traffic from the ethernet
* Micro-SD Card (8GB+ suggested)

## Flash the image
Download the latest [psx-pi-smbshare release image](https://github.com/toolboc/psx-pi-smbshare/releases/download/v1.1/psx-smbshare-raspbian-stretch-lite.img) and burn it to a Micro-SD card with [etcher.io](http://etcher.io)
Download the latest [psx-pi-smbshare release image](https://github.com/toolboc/psx-pi-smbshare/releases/download/v1.2/psx-smbshare-raspbian-stretch-lite.img) and burn it to a Micro-SD card with [etcher.io](http://etcher.io)

## Configuring Wireless Network
If you wish to configure the wireless network on a Raspberry Pi 2 or 3, you need to add a file to **/boot** on the Micro-SD card.
Expand Down Expand Up @@ -48,6 +48,12 @@ With a wireless network configured, you should be able to access the SMB share b

The share is preconfigured with a folder structure to accomodate ps3netsrv and Open Playstation Loader expected file paths.

## Accessing USB drive(s) on the SMB Share
Plug and play auto-sharing of USB storage devices over SMB is supported.

USB Drives are automounted to the /media directory
USB Drives are available on the SMB Share @ \\SMBSHARE\share\USB\<Filesystem Label>_<Partition>

## Configuring for use with MultiMAN on PS3

** Prequisites **
Expand Down Expand Up @@ -141,6 +147,31 @@ Don't forget to select "Save Config" when you return to "Settings"
6. Launch Halo 2 and select "System Link"
7. Join a game and have fun!

## Playing PSP games online with Xlink Kai on PSP
** Prerequisites **
* A Wifi capable PSP system
* 1 external wifi dongle for RPi 2/3 or 2 external wifi dongles for RPi 1

1. Burn the [latest psx-pi-smbshare image](https://github.com/toolboc/psx-pi-smbshare/releases) to a Micro-SD card
2. Plug in the external wifi dongle(s)
3. Configure Wi-fi per the steps above in ["Configuring the Wireless Network"](https://github.com/toolboc/psx-pi-smbshare#configuring-wireless-network)
4. Configure the PSP to connect to "XlinkKai" SSID when the pi has booted using Password `XlinkKai`
5. Vist the Xlink Kai service running @ http://smbshare:34522 or http://<YOUR_PSX_PI_SMBSHARE_DEVICE_IP>:34522/ and login with your Xlink Kai account
6. Select an available PSP game from the Xlink Kai portal
7. Start the game on your PSP and look for LAN play settings
8. Join a game and have fun!

## Using a Second WiFi interface as an Access Point to Xlink Kai
** Prerequisites **
* 1 external wifi dongle for RPi 2/3 or 2 external wifi dongles for RPi 1

1. Burn the [latest psx-pi-smbshare image](https://github.com/toolboc/psx-pi-smbshare/releases) to a Micro-SD card
2. Plug in the external wifi dongle(s)
3. Configure Wi-fi per the steps above in ["Configuring the Wireless Network"](https://github.com/toolboc/psx-pi-smbshare#configuring-wireless-network)
4. Configure the device to connect to "XlinkKai" SSID when the pi has booted using Password `XlinkKai`

Note: XlinkKai will only work on one network interface (wifi or ethernet) at a time and will lock onto the first interface connected to from a compatible device until reboot

# Credits
Thx to the following:
* Jay-Jay for [OPL Daily Builds](https://github.com/Jay-Jay-OPL/OPL-Daily-Builds)
Expand Down
4 changes: 2 additions & 2 deletions automount-usb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ EOF
# Make script executable
sudo chmod +x /usr/local/bin/automount

# reboot
sudo reboot
# reboot to take effect
#sudo reboot
23 changes: 14 additions & 9 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# This setup should work fine out the box with OPL and multiman
# Per default configuration, the smbserver is accessible on 192.168.2.1

#Working directory
cd /home/pi

# Update packages
sudo apt-get -y update
Expand Down Expand Up @@ -60,22 +62,21 @@ sudo cp ps3netsrv++ /usr/local/bin

# Install wifi-to-eth route settings
sudo apt-get install -y dnsmasq
cd ~
wget https://raw.githubusercontent.com/toolboc/psx-pi-smbshare/master/wifi-to-eth-route.sh -O ~/wifi-to-eth-route.sh
chmod 755 wifi-to-eth-route.sh
wget https://raw.githubusercontent.com/toolboc/psx-pi-smbshare/master/wifi-to-eth-route.sh -O /home/pi/wifi-to-eth-route.sh
chmod 755 ./wifi-to-eth-route.sh

# Install setup-wifi-access-point settings
sudo apt-get install -y hostapd bridge-utils
wget https://raw.githubusercontent.com/toolboc/psx-pi-smbshare/master/setup-wifi-access-point.sh -O ~/setup-wifi-access-point.sh
chmod 755 setup-wifi-access-point.sh
wget https://raw.githubusercontent.com/toolboc/psx-pi-smbshare/master/setup-wifi-access-point.sh -O /home/pi/setup-wifi-access-point.sh
chmod 755 ./setup-wifi-access-point.sh

# Install Xlink Kai
wget http://cdn.teamxlink.co.uk/binary/kaiEngine-7.4.31-rev606.headless.ARM.tar.gz
tar -xzvf kaiEngine-7.4.31-rev606.headless.ARM.tar.gz
sudo cp kaiEngine-7.4.31/kaiengine /usr/local/bin
sudo mkdir /root/.xlink

cat <<'EOF' > ~/launchkai.sh
cat <<'EOF' > /home/pi/launchkai.sh
while true; do
/usr/local/bin/kaiengine
sleep 1
Expand All @@ -85,8 +86,8 @@ EOF
chmod 755 launchkai.sh

# Install USB automount settings
wget https://raw.githubusercontent.com/toolboc/psx-pi-smbshare/master/automount-usb.sh -O ~/automount-usb.sh
chmod 755 automount-usb.sh
wget https://raw.githubusercontent.com/toolboc/psx-pi-smbshare/master/automount-usb.sh -O /home/pi/automount-usb.sh
chmod 755 ./automount-usb.sh
sudo ./automount-usb.sh

mkdir -m 1777 /share/USB
Expand All @@ -96,5 +97,9 @@ mkdir -m 1777 /share/USB

# Start services
sudo /home/pi/wifi-to-eth-route.sh
sudo /home/pi/setup-wifi-access-point.sh
ps3netsrv++ -d /share/
sudo kaiengine
sudo kaiengine

# Not a bad idea to reboot
sudo reboot

0 comments on commit 9015f8d

Please sign in to comment.