# Can I control the drone through 5G (No Spektrum Transmitter) ?

Source: https://forum.modalai.com/topic/602/can-i-control-the-drone-through-5g-no-spektrum-transmitter
Category: Development Drones (https://forum.modalai.com/category/44/development-drones)
Tags: rb5
Posted: 2021-12-08 17:55:51 UTC by Francesco Jacomel
Replies: 5 · Views: 1587

## Francesco Jacomel · 2021-12-08 17:55:51 UTC

Or the 5G is only for viewing the camera?

## Reply by Chad Sweet (ModalAI staff) · 2021-12-08 17:59:35 UTC

Yes, the tool is QGroundControl. You can find documentation [here](https://docs.modalai.com/Qualcomm-Flight-RB5-user-guide-connect-gcs/) on how to control the drone over 5G.

## Reply by Francesco Jacomel · 2021-12-20 14:36:57 UTC

Hi Chad, 

Thanks for the directions.

I was going through the initial setup and I'm stuck at the point to connect to QGroundControl.
I'm at the same NW as the drone but when I check the status for the P4X it shows the following:
```
sh-4.4# systemctl status rb5-px4-start
● rb5-px4-start.service - rb5-px4-start
   Loaded: loaded (/etc/systemd/system/rb5-px4-start.service; enabled; vendor pr
   **Active: inactive (dead)**
lines 1-3/3 (END)

```
I've tried disabling/enabling and rebooting but I still could not see the drone on the QGC app..

Wifi is now up and running:
```
sh-4.4# ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.188.113.109  netmask 255.255.255.0  broadcast 10.188.113.255
        inet6 fe80::34d3:41a2:d468:53d2  prefixlen 64  scopeid 0x20<link>
        ether 00:03:7f:12:d8:ac  txqueuelen 3000  (Ethernet)
        RX packets 837  bytes 50588 (50.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 849  bytes 62391 (62.3 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
```

Let me know if any further configuration is necessary to have it available to connect on QGC.

## Reply by tom (ModalAI staff) · 2021-12-20 17:50:02 UTC

@Francesco-Jacomel `rb5-px4-start` relies on `rb5-net-check` to finish before starting. You will want to modify `/etc/systemd/system/rb5-net-check.service` to fit your network. 

If you take a look at the the service file:
```[Unit]
Description=rb5-net-check
After=sscrpcd.service
Requires=sscrpcd.service

[Service]
Type=oneshot
ExecStart=/usr/bin/rb5-net-check wlan0 192.168
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
```
By default it waits until `wlan0` is assigned an IP address of the form `192.168` 
For your use case it looks like you will want to change this `192.168` to `10.188` in order for the net check to pass and for px4 to start.

## Reply by Eric Katzfey (ModalAI staff) · 2021-12-20 18:09:06 UTC (in reply to Francesco Jacomel)

For reference the documentation is here: https://docs.modalai.com/Qualcomm-Flight-RB5-user-guide-px4/#system-bootup-behavior

## Reply by Francesco Jacomel · 2021-12-20 19:02:44 UTC (in reply to tom)

@tom said in [Can I control the drone through 5G \(No Spektrum Transmitter\) ?](/post/2852):
> /etc/systemd/system/rb5-net-check.service

Thank you @tom ! It worked!
