## UE(Google pixel 6) → OAI gNB → OAI CU → OAI CN → DN(Internet) ###### tags: `Construction` ## Now - Google can search something ## Future - transmit message - enter website - watch 4k video on Youtube ## UE - simulation - command: sudo ./nr-uesoftmodem -r 106 --numerology 1 --band 78 -C 3619200000 --ue-fo-compensation --sa -E -O ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf - conf: openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf - ![](https://hackmd.io/_uploads/r1JYGhx1T.png) - google pixel 6 - change IMSI(IMSI15),KI(Key),OPC - ![](https://hackmd.io/_uploads/HJJqG3gy6.png) ## gNB Install and run: https://hackmd.io/@mwnl-pre-6g-team/H1B8_X4lj Set conf: - conf: openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf ![](https://hackmd.io/_uploads/H1-MM2gkp.png) ## CN Install and run: https://hackmd.io/@mwnl-pre-6g-team/H1B8_X4lj Set conf: - oai-cn5g-fed/docker-compose/docker-compose-basic-nrf.yaml - change MCC,MNC,TAC ![](https://hackmd.io/_uploads/HJ_zf2eJp.png) - oai-cn5g-fed/docker-compose/database/oai_db2.sql - add INSERT INTO `AuthenticationSubscription` ``` INSERT INTO `AuthenticationSubscription` (`ueid`, `authenticationMethod`, `encPermanentKey`, `protectionParameterId`, `sequenceNumber`, `authenticationManagementField`, `algorithmId`, `encOpcKey`, `encTopcKey`, `vectorGenerationInHss`, `n5gcAuthMethod`, `rgAuthenticationInd`, `supi`) VALUES ('001010000000001', '5G_AKA', '0C0A34601D4F07677303652C0462535B', '0C0A34601D4F07677303652C0462535B', '{\"sqn\": \"000000000020\", \"sqnScheme\": \"NON_TIME_BASED\", \"lastIndexes\": {\"ausf\": 0}}', '8000', 'milenage', '63bfa50ee6523365ff14c1f45f88737d', NULL, NULL, NULL, NULL, '001010000000001'); ``` ## Reference 1. [hal.laas.fr/hal-03855794/file/PF5G_TridentCom2022.pdf](https://hal.laas.fr/hal-03855794/file/PF5G_TridentCom2022.pdf) 2. [手机连接上OAI基站_ki opc_老老老帅比的博客-CSDN博客](https://blog.csdn.net/qq_47141879/article/details/125678909?spm=1001.2014.3001.5502) 3. [【OpenAirInterface知识-2】OAI端到端部署之核心网部署_oai nr 核心网 部署_weixin_42604328的博客-CSDN博客](https://blog.csdn.net/weixin_42604328/article/details/126467729) 4. [[OpenAirInterface实战-11] :OAI nr-softmodem命令行参数详解_文火冰糖的硅基工坊的博客-CSDN博客](https://blog.csdn.net/HiWangWenBing/article/details/120790128) ![](https://hackmd.io/_uploads/rJteMngJa.png)