mirror of https://github.com/akuker/RASCSI.git
Updated SCSI Network Card (markdown)
parent
f52b7540fb
commit
5a8c8bc388
|
@ -32,64 +32,6 @@ sudo apt-get install iputils-arping tcpdump
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Setup the tun/tap interface
|
|
||||||
Notice that the IP address is **hardcoded** for now. If this doesn't suits you, please update `devices/ctapdriver.cpp:83`
|
|
||||||
```
|
|
||||||
sudo ip tuntap add ras0 mode tap user root
|
|
||||||
sudo ip link set ras0 up
|
|
||||||
sudo ifconfig ras0 inet 192.168.0.1/8 up
|
|
||||||
sudo route add -net 192.168.0.1 netmask 255.255.255.0 dev ras0
|
|
||||||
```
|
|
||||||
|
|
||||||
## make sure that wlan0 is your internet network interface
|
|
||||||
```
|
|
||||||
sudo echo 1 >/proc/sys/net/ipv4/ip_forward
|
|
||||||
sudo iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
|
|
||||||
```
|
|
||||||
|
|
||||||
# Setting up RaSCSI with SCSI Ethernet support
|
|
||||||
## Checkout the code
|
|
||||||
You will need to clone the repository, and the switch to the daynaport or nuvolink branch.
|
|
||||||
```
|
|
||||||
git checkout daynaport
|
|
||||||
git pull
|
|
||||||
```
|
|
||||||
|
|
||||||
## Stop any RaSCSI running instance
|
|
||||||
sudo systemctl stop rascsi
|
|
||||||
|
|
||||||
## Compile with debug mode enabled
|
|
||||||
go to the source folder
|
|
||||||
```
|
|
||||||
cd ~/RASCSI/src/raspberry
|
|
||||||
make clean
|
|
||||||
make all CONNECT_TYPE=FULLSPEC DEBUG=1
|
|
||||||
sudo make install CONNECT_TYPE=FULLSPEC DEBUG=1
|
|
||||||
```
|
|
||||||
|
|
||||||
### Start the new version
|
|
||||||
```
|
|
||||||
sudo systemctl start rascsi
|
|
||||||
sudo systemctl status rascsi
|
|
||||||
```
|
|
||||||
|
|
||||||
### attach the NuvoLink or DaynaPort virtual card to RASCSI
|
|
||||||
```
|
|
||||||
rasctl -c attach -i 4 -t nuvolink
|
|
||||||
# or
|
|
||||||
rasctl -c attach -i 4 -t daynaport
|
|
||||||
```
|
|
||||||
|
|
||||||
# Install NuvoLink or DaynaPort Driver
|
|
||||||
On the Macintosh you will need to install either the NuvoLink or Daynaport driver:
|
|
||||||
|
|
||||||
- [NuvoLink Drivers](https://macintoshgarden.org/apps/nuvolink)
|
|
||||||
- [DaynaPort Drivers](https://macintoshgarden.org/apps/daynaport-drivers)
|
|
||||||
- [DaynaPort ISO Disk Image (works with RaSCSI)](http://www.bitsavers.org/pdf/apple/scsi/dayna/daynaPORT/)
|
|
||||||
- [Both are available here](https://vintageapple.org/macdrivers/network.shtml)
|
|
||||||
|
|
||||||
|
|
||||||
# Debugging
|
# Debugging
|
||||||
## check the logs
|
## check the logs
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue