Terminal 1
×
htopInteractive process viewerfree -hMemory usagedf -hDisk usageuptimeSystem uptime and loadip addrNetwork interfacescd /opt/oai && sudo ./nr-softmodem -O gnb.conf --rfsimStart gNB in SA mode with rfsimsudo pkill -9 nr-softmodemStop gNB processcat /opt/oai/gnb.confView gNB configurationps aux | grep nr-softmodemCheck gNB processjournalctl -u oai-gnb -fFollow gNB systemd logstail -f /tmp/oai-gnb.logTail gNB log filecd /opt/oai && sudo ./nr-uesoftmodem --rfsim -r 106 --numerology 1 --band 78 -C 3319680000 --ssb 516 --uicc0.imsi 999700000000001 --uicc0.nssai_sst 1 --uicc0.opc E8ED289DEBA952E4283B54E88E6183CA --uicc0.key 465B5CE8B199B49FAA5F0A2EE238A6BC --uicc0.dnn internet --rfsimulator.serveraddr 127.0.0.1Start nrUE with rfsim connecting to local gNBsudo pkill -9 nr-uesoftmodemStop nrUE processcat /opt/oai/ue.confView UE configurationps aux | grep nr-uesoftmodemCheck nrUE processsystemctl status open5gs-amfdAMF service statussystemctl status open5gs-smfdSMF service statussystemctl status open5gs-upfdUPF service statusfor svc in amfd smfd upfd nrfd ausfd udmd udrd pcfd nssfd bsfd; do sudo systemctl restart open5gs-$svc; doneRestart all Open5GS NFsjournalctl -u open5gs-amfd -fFollow AMF logsjournalctl -u open5gs-smfd -fFollow SMF logsjournalctl -u open5gs-upfd -fFollow UPF logscat /opt/oai/gnb.confgNB configurationcat /opt/oai/ue.confUE configurationcat /etc/open5gs/amf.yamlAMF configurationcat /etc/open5gs/smf.yamlSMF configurationcat /etc/open5gs/upf.yamlUPF configurationping -I oaitun_ue1 8.8.8.8 -c 4Ping Google DNS via 5G tunnelcurl --interface oaitun_ue1 https://ifconfig.meCheck public IP via 5Gip addr show oaitun_ue1Show UE tunnel interfaceiperf3 -c 10.45.0.1 -t 10 --bind 10.45.0.2Throughput test via UPFtail -f /tmp/oai-gnb.logFollow gNB log filegrep -i "MCS\|HARQ\|BLER" /tmp/gnb.logPHY/MAC stats from gNB logjournalctl -u oai-gnb -fgNB systemd journaljournalctl -u open5gs-amfd -fAMF logssudo tcpdump -i any sctp -w /tmp/sctp.pcapCapture SCTP/NGAP trafficsudo tcpdump -i any port 2152 -w /tmp/gtpu.pcapCapture GTP-U traffictshark -i any -f sctp -Y ngapLive NGAP protocol decodesudo tcpdump -i oaitun_ue1 -w /tmp/oaitun.pcapCapture UE tunnel trafficdmesg | tail -30Kernel messages (check OOM, errors)ss -tlnp | grep -E '38412|2152|36421'Check NGAP/GTP-U/F1 portsip route show table all | grep oaitunUE tunnel routingiptables -t nat -L -n -vNAT ruleslscpu | head -20CPU info for scheduling