# Private 5G Network Connection

Source: https://forum.modalai.com/topic/1021/private-5g-network-connection
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2022-06-14 14:23:55 UTC by LudwigBAH
Replies: 3 · Views: 976

## LudwigBAH · 2022-06-14 14:23:55 UTC

Hi Devs,
I wanted to know if there have been any successful connections of the RB5 to a private 5G network? For example, the iphone doesn’t work on private network unless it’s a CBRS band.

## Reply by Chad Sweet (ModalAI staff) · 2022-06-14 15:32:13 UTC

We have tested the Sierra modems using our own private network. We have not tried the Quectel RM502Q-AE modems ourselves, though they are unlocked. So, as long as the SIM is configured properly it seems likely to work, but we have not verified ourselves.

## Reply by kitkatSG · 2022-06-15 03:10:08 UTC

Hi @Chad-Sweet and Dev Team,

I'm also configuring RB5 to connect to our 5G private network. After run `rb5-modem-configure` to configure quectel the APN. 
![d24988d1-1e4e-4051-804c-44c0b5870473-image.png](https://forum.modalai.com/assets/uploads/files/1655262517949-d24988d1-1e4e-4051-804c-44c0b5870473-image.png) 
We get this error:
![cbd5a923-b81d-4140-824a-cc5c622b6af4-image.png](https://forum.modalai.com/assets/uploads/files/1655262476915-cbd5a923-b81d-4140-824a-cc5c622b6af4-image.png) 

How can I change MCC, and MNC in the configuration? Thank you.

## Reply by tom (ModalAI staff) · 2022-06-15 16:50:39 UTC

@kitkatSG @LudwigBAH Copying my response from another thread: 

Here is an example of how to send an AT command to the Quectel modem:

```
echo -ne "AT+QNWPREFCFG=\"mode_pref\",LTE:NR5G\r" | busybox microcom -t 1000 /dev/ttyUSB2
```

The above gets ran as part of rb5-modem in order to set the network preference to allow both LTE and 5G.

Here is a link to the Quectel RM5* series modem AT command manual, you can probably find a relevant AT command to use there: https://www.quectel.com/wp-content/uploads/2021/05/Quectel_RG50xQRM5xxQ_Series_AT_Commands_Manual_V1.2.pdf
