# Do you need the LoRaServer OS for the Rak831?

**URL:** <https://www.thethingsnetwork.org/forum/t/do-you-need-the-loraserver-os-for-the-rak831/25860>\
**Category:** Raspberry Pi Gateways\
**Created:** [May 9, 2019, 7:04pm UTC](https://www.thethingsnetwork.org/forum/t/do-you-need-the-loraserver-os-for-the-rak831/25860 "2019-05-09T19:04:39Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![bluejedi](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/bluejedi/32/44639_2.png) [@bluejedi](https://www.thethingsnetwork.org/forum/u/bluejedi)\
**Post date:** [May 10, 2019, 11:28am UTC](https://www.thethingsnetwork.org/forum/t/do-you-need-the-loraserver-os-for-the-rak831/25860/10 "2019-05-10T11:28:45Z")

</div>

> [@DaveDuf](#):
>
> So! My question is : Is there another way to program the HAT using python or shell scripts and if yes, is it possible that someone provide me with examples? I have found nothing or almost nothing on the web and it would help me

Have you checked the following topics already?:  
[The hard RAK831 cafe part 3](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-3/21100),  
[The hard RAK831 cafe part 2](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-2/10576)  
[The hard RAK831 cafe part 1](https://www.thethingsnetwork.org/forum/t/the-hard-rak831-cafe-part-1/8464)

As has been said before above, you can just use Raspbian for a LoRaWAN gateway. It is not required to use RAK Wireless’s OS image for RAK831.  
You should be able to run the gateway software in addition to the MQTT broker (‘plus a couple of other things’) on your existing Raspberry Pi - assuming that the MQTT broker and ‘other things’ do not put a heavy load on your RPi.

**How to install TTN Gateway software on Raspberry Pi without custom pre-configured OS image:**

There are several gateway (packet forwarder) implementations and installation procedures available for Raspberry Pi.  
For installing the gateway software onto an existing Raspberry Pi setup (without the need to first install some custom pre-configured OS image) I like the setup procedure described here: [GitHub - ch2i/LoraGW-Setup: SX1301 Lora Concentrator Raspberry PI based gateway setup](https://github.com/ch2i/LoraGW-Setup)

This setup procedure supports multiple SX1301 concentrator boards RAK831 included and uses the multi-protocol packet forwarder (by @kersing) which is more secure than the basic packet forwarder used in some other setups (e.g. [GitHub - ttn-zh/ic880a-gateway: Reference setup for iC880a gateways running The Things Network](https://github.com/ttn-zh/ic880a-gateway)).

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/do-you-need-the-loraserver-os-for-the-rak831/25860)._
