mirror of
https://github.com/svpcom/wfb-ng.git
synced 2025-02-24 00:53:49 -04:00
Fix install_gs.sh
This commit is contained in:
parent
232a8f655f
commit
b04827e6dd
@ -86,7 +86,7 @@ wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 2312
|
|||||||
```
|
```
|
||||||
git clone https://github.com/svpcom/wifibroadcast.git
|
git clone https://github.com/svpcom/wifibroadcast.git
|
||||||
cd wifibroadcast
|
cd wifibroadcast
|
||||||
sudo sh install_gs.sh wifi0
|
sudo ./scripts/install_gs.sh wifi0
|
||||||
```
|
```
|
||||||
- Done! To monitor the link use the following command on the ground station:
|
- Done! To monitor the link use the following command on the ground station:
|
||||||
```
|
```
|
||||||
|
4
install_gs.sh → scripts/install_gs.sh
Normal file → Executable file
4
install_gs.sh → scripts/install_gs.sh
Normal file → Executable file
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
# Install required packages
|
# Install required packages
|
||||||
apt update
|
apt update
|
||||||
@ -19,9 +20,6 @@ mv gs.key /etc/gs.key
|
|||||||
# Install
|
# Install
|
||||||
dpkg -i deb_dist/*.deb
|
dpkg -i deb_dist/*.deb
|
||||||
|
|
||||||
# Setup system
|
|
||||||
echo net.core.bpf_jit_enable = 1 >> /etc/sysctl.conf
|
|
||||||
|
|
||||||
# Setup config
|
# Setup config
|
||||||
cat <<EOT >> /etc/wifibroadcast.cfg
|
cat <<EOT >> /etc/wifibroadcast.cfg
|
||||||
[common]
|
[common]
|
Loading…
Reference in New Issue
Block a user