summaryrefslogtreecommitdiffstats
path: root/09.-VirtualBox,-Docker-Images-and-Install-Scripts.md
blob: 8994cea22b881a3c2cdb2045d8b6e8e60a991459 (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
54
55
56
57
## 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 and GNU Radio with KrakenSDR Source block preinstalled.

**Download Here (Most recent date is newest image):** https://mega.nz/folder/MaFCyAyJ#TCl1uCNVAHkCbnSsrG56bQ

**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. 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 software package in the `krakensdr_doa` folders.

Start the software with the start scripts in the `krakensdr_doa` folder.

### x86 64 Bit Systems
```
wget https://raw.githubusercontent.com/krakenrf/krakensdr_docs/main/install_scripts/krakensdr_x86_install_doa.sh
sudo chmod +x krakensdr_x86_install_doa.sh
./krakensdr_x86_install_doa.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.sh
sudo chmod +x krakensdr_aarch64_install_doa.sh
./krakensdr_aarch64_install_doa.sh
```

Reboot your system after the script finishes.

Note: If installing on a Raspberry Pi, please ensure that you are using the 64-bit version of Raspbian as the script expects a 64-bit system.

LATEST 22.04 UBUNTU UPDATE CLANG COMPILE PROBLEMS: It appears that a recent Ubuntu update is breaking clang, hence the compilation of KFR is failing on x64 systems. The fix is simply `sudo apt-get install g++-12`.