This is an old revision of the document!
Table of Contents
LinBPQ Installation using apt
This process is suitable for Debian-based operating systems, e.g. Debian, Raspberry Pi OS, Ubuntu.
This page and the package it refers to are NOT the first party documentation or packaging for LinBPQ.
This process is only fully tested for a clean installation where BPQ has not been manually installed in the past using some other means. There are some high level instructions at the bottom of this page. If you aren't sure, stop and seek help.
Follow this guide: https://guide.hibbian.org/install/bpq/
Tips
A default config file will be placed at /etc/bpq32.cfg
before bpq will start.
We ship a backup config file suitable for a basic node with a single KISS modem with the package in `/usr/share/doc/linbpq/examples/bpq32.cfg`, so don't worry about getting it wrong!
Whenever you have updated the config, restart LinBPQ:
sudo systemctl restart linbpq
Check on its status:
sudo systemctl status linbpq
Show its logs:
journalctl -ru linbpq
(use arrows / page up/down to navigate, press q to quit)
Accessing the node
There are various ways to access your node locally:
in a browser, e.g. http://yournode:8008
using QtTermTCP, a cross-platform GUI with some more advanced features for monitoring etc, connecting to port 8011
using Telnet (e.g. PuTTY in Telnet mode), connecting to port 8010
Username and password as per your config file.
Enabling BPQ Chat
If you get “No APPLCALL for Chat APPL” in the BPQ logs, and “Sorry, Application CHAT is not running” when you issue CHAT at the node prompt, ensure that the ApplNum in /opt/oarc/bpq/chatconfig.cfg is set to the number of the APPLICATION in /opt/oarc/bpq/bpq32.cfg. You can also do this in Chat Mgmt in the BPQ web interface.
Updating
To update LinBPQ to the latest version in Hibby's apt repo, simply:
sudo apt update sudo apt upgrade
Migrating from a manual install to the apt repo
- stop existing bpq running
- back everything up!
- make note of locations of files - we're particularly interested in bpq32.cfg and the working files. This will be the directory holding chatconfig.cfg, axipcache.cfg, BPQNODES.dat, DIRMES.SYS. If you're using the plain binary of bpq I think it just puts all that stuff beside it.
- install from apt, then
sudo systemctl stop linbpq
- copy bpq32.cfg from wherever it is - to where it needs to be
sudo cp bpq32.cfg /etc/bpq32.cfg
and update ownersudo chown root:linbpq /etc/bpq32.cfg
- copy working files and folders from where they are to /opt/oarc/bpq/ - as an example,
sudo cp -rf /home/pi/bpq/ /opt/oarc/bpq/
and update owner -sudo chown -R linbpq:linbpq /opt/oarc/bpq/
- start new install with
sudo systemctl start linbpq
and see if anything explodes
References
This document superseded linbpq_pc_installation and linbpq_pi_installation.