Skip to content
Artur Balanuta edited this page Jan 18, 2022 · 14 revisions

Required Updates

EEPROM and BootLoader

sudo rpi-eeprom-update

Modules

Disable Bluetooth

sudo nano /boot/config.txt

dtoverlay=disable-bt

sudo systemctl disable bluetooth
sudo systemctl disable bluealsa.service
sudo systemctl disable hciuart
sudo systemctl disable triggerhappy.service

sudo apt-get purge bluez -y
sudo apt autoremove

sudo reboot

SPI, I2C and others

sudo raspi-config nonint do_memory_split 16
sudo raspi-config nonint do_spi 0
sudo raspi-config nonint do_wifi_country US
sudo raspi-config nonint do_hostname <name>

UART/GPS

sudo raspi-config nonint do_serial 0    #enable UART
sudo raspi-config #3 Interface -> P6 Serial -> No -> Yes

POE-FAN

$ sudo nano /boot/config.txt
# PoE Hat Fan Speed Control
dtoverlay=rpi-poe
dtparam=poe_fan_temp0=57000
dtparam=poe_fan_temp1=60000
dtparam=poe_fan_temp2=63000
dtparam=poe_fan_temp3=66000

or 
dtoverlay=gpio-fan,gpiopin=14,temp=75000

Gateway Packages

Required Openchirp:

Name Version URL
oc-lora-gw-pf-dev v0.07 https://github.com/OpenChirp/oc_lora_gw_pf_dev
oc-ntp v0.19 https://github.com/ABalanuta/oc_ntp
oc-vpn v0.17 https://github.com/OpenChirp/oc_vpn
oc-sd-optimizations v0.04 https://github.com/OpenChirp/oc_sd_optimizations

Required Chirpstack:

Name Version URL
chirpstack-gateway-bridge v3.9.2+ https://artifacts.chirpstack.io/downloads/chirpstack-gateway-bridge/chirpstack-gateway-bridge_3.13.2_linux_armv7.deb

Optional Chirpstack:

Name Version URL
chirpstack-packet-multiplexer v3.1.0+ https://artifacts.chirpstack.io/downloads/chirpstack-packet-multiplexer/chirpstack-packet-multiplexer_3.1.0_linux_armv7.deb

Optional Openchirp:

Name Version URL
oc-snmp v0.02 https://github.com/ABalanuta/oc_snmp
oc-ntp-gps v0.01 TODO

Development:

Name Version URL
oc-opr-logs v0.01 https://github.com/ABalanuta/oc_opr_logs

Management Server Packages and Docker Containers:

Name Version URL
oc_remote_scripts v0.00 https://github.com/OpenChirp/oc_remote_scripts
oc-rsyslog-server v0.00 https://github.com/OpenChirp/oc-rsyslog-server