Updated Dayna Port SCSI Link (markdown)

Daniel Markstedt 2021-09-15 19:38:18 -07:00
parent 8bbc42fdec
commit a4a0a4a8b6
1 changed files with 16 additions and 12 deletions

@ -87,12 +87,6 @@ rascsi_bridge 8000.869bacd8de6f no eth0
ras0
```
- **(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:
```
ExecStart=/usr/local/bin/rascsi -ID2 daynaport
```
- If you modified the rascsi.service file, you will need to run `sudo systemctl daemon-reload` and `sudo service rascsi restart`
### Wireless Raspberry Pi Setup
*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)*
@ -150,19 +144,29 @@ There are four ways to accomplish this:
3. Use 'rasctl' to dynamically attach the device on a running rascsi instance
4. Use the Web UI to attach the device
Assuming SCSI ID 6 and eth0/wlan0 in the following examples. Note that by default, the DaynaPORT device will launch with parameters 'eth0,wlan0' meaning it will attempt to use eth0 first, and if unavailable wlan0. Also, the default IP address is 10.10.20.1/24. So for most usecases, if you follow the automated process and use the default values, you don't have to specify any parameters when attaching the DaynaPORT device and it should work out of the box.
Note that by default, the DaynaPORT device will launch with parameters 'eth0,wlan0' meaning it will attempt to use eth0 first, and if unavailable then wlan0. Also, note that the default IP address / netmask is 10.10.20.1/24. So for most usecases, if you follow the automated process and use the default values, you don't have to specify any parameters when attaching the DaynaPORT device and it should work out of the box.
Ex. with rascsi / wireless / static IP
```rascsi -ID 6 -t scdp wlan0:10.10.20.1/24```
Ex. with rascsi / wireless / static IP, RaSCSI *not* running as a service
```sudo rascsi -ID 6 -t scdp wlan0:10.10.20.1/24```
Ex. with rasctl / wireless/ static IP
Ex. with rasctl / wireless/ static IP, RaSCSI already running
```rasctl -i 6 -c attach -t scdp -f wlan0:10.10.20.1/24```
Example when editing rascsi.service
- **(Optional)** Configure RaSCSI to start up with your DaynaPORT configuration.
Here you have two options. Either have the RaSCSI Web UI read your *default* configuration file on startup, or hard code the launch parameters in the rascsi.service ExecStart argument. The latter is more permanent, while the former can be managed more easily through the Web UI. Also note that the Web UI configuration will override whatever is defined in rascsi.service.
- Web UI configuration option:
Once you've attached your DaynaPORT device with just the right parameters, you can save that as a RaSCSI Web UI configuration file. If you name it *default* (~/images/default.json) that configuration will be loaded when the Web UI starts up for ultimate convenience!
- rascsi.service ExecStart option:
Modify your service startup script to automatically add the DaynaPort at startup. To do this, open `/etc/systemd/system/rascsi.service` with a text editor. Modify the ExecStart line to add the ID and device. For example:
```ExecStart=/usr/local/bin/rascsi -ID 6 -t scdp eth0```
- If you modified the rascsi.service file, you will need to run `sudo systemctl daemon-reload` and `sudo service rascsi restart`
Pro tip: Once you've attached your DaynaPORT device with just the right parameters, you can save that as a RaSCSI Web UI configuration file. If you name it *default* (~/images/default.json) that configuration will be loaded when the Web UI starts up for ultimate convenience!
# <img src="images/happy_mac.gif" alt="Happy Mac" height="30"> Macintosh Setup Instructions