Updated Dayna Port SCSI Link (markdown)

Daniel Markstedt 2021-09-15 11:02:31 -07:00
parent cdacfdd921
commit 08d0402c43
1 changed files with 15 additions and 10 deletions

@ -26,14 +26,19 @@ cd ~
sudo apt install git
git clone https://github.com/akuker/RASCSI.git
# Then:
# Install or update RaSCSI:
cd ~/RASCSI
git checkout develop
./easyinstall.sh # Select option 0 if new install, 3 if updating
./easyinstall.sh # Select option 1 to install or update, or option 0 if you need a new drive image as well
# Scripted network configuration:
./easyinstall.sh # Select option 5 to configure wired, and 6 to configure wireless bridge
# Let the Pi reboot, and attach a DaynaPORT adapter to your RaSCSI as instructed in the script
```
## Wired Raspberry Pi Setup
*Only use this section if your Raspberry Pi is connected to a wired network that uses DHCP to assign addresses*
*Only use this section if you didn't use easyinstall.sh to configure the bridge, and your Raspberry Pi is connected to a wired network that uses DHCP to assign addresses*
In this section, we're going to reconfigure the network so that eth0 is just an interface to the outside world, but does not have any "Layer 3" functions.
|Before | After |
@ -83,17 +88,12 @@ ExecStart=/usr/local/bin/rascsi -ID2 daynaport
## Wireless Raspberry Pi Setup
*Only use this section if your Raspberry Pi is connected to a wireless network or you want to use [Network Address Translation \(NAT\)](https://en.wikipedia.org/wiki/Network_address_translation)*
*Only use this section if you didn't use easyinstall.sh to configure the network bridge, and your Raspberry Pi is connected to a wireless network or you want to use [Network Address Translation \(NAT\)](https://en.wikipedia.org/wiki/Network_address_translation)*
The goal of this section is to create the network bridge with a static IP address, and then configure NAT using iptables rules to share the connection with the DaynaPORT interface.
- Set up your network on the Raspberry Pi. Make sure you can connect to the internet with a web browser, etc.
- Set up the rascsi_bridge interface and assign it a static IP address. By adding the following to /etc/rc.local before the exit line, the interface will be created on startup.
```
brctl addbr rascsi_bridge
ifconfig rascsi_bridge 10.10.20.1/24 up
```
- Decide on network interface, IP addresses and netmask to use for your setup. This example assumes wlan0, base address 10.10.20.X and netmask 255.255.255.0 (24)
- Edit /etc/sysctl.conf and uncomment
```
@ -119,6 +119,11 @@ sudo apt-get install iptables-persistent
Reboot the Pi
- **(Optional)** Modify your service startup script to automatically add the DaynaPort at startup. To do this, open `/etc/systemd/system/rascsi.service`. Modify the ExecStart line to add the ID and device. For example:
```
rascsi -ID 6 -t scdp wlan0:10.10.20.1/24
```
On the Mac side, in the TCP/IP or MacTCP control panel choose Manual and input:
* IP address 10.10.20.2
* Network mask 255.255.255.0