# Best setup for v3 on a pi

**URL:** <https://www.thethingsnetwork.org/forum/t/best-setup-for-v3-on-a-pi/48153>\
**Category:** V3 Gateways\
**Created:** [May 28, 2021, 11:40am UTC](https://www.thethingsnetwork.org/forum/t/best-setup-for-v3-on-a-pi/48153 "2021-05-28T11:40:58Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![tkerby](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/tkerby/32/36978_2.png) [@tkerby](https://www.thethingsnetwork.org/forum/u/tkerby)\
**Post date:** [May 28, 2021, 11:40am UTC](https://www.thethingsnetwork.org/forum/t/best-setup-for-v3-on-a-pi/48153/1 "2021-05-28T11:40:59Z")

</div>

I’ve been running the TTN packet forwarder on Pi plus concentrator based gateways (yes I know support for it was dropped).

What’s the current best option for connecting a Pi to V3 with easiest setup and lowest maintenance (a local gui may also be nice)

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [May 28, 2021, 11:52am UTC](https://www.thethingsnetwork.org/forum/t/best-setup-for-v3-on-a-pi/48153/2 "2021-05-28T11:52:56Z")

</div>

Change the address in global or local json.conf and erm, carry on.

What do you need that may need a GUI - the Pi should just crack on and you can use the command line to view the forwarder log. Adding a full (or just bits of X) GUI will put a load on that’s unwarrented for its use as a gateway.

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [May 28, 2021, 12:34pm UTC](https://www.thethingsnetwork.org/forum/t/best-setup-for-v3-on-a-pi/48153/3 "2021-05-28T12:34:12Z")

</div>

> [@tkerby](#):
>
> easiest setup and lowest maintenance

The easiest way would probably be to use Balena with the BasicStation setup. There are tutorials on-line.

> [@descartes](#):
>
> Change the address in global or local json.conf

The legacy TTN packet forwarder (written in Go) is not supported in V3. So a replacement packet forwarder will be required. BasicStation is the TTN prefered option. Other options are the Semtech UDP packet forwarder or MP Forwarder.

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [May 28, 2021, 1:30pm UTC](https://www.thethingsnetwork.org/forum/t/best-setup-for-v3-on-a-pi/48153/4 "2021-05-28T13:30:55Z")

</div>

Hi Jac @kersing will shortly be moving the 1st ~5-10 Pi (various flavours to test) GW’s from estate over to V3 - all currently running your MP… simple change of target address will do the trick or do I need to go deeper? Tried simple switch to of one to Nick’s @descartes V3 instance a few weeks back to test but didnt go well (discovered RAK Conc card on the system had ‘gone deaf’!) so parked project until more time and focussed on other GW’s instead.

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [May 28, 2021, 2:34pm UTC](https://www.thethingsnetwork.org/forum/t/best-setup-for-v3-on-a-pi/48153/5 "2021-05-28T14:34:12Z")

</div>

> [@kersing](#):
>
> The legacy TTN packet forwarder (written in Go) is not supported in V3

Ah, my bad, didn’t spot that.

I used this recently, worked a treat:

> **[GitHub - kersing/packet\_forwarder: Multi protocol packet forwarder supporting...](https://github.com/kersing/packet_forwarder)**
>
> Multi protocol packet forwarder supporting the TTN gateway-connector protocol. - kersing/packet\_forwarder

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [May 28, 2021, 3:09pm UTC](https://www.thethingsnetwork.org/forum/t/best-setup-for-v3-on-a-pi/48153/6 "2021-05-28T15:09:41Z")

</div>

Are you running Balena? In that case you will need updated scripts which are not there yet (afaik) because the current script pulls the gateway config from V2.

For plain Linux gateways updating the server address for ‘semtech’ transport is sufficient. For ‘ttn’ transport you need to update ‘serv\_gw\_id’ and ‘serv\_gw\_key’ as well.

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [May 28, 2021, 3:13pm UTC](https://www.thethingsnetwork.org/forum/t/best-setup-for-v3-on-a-pi/48153/7 "2021-05-28T15:13:36Z")

</div>

No dont use Balena - so many disparate GW types a harmonised solution somewhat lost on me - though perhaps I should try for some of the more common types.

Will make sure I look at the id’s/keys as well… expect panicked calls next week 😰

---

<div class="post-metadata">

**Author:** ![Robbo79](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/robbo79/32/36123_2.png) [@Robbo79](https://www.thethingsnetwork.org/forum/u/Robbo79)\
**Post date:** [May 29, 2021, 8:30am UTC](https://www.thethingsnetwork.org/forum/t/best-setup-for-v3-on-a-pi/48153/8 "2021-05-29T08:30:13Z")

</div>

I have same problem build a pi gateways as per the tutorial, now not working, can someone guide me though the update to getting it to work on v3 please

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [May 29, 2021, 8:32am UTC](https://www.thethingsnetwork.org/forum/t/best-setup-for-v3-on-a-pi/48153/9 "2021-05-29T08:32:00Z")

</div>

If you read this topic you’ll see I posted a link to the software I used just three entries above yours.

Two entries above that is another suggestion for a solution.

---

<div class="post-metadata">

**Author:** ![gy4nt](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/gy4nt/32/42437_2.png) [@gy4nt](https://www.thethingsnetwork.org/forum/u/gy4nt)\
**Post date:** [June 2, 2021, 1:35pm UTC](https://www.thethingsnetwork.org/forum/t/best-setup-for-v3-on-a-pi/48153/10 "2021-06-02T13:35:41Z")

</div>

Thanks for the recommendation @kersing (it’s already V3 by default)

Feel free to test the basicstation on balena. Find here the repo [GitHub - balenalabs/basicstation: LoRa Basics™ Station - The LoRaWAN Gateway Software](https://github.com/balenalabs/basicstation) @tkerby
