packet:linbpq-apt-installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packet:linbpq-apt-installation [2023/10/02 10:17] – [Configuration] m0lte | packet:linbpq-apt-installation [2025/07/30 09:35] (current) – m0lte | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== LinBPQ Installation using apt ====== | ====== LinBPQ Installation using apt ====== | ||
- | This process | + | This is the way which OARC recommends installing LinBPQ. |
- | ===== Preparation ===== | + | It is suitable for Debian-based operating systems, e.g. Debian, Raspberry Pi OS. It does not ship for Ubuntu (yet?). |
- | **Do this once, only.** | + | This page and the package it refers to are NOT the first party documentation or packaging for LinBPQ. |
- | Our very own Hibby MM0RFN, also a Debian maintainer, has kindly packaged | + | 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. Always take backups. |
- | To start using his repo, you need tell your machine to trust the repo: | + | Follow this guide: https:// |
- | < | ||
- | wget -q https:// | ||
- | sudo mv hibby.key / | ||
- | </ | ||
- | Then you need to add the repo for your OS: | + | ===== Tips ===== |
- | + | ||
- | < | + | |
- | # Ubuntu 22.04 LTS amd64 | + | |
- | sudo sh -c 'echo "deb https:// | + | |
- | + | ||
- | # Raspberry Pi | + | |
- | sudo sh -c 'echo "deb https:// | + | |
- | + | ||
- | # Debian 13 amd64 | + | |
- | sudo sh -c 'echo "deb https:// | + | |
- | + | ||
- | # Debian 12 amd64 | + | |
- | sudo sh -c 'echo "deb https:// | + | |
- | </ | + | |
- | ===== Installation ===== | + | A default config file will be placed at ''/ |
- | **Do this once, only.** | + | We ship a backup config file suitable for a basic node with a single KISS modem with the package in `/ |
- | After following the above steps, to install LinBPQ, run the below commands: | + | Whenever |
- | + | ||
- | < | + | |
- | sudo apt update | + | |
- | sudo apt install -y linbpq | + | |
- | </ | + | |
- | + | ||
- | LinBPQ runs as a background service and requires a config file - see the next sections for details. | + | |
- | ===== Configuration ===== | + | |
- | + | ||
- | A default config file will be placed at / | + | |
- | + | ||
- | Simple config file suitable for a basic node with a single KISS modem, e.g. NinoTNC: | + | |
- | + | ||
- | < | + | |
- | wget -q https:// | + | |
- | # edit as required, then: | + | |
- | sudo mv bpq32.cfg / | + | |
- | </ | + | |
- | + | ||
- | If you fully replace the config file, as opposed to editing the existing one, ensure it has the correct ownership after you do so: | + | |
- | + | ||
- | < | + | |
- | chown linbpq: | + | |
- | </ | + | |
- | + | ||
- | Whenever you have updated the config, restart LinBPQ: | + | |
< | < | ||
Line 76: | Line 32: | ||
Show its logs: | Show its logs: | ||
< | < | ||
- | journalctl -u linbpq | + | journalctl -ru linbpq |
</ | </ | ||
(use arrows / page up/down to navigate, press q to quit) | (use arrows / page up/down to navigate, press q to quit) | ||
Line 104: | Line 60: | ||
sudo apt upgrade | 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, | ||
+ | - install from apt, then '' | ||
+ | - copy bpq32.cfg from wherever it is - to where it needs to be '' | ||
+ | - copy working files and folders from where they are to / | ||
+ | - start new install with '' | ||
===== References ===== | ===== References ===== | ||
This document superseded [[packet: | This document superseded [[packet: |
packet/linbpq-apt-installation.1696241821.txt.gz · Last modified: by m0lte