LinBPQ installation for RaspberryPi

0
(0)

This will install LinBPQ for the RaspberryPi

Either 32bit or 64bit version of Raspbian can be used for this setup

 

UPDATE & UPGRADE RPI

sudo apt-get update && sudo apt-get upgrade -y

 

INSTALL NECESSARY SOFTWARE & LIBRARIES

sudo apt install git libpcap0.8-dev:armhf libasound2-dev:armhf libz3-4:armhf zlib1g:armhf libminiupnpc17:armhf screen -y

 

DOWNLOAD LINBPQ SOFTWARE

git clone https://github.com/pe1rrr/linbpq_rtg

 

UPDATE LINBQP TO LATEST VERSION

cd linbpq_rtg

./update-linbpq
./update-qtsm
./update-qtterm

 

UPDATE PATH IN “runbpq”

echo $PWD (shows path)

sudo nano runbpq

Correct the path in line: “cd /home/pi/linbpq_rtg”

 

CONFIG BPQ32.CFG

sudo nano bpq32.cfg

Change ‘YOURCALL‘ in your own callsign, leave SSID’s in tact like -1, -7 etc.

There is more configureing needed, but this will get you started to run BPQ

A nice tool to configure BPQ32.cfg:
https://www.cantab.net/users/john.wiseman/Documents/BPQConfigGen.html

ADD LINBPQ AS SERVICE

sudo nano linbpq.service

(copy the following text, change path in WorkingDirectory, ExecStart. And change User and Group to your own name)

[Unit]
Description=LinBPQ
After=network.target

[Service]
Type=forking
WorkingDirectory=/home/g0vgs/radio/linbpq_rtg
Restart=always
RestartSec=90
StartLimitInterval=400
StartLimitBurst=3
User=pi
Group=pi
ExecStart=/usr/bin/screen -S linbpq -d -m /home/g0vgs/radio/linbpq_rtg/runbpq
SyslogIdentifier=LinBPQ

[Install]
WantedBy=multi-user.target

 

MOVE FILE TO SYSTEM SERVICE DIRECTORY

sudo mv ./linbpq.service /etc/systemd/system/

 

ENABLE SERVICE

sudo systemctl enable linbpq.service

 

START/STOP/RESTART/STATUS OF SERVICE

sudo systemctl start linbpq (starts service)
sudo systemctl stop linbpq (stops service)
sudo systemctl restart linbpq (restarts service)
sudo systemctl status linbpq (show status of service)

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?