mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-08 05:29:40 +00:00
Updated Setup Instructions (mediawiki)
parent
be3c0f43c4
commit
b7506b40aa
|
@ -75,9 +75,9 @@ sudo make install CONNECT_TYPE=STANDARD
|
|||
|
||||
```
|
||||
sudo systemctl restart rsyslog
|
||||
sudo systemctl enable rascsi # optional - start rascsi at boot
|
||||
sudo systemctl start rascsi
|
||||
sudo systemctl status rascsi
|
||||
sudo systemctl enable piscsi # optional - if you want piscsi to start up at boot
|
||||
sudo systemctl start piscsi
|
||||
sudo systemctl status piscsi
|
||||
```
|
||||
'''6.''' If the above steps complete successfully, you are now done cloning and building the PiSCSI software.
|
||||
|
||||
|
@ -103,41 +103,41 @@ If you have the '''FULLSPEC''' board (version 2.1 or newer) use this...
|
|||
|
||||
```
|
||||
cd ~/piscsi
|
||||
sudo systemctl stop rascsi
|
||||
sudo systemctl stop piscsi
|
||||
sudo apt-get update && sudo apt-get install git libspdlog-dev libpcap-dev genisoimage python3 python3-venv nginx libpcap-dev protobuf-compiler bridge-utils python3-dev libev-dev libevdev2 -y
|
||||
git pull
|
||||
cd ~/piscsi/src/raspberrypi
|
||||
make clean
|
||||
make all CONNECT_TYPE=FULLSPEC
|
||||
sudo make install CONNECT_TYPE=FULLSPEC
|
||||
sudo systemctl start rascsi
|
||||
sudo systemctl status rascsi
|
||||
sudo systemctl start piscsi
|
||||
sudo systemctl status piscsi
|
||||
```
|
||||
|
||||
If you have the '''STANDARD''' board (version 1.6 or older) use this...
|
||||
|
||||
```
|
||||
cd ~/piscsi
|
||||
sudo systemctl stop rascsi
|
||||
sudo systemctl stop piscsi
|
||||
sudo apt-get update && sudo apt-get install git libspdlog-dev libpcap-dev genisoimage python3 python3-venv nginx libpcap-dev protobuf-compiler bridge-utils python3-dev libev-dev libevdev2 -y
|
||||
git pull
|
||||
cd ~/piscsi/src/raspberrypi
|
||||
make clean
|
||||
make all CONNECT_TYPE=STANDARD
|
||||
sudo make install CONNECT_TYPE=STANDARD
|
||||
sudo systemctl start rascsi
|
||||
sudo systemctl status rascsi
|
||||
sudo systemctl start piscsi
|
||||
sudo systemctl status piscsi
|
||||
```
|
||||
|
||||
= Reviewing the PiSCSI service logs =
|
||||
|
||||
Logging for the PiSCSI daemon can be found in /var/log/rascsi.log
|
||||
Logging for the PiSCSI daemon can be found in /var/log/piscsi.log
|
||||
|
||||
Once you've completed the steps above, you can confirm the daemon is running by checking /var/log/rascsi.log
|
||||
Once you've completed the steps above, you can confirm the daemon is running by checking /var/log/piscsi.log
|
||||
|
||||
```
|
||||
pi@raspberrypi:~/piscsi/src/raspberrypi $ cat /var/log/rascsi.log
|
||||
Nov 5 08:52:40 rasp32 piscsi[32588]: SCSI Target Emulator PiSCSI Reloaded version 22.11 (Oct 26 2022 11:49:27)
|
||||
pi@raspberrypi:~/piscsi/src/raspberrypi $ cat /var/log/piscsi.log
|
||||
Nov 5 08:52:40 rasp32 piscsi[32588]: SCSI Target Emulator PiSCSI version 22.12
|
||||
Nov 5 08:52:40 rasp32 piscsi[32588]: Powered by XM6 TypeG Technology / Copyright (C) 2016-2020 GIMONS
|
||||
Nov 5 08:52:40 rasp32 piscsi[32588]: Copyright (C) 2020-2022 Contributors to the PiSCSI Reloaded project
|
||||
Nov 5 08:52:40 rasp32 piscsi[32588]: Connect type: FULLSPEC
|
||||
|
@ -177,7 +177,7 @@ To explicitly build for ARM (ARM is also the default, so this shouldn't be neces
|
|||
|
||||
= Compiling on x86/x86_64 Linux PCs =
|
||||
|
||||
A lot of the rascsi code does not require the PiSCSI hardware and can be run and tested on a regular Linux PC. scsictl can be run on a Linux PC without restrictions and can access rascsi on the Pi remotely with the -h option.
|
||||
A lot of the PiSCSI code does not require the PiSCSI hardware and can be run and tested on a regular Linux PC. In addition, `scsictl` can be run on a Linux PC without restrictions and can access PiSCSI on the Pi remotely with the -h option.
|
||||
With these environment settings the complete PiSCSI code compiles with g++ or clang++ (faster than g++) on x86/x86_64 PCs:
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user