# Connecting to a private 5G network

Source: https://forum.modalai.com/topic/984/connecting-to-a-private-5g-network
Category: Development Drones (https://forum.modalai.com/category/44/development-drones)
Tags: rb5
Posted: 2022-06-07 01:45:55 UTC by chris_macdonald
Replies: 2 · Views: 1241

## chris_macdonald · 2022-06-07 01:45:55 UTC

Hello,
Have there 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 kitkatSG · 2022-06-15 04:15:08 UTC

Hi @chris_macdonald ,
How is the status of your 5G private network connection? 
I face similar issue when connect the RB5 to my 5G private network. After carefully inserting a sim card to the slot, the `quectel-CM -s $APN` does not allow me to choose PLMN. How do you solve this issue? Thank you.

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

@chris_macdonald @kitkatSG 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
