Create fpv-gs-ubuntu.md

pull/185/head
HKR1987 2023-10-13 07:52:55 +02:00 committed by GitHub
parent e8820521ff
commit 34cffd0fc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,64 @@
# Step by step commands to run GS on Ubuntu 22.04
Video version: - [OpenIPC - Prepare GroundStation: Ubuntu + QGroundControl](https://www.youtube.com/watch?v=JMtRAsOm0Dc)
### Prepare
```
sudo apt update
```
```
sudo apt install dkms git python3-all-dev net-tools virtualenv fakeroot debhelper python3-twisted
libpcap-dev python3-pyroute2 python3-future python3-configparser python3-all libsodium-dev
```
### Libsodium
```
git clone https://github.com/jedisct1/libsodium --branch stable
cd libsodium
./configure
make && make check
sudo make install
```
### Wifi card driver
```
git clone -b v5.2.20 https://github.com/svpcom/rtl8812au.git
cd rtl8812au/
sudo ./dkms-install.sh
```
### WFB-NG
```
git clone -b stable https://github.com/svpcom/wfb-ng.git
cd wfb-ng
sudo ./scripts/install_gs.sh wlan0
```
### Channel configuration
```
vi /etc/wifibroadcast.cfg
```
### Start WFB CLI
```
wfb-cli gs
```
###GS IS READY FOR USE###
### Start, stop, restart service
```
systemctl status wifibroadcast@gs
systemctl stop wifibroadcast@gs
systemctl start wifibroadcast@gs
```
### Qground control manual
https://docs.qgroundcontrol.com/master/en/getting_started/download_and_install.html
### Get last logs from service
```
journalctl -xu wifibroadcast@gs -n 100
```
### Useful commands
```
nmcli
ifconfig
iwconfig
```