# Raspberry Pi and 4G dongle access via Losant

**URL:** <https://forums.losant.com/t/raspberry-pi-and-4g-dongle-access-via-losant/2251>\
**Category:** Help\
**Tags:** workflow\
**Created:** [October 7, 2019, 11:40pm UTC](https://forums.losant.com/t/raspberry-pi-and-4g-dongle-access-via-losant/2251 "2019-10-07T23:40:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Zomo](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@Mike\_Zomo](https://forums.losant.com/u/Mike_Zomo)\
**Post date:** [October 7, 2019, 11:40pm UTC](https://forums.losant.com/t/raspberry-pi-and-4g-dongle-access-via-losant/2251/1 "2019-10-07T23:40:27Z")

</div>

Hi All,

I would like to access a number of raspberry Pi(s) each connected to 4G USB dongles remotely using Losant. Commands would sent from PC or mobile device. Is this the type of task Losant is suitable for? Forgive the basic question, just starting out.

MikeZ

---

<div class="post-metadata">

**Author:** ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)\
**Post date:** [October 8, 2019, 2:04pm UTC](https://forums.losant.com/t/raspberry-pi-and-4g-dongle-access-via-losant/2251/2 "2019-10-08T14:04:17Z")

</div>

Hello @Mike_Zomo,

Welcome to the Losant Forums! I do believe Losant would accomplish your task, and all you _might_ need is a way to get data to and from your Raspberry Pi(s). This can be done a multitude of ways, but I will include relevant Pi content below, which usually includes MQTT. You say “commands would be sent from PC or mobile device,” do you have a way of sending these commands now? Or would Losant’s [Device Commands](https://docs.losant.com/devices/commands/) likely be your way of sending (and possibly receiving)?

Here is some education content for the Pi:

> **[Getting Started with the Raspberry Pi](https://docs.losant.com/getting-started/boards/getting-started-with-raspberry-pi/)**
>
> Learn more about using the Raspberry Pi with Losant.

  

> **[MQTT Protocol](https://docs.losant.com/mqtt/overview/)**
>
> Learn about communicating with the Losant platform over MQTT.

  

> **[Edge Agent Workshop](https://docs.losant.com/university/course-six-workshop/)**
>
> Become a Losant expert with Losant University. This is the Course Six Workshop on the Edge Agent.

  

> **[Getting Started with Raspberry Pi 3](https://www.losant.com/blog/getting-started-with-raspberry-pi-3)**
>
> Step-by-step instructions for how to get up and running with a Raspberry Pi 3.

Thanks!  
Julia

---

<div class="post-metadata">

**Author:** ![Mike\_Zomo](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@Mike\_Zomo](https://forums.losant.com/u/Mike_Zomo)\
**Post date:** [October 8, 2019, 4:44pm UTC](https://forums.losant.com/t/raspberry-pi-and-4g-dongle-access-via-losant/2251/3 "2019-10-08T16:44:37Z")

</div>

Hi Julia,

Thanks for responding, I will look into all the references you gave. I was hoping to send command from or mobile via (routed) Losant. I want get around the need for port forwarding and like on the Raspberry Pi, due to the constraints set by the use of the 4G dongle.

Kind Regards

MikeZ

---

<div class="post-metadata">

**Author:** ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)\
**Post date:** [October 8, 2019, 6:19pm UTC](https://forums.losant.com/t/raspberry-pi-and-4g-dongle-access-via-losant/2251/5 "2019-10-08T18:19:19Z")

</div>

Hi @Mike_Zomo,

I think the [Edge Agent](https://docs.losant.com/edge-compute/overview/) will be your best bet, then using the cellular connection, commands could be sent to and from Losant and the Pis via MQTT.

Thanks,  
Julia

---

<div class="post-metadata">

**Author:** ![Mike\_Zomo](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@Mike\_Zomo](https://forums.losant.com/u/Mike_Zomo)\
**Post date:** [October 8, 2019, 6:52pm UTC](https://forums.losant.com/t/raspberry-pi-and-4g-dongle-access-via-losant/2251/6 "2019-10-08T18:52:44Z")

</div>

Hi Julia,

Thanks once more.

Kind Regards

MikeZ
