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 [2023/10/01 22:20] (current) – [Installing LinBPQ on a Raspberry Pi] m0lte | ||
---|---|---|---|
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 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: 2023/04/03 22:10 by m0lte