User Tools

Site Tools


packet:linbpq-apt-installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
packet:linbpq-apt-installation [2024/04/06 17:49] – [Configuration] m0ltepacket:linbpq-apt-installation [2025/03/21 11:59] (current) mm0rfn
Line 13: 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 the repo: script or manually line.
  
-<code> +==== Option 1Script ====
-wget -q https://online-amateur-radio-club-m0ouk.github.io/oarc-packages/hibby.key +
-sudo mv hibby.key /etc/apt/trusted.gpg.d/hibby.asc +
-</code>+
  
-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://guide.hibbian.org/static/files/setup.sh]] 
 + 
 +Lines you can run in the command line are:
  
 <code> <code>
-# Ubuntu 22.04 LTS amd64 +cd /tmp 
-sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages jammy main" >> /etc/apt/sources.list'+wget https://guide.hibbian.org/static/files/setup.sh 
 +chmod +x /tmp/setup.sh 
 +sudo bash /tmp/setup.sh 
 +</code>
  
-# Raspberry Pi OS 12 - 'Bookworm' +==== Option 2Manually ====
-sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages bookworm main" >> /etc/apt/sources.list'+
  
-# Raspberry Pi OS 11 - 'Bullseye' +To manually install, you need to download the repo .deb for your OS and install it:
-sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages bullseye main" >> /etc/apt/sources.list'+
  
-# Debian 13 amd64 +* Bullseye: <http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240924~packetrepo11+3_all.deb>\\ 
-sudo sh -c 'echo "deb https://online-amateur-radio-club-m0ouk.github.io/oarc-packages testing main" >> /etc/apt/sources.list'+* Bookworm: <http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240924~packetrepo11+3_all.deb>\\ 
 +* Trixie: <http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240924~packetrepo~TRIXIE+3_all.deb>\\
  
-# 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 main" >> /etc/apt/sources.list'+ 
 +<code> 
 +wget http://repo.hibbian.org/packetrepo/pool/main/h/hibbian-archive-keyring/hibbian-archive-keyring_20240924~packetrepo~TRIXIE+3_all.deb 
 +sudo apt install ./hibbian-archive-keyring_20240924~packetrepo~TRIXIE+3_all.deb
 </code> </code>
  
 ===== 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 51: 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 need to be placed at ''/etc/bpq32.cfg'' before bpq will start.+A default config file will be placed at ''/etc/bpq32.cfg'' before bpq will start.
  
-We ship a simple config file suitable for a basic node with a single KISS modem with the package in `/usr/share/doc/linbpq/examples/bpq32.cfg`, taken from: https://gist.github.com/M0LTE/52824537b3fe21d19baf9a66eda4db86 +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!
- +
-<code> +
-sudo cp /usr/share/doc/linbpq/examples/bpq32.cfg /etc/bpq32.cfg +
-# edit as required, then: +
-sudo chown :linbpq /etc/bpq32.cfg +
-sudo chmod 644 /etc/bpq32.cfg +
-</code>+
  
-Whenever you have updated the config, restart LinBPQ:+Whenever you have updated the [[https://www.cantab.net/users/john.wiseman/Documents/BPQCFGFile.html|config]], restart LinBPQ:
  
 <code> <code>
packet/linbpq-apt-installation.1712425753.txt.gz · Last modified: 2024/04/06 17:49 by m0lte