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 [2024/01/15 22:28] – [Configuration] m0lte | packet:linbpq-apt-installation [2025/03/21 11:59] (current) – mm0rfn | ||
---|---|---|---|
Line 4: | Line 4: | ||
This page and the package it refers to are NOT the first party documentation or packaging for LinBPQ. | 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.** | ||
+ | |||
===== Preparation ===== | ===== Preparation ===== | ||
Line 10: | Line 13: | ||
Our very own Hibby MM0RFN, also a Debian maintainer, has kindly packaged and is maintaining various Linux packet radio software, among them LinBPQ. | Our very own Hibby MM0RFN, also a Debian maintainer, has kindly packaged and is maintaining various Linux packet radio software, among them LinBPQ. | ||
- | To start using his repo, you need tell your machine to trust the repo: | + | There are two ways of installing |
- | < | + | ==== Option 1: Script ==== |
- | wget -q https:// | + | |
- | sudo mv hibby.key / | + | |
- | </ | + | |
- | Then you need to add the repo for your OS: | + | The script requires dowloaded, set to executable and run and is a little simpler than the manual setup - thanks to John M5ET for writing it! |
+ | |||
+ | I strongly recommend you read through it **before** running it - it should look similar to the manual method below. | ||
+ | **General computer security advice is to not blindly run scripts you downloaded from the internet!** | ||
+ | |||
+ | Download the script from: [[https:// | ||
+ | |||
+ | Lines you can run in the command line are: | ||
< | < | ||
- | # Ubuntu 22.04 LTS amd64 | + | cd /tmp |
- | sudo sh -c 'echo " | + | wget https://guide.hibbian.org/static/files/setup.sh |
+ | chmod +x /tmp/setup.sh | ||
+ | sudo bash / | ||
+ | </ | ||
- | # Raspberry Pi OS 12 - ' | + | ==== Option 2: Manually ==== |
- | sudo sh -c 'echo "deb https:// | + | |
- | # Raspberry Pi OS 11 - ' | + | To manually install, you need to download the repo .deb for your OS and install it: |
- | sudo sh -c 'echo "deb https:// | + | |
- | # Debian 13 amd64 | + | * Bullseye: < |
- | sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages testing | + | * Bookworm: <http://repo.hibbian.org/ |
+ | * Trixie: < | ||
- | # Debian 12 amd64 | + | it should be a case of, for example: |
- | sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages bookworm | + | |
+ | < | ||
+ | wget http://repo.hibbian.org/ | ||
+ | sudo apt install ./hibbian-archive-keyring_20240924~packetrepo~TRIXIE+3_all.deb | ||
</ | </ | ||
===== Installation ===== | ===== Installation ===== | ||
- | |||
- | **Do this once, only.** | ||
After following the above steps, to install LinBPQ, run the below commands: | After following the above steps, to install LinBPQ, run the below commands: | ||
Line 48: | Line 58: | ||
LinBPQ runs as a background service and requires a config file - see the next sections for details. | LinBPQ runs as a background service and requires a config file - see the next sections for details. | ||
+ | |||
===== Configuration ===== | ===== Configuration ===== | ||
- | A default config file will be placed at / | + | A default config file will be placed at '' |
- | Simple | + | We ship a backup |
- | < | + | Whenever you have updated the [[https://www.cantab.net/users/john.wiseman/Documents/BPQCFGFile.html|config]], restart LinBPQ: |
- | wget -q https://gist.githubusercontent.com/M0LTE/52824537b3fe21d19baf9a66eda4db86/ | + | |
- | # edit as required, then: | + | |
- | sudo mv bpq32.cfg /etc/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: | + | |
- | + | ||
- | < | + | |
- | sudo chown :linbpq / | + | |
- | sudo chmod 644 / | + | |
- | </ | + | |
- | + | ||
- | Whenever you have updated the config, restart LinBPQ: | + | |
< | < | ||
Line 109: | Line 107: | ||
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.1705357714.txt.gz · Last modified: by m0lte