To setup @kersing’s MP Forwarder on a Raspberry Pi without using resion.io you can use the following:
Update:
@Charles has updated the setup and documentation in the above github repository.
It is not needed to make below changes anymore, this is now handled via questions in setup automatically.
While this setup is meant for @Charles’s ‘RAK831-Zero’ Raspberry Pi Zero adapter board it can also be used for other (or without) adapter boards. This requires only two changes - described below - to the setup script.
When using a different (or no) adapter board the following changes should be made to the setup.sh script:
-
Configure the script with the correct GPIO port that your adapter board uses for the reset pin.
This is on line 27:GW_RESET_PIN=25
Note that you should specify the GPIO port number, not the physical PIN number (the name PIN is confusing here).
For example: the RAK Raspberry Pi Adapter board uses GPIO 17 (which is physical pin 11).
So for the RAK Raspberry Pi adapter this should be changed to:GW_RESET_PIN=17
.
(setup.shwill update the reset ‘pin’ (gpio) value in/opt/loragw/start.shwhere it is namedSX1301_RESET_BCM_PIN)
. -
Disable the monitor part (monitor is RAK831-Zero adapter board specific) by disabling lines 60-65.
Disable the lines by changing them to comments (put # at beginning) or delete them.