summaryrefslogtreecommitdiffstats
path: root/10.-VirtualBox,-Docker-Images-and-Install-Scripts.md
blob: 5b643e012db53362ff886139c39e9e2c3f8b5917 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
## VirtualBox

We currently have a [VirtualBox](https://www.virtualbox.org/wiki/Downloads) virtual machine image that is in beta. The image is based on Ubuntu 22.04 and has the KrakenSDR Direction Finding, KrakenSDR Passive Radar, and GNU Radio with KrakenSDR Source block preinstalled.

**Download Here:** https://mega.nz/file/lClj1IDJ#jZSzoDsuukyNiked-gX_8DYwjiZuqersolzySH9iHZU

**username/password:** krakenrf/krakensdr

The image is provided as an OVA file, so in VirtualBox go to File->Import to use it. Make sure to double check your network interface after import, and ensure that it's in bridged mode.

Note that this uses the VirtualBox USB3.0 implementation as we have found that the USB2.0 implementation is too slow and drops samples. The USB3.0 implementation works well. In order to use the USB3.0 implementation you will need the Oracle VM VirtualBox Extension Pack from https://www.virtualbox.org/wiki/Downloads installed to your VirtualBox.

We recommend allocating 8GB of RAM and 4 CPU cores to the system. We have tested the image on a 6th gen and 11th gen intel CPU. The 6th gen runs the DOA software well and PR software well but not at full speed. The GNU Radio code struggles to keep up on 6th gen. The 11th gen is capable of handling everything.

**Linux Hosts NOTE:** Note that on Linux hosts you will need to run the following command first, in order to allow for USB pass through to work.

```
sudo adduser $USER vboxusers
```

**Virtual Box Version**: Note that the latest version 7.0.0 of Virtual Box is significantly more stable when running long term. Earlier versions can sometimes throw kernel errors after a few hours, resulting in USB drops (unrelated to the KrakenSDR software). Please ensure that you upgrade to this latest version.

## Docker

Third parties have created a Docker container that you can use for installing a ready to use image of the DOA software on x86 machines. Note that the Docker container will not work on Windows, due Docker not supporting USB passthrough from Windows to a Linux image. Also note that the Docker container is immutable, so any settings changes you save will not persist once the image is restarted.

Docker Image Repository: https://github.com/godsic/krakensdr-containers/

**NOTE**: To reiterate this Docker container is only for x86 machines.

## Install Scripts

These scripts will automatically install the drivers, all dependencies and the DOA and PR software packages in `krakensdr_doa` and `krakensdr_pr` folders.

Start the software with the start scripts in the `krakensdr_doa` and `krakensdr_pr` folders.

### x86 64 Bit Systems
```
wget https://raw.githubusercontent.com/krakenrf/krakensdr_docs/main/install_scripts/krakensdr_x86_install_doa_pr.sh
sudo chmod +x krakensdr_x86_install_doa_pr.sh
./krakensdr_x86_install_doa_pr.sh
```

Reboot your system after the script finishes.

### ARM64 Systems
```
wget https://raw.githubusercontent.com/krakenrf/krakensdr_docs/main/install_scripts/krakensdr_aarch64_install_doa_pr.sh
sudo chmod +x krakensdr_aarch64_install_doa_pr.sh
./krakensdr_aarch64_install_doa_pr.sh
```

Reboot your system after the script finishes.