packet:linbpq_pi_installation
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| packet:linbpq_pi_installation [2023/04/03 22:10] – created m0lte | packet:linbpq_pi_installation [2026/08/07 21:21] (current) – Mort upgrade: escape literal asterisks so the quoted string renders verbatim 0.0.0.0 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| This is a document which describes the general case of installing and configuring LinBPQ on a Pi - this is probably not the instructions to establish a node specific to the OARC national packet project network. | This is a document which describes the general case of installing and configuring LinBPQ on a Pi - this is probably not the instructions to establish a node specific to the OARC national packet project network. | ||
| + | |||
| + | **NB this process has now been superseded since one of our members has kindly established an apt repo containing a build of LinBPQ.\\ | ||
| + | See [[packet: | ||
| ===== Assumptions ===== | ===== Assumptions ===== | ||
| Line 81: | Line 84: | ||
| 2. Run the command **sudo nano bpq32.cfg** to open the configuration file\\ | 2. Run the command **sudo nano bpq32.cfg** to open the configuration file\\ | ||
| 3. Spend a few minutes looking over this file. The tool we used has added a load of comments telling you what everything does.\\ | 3. Spend a few minutes looking over this file. The tool we used has added a load of comments telling you what everything does.\\ | ||
| - | 4. Navigate to the section that starts *******Port 1*******\\ | + | 4. Navigate to the section that starts |
| 5. Change the COMPORT and SPEED to the correct values - in the case of a NinoTNC you would change: | 5. Change the COMPORT and SPEED to the correct values - in the case of a NinoTNC you would change: | ||
| \\ | \\ | ||
| Line 100: | Line 103: | ||
| | | ||
| \\ | \\ | ||
| + | |||
| + | ===== Suggestion: run as non-root ===== | ||
| + | The script above runs bpq as the root user, which is generally considered to be bad practise. | ||
| + | |||
| + | 1. Run the following command to stop the bpq service: | ||
| + | < | ||
| + | sudo systemctl stop bpq | ||
| + | </ | ||
| + | 2. Run the following command to change ownership of all the configuration files: | ||
| + | < | ||
| + | sudo chown -R szymon: | ||
| + | </ | ||
| + | 3. Edit the systemd configuration for bpq using sudo, for example with: | ||
| + | < | ||
| + | sudo nano / | ||
| + | </ | ||
| + | and update the file to include user and group information in the **[Service]** section: | ||
| + | < | ||
| + | [Service] | ||
| + | User=szymon | ||
| + | Group=szymon | ||
| + | </ | ||
| + | 4. Run the setcap command to allow access to lower ports and captures as needed: | ||
| + | < | ||
| + | sudo setcap " | ||
| + | </ | ||
| + | 5. Restart the bpq service: | ||
| + | < | ||
| + | sudo systemctl start bpq | ||
| + | </ | ||
| ===== What Next? Access your node ===== | ===== What Next? Access your node ===== | ||
packet/linbpq_pi_installation.1680559834.txt.gz · Last modified: by m0lte
