SlideShare a Scribd company logo
free5GC Installation
李家安, 徐浚于
2019.07.19
Outline
● Overview
● Hardware(VM) requirement
● Environment setup
● Install free5gc
● Test the installation
● Configure & attach eNodeB
● Make a SIM card
● Register the SIM card
● Connecting to the Internet
● Troubleshooting
● Reference
Outline
● Overview
● Hardware(VM) requirement
● Environment setup
● Install free5gc
● Test the installation
● Configure & attach eNodeB
● Make a SIM card
● Register the SIM card
● Connecting to the Internet
● Troubleshooting
● Reference
Overview (1/4)
● 5G system architecture
Overview (2/4)
Overview (3/4)
● free5gc
○ open-source project for 5G mobile core network
○ developed by NCTU team
○ with AMF, SMF, UPF implemented
○ can run in all-in-one mode or cluster mode
○ official site: https://www.free5gc.org
Overview (4/4)
● Preparation
○ hardware & OS requirement
○ environment setup
● Build the program
○ compile the free5gc source
● Testing
○ run the test script
● Connect eNB & smartphone
○ configure eNB & free5gc
○ register SIM card
● Troubleshooting
○ when & how to use
Outline
● Overview
● Hardware(VM) requirement
● Environment setup
● Install free5gc
● Test the installation
● Configure & attach eNodeB
● Make a SIM card
● Register the SIM card
● Connecting to the Internet
● Troubleshooting
● Reference
Hardware(VM) Requirement (1/1)
● minimum hradware requirement
○ CPU: Intel i5 processor
○ RAM: 4GB
○ Disk capacity: 160G
○ NIC card: 1Gbps ethernet card
● recommended
○ CPU: Intel i7 processor
○ RAM: 8GB
○ Disk capacity: 160G
○ NIC card: 10Gbps ethernet card
● VM information
○ Linux kernel: 4.15.0-43-generic
○ we will install free5gc on Ubuntu 18.04
Outline
● Overview
● Hardware(VM) requirement
● Environment setup
● Install free5gc
● Test the installation
● Configure & attach eNodeB
● Make a SIM card
● Register the SIM card
● Connecting to the Internet
● Troubleshooting
● Reference
Environment Setup (1/6)
● prerequisties - install mongodb & golang compiler
○ sudo apt-get update
○ sudo apt-get install mongodb wget git
○ sudo systemctl start mongodb ( if deamon not running )
○ wget -q https://storage.googleapis.com/golang/getgo/installer_linux
○ chmod +x installer_linux
○ ./installer_linux
○ source ~/.bash_profile
○ rm -f installer_linux
○ go get -u -v "github.com/gorilla/mux"
○ go get -u -v "golang.org/x/net/http2"
○ go get -u -v "golang.org/x/sys/unix"
Environment Setup (2/6)
● Setup tun device
○ verify the availability
○ configure uptun
sudo sh -c "cat << EOF > /etc/systemd/network/99-free5gc.netdev
[NetDev]
Name=uptun
Kind=tun
EOF"
Environment Setup (3/6)
● Setup tun device ( cont. )
○ enable & restart networkd
sudo systemctl enable systemd-networkd && sudo systemctl restart systemd-
networkd
○ IPv6 kernel configuration
sysctl -n net.ipv6.conf.uptun.disable_ipv6
(if the output is 0 and IPv6 is enabled, skip the followings)
sudo sh -c "echo 'net.ipv6.conf.uptun.disable_ipv6=0' > /etc/sysctl.d/30-free5gc.conf"
sudo sysctl -p /etc/sysctl.d/30-free5gc.conf
Environment Setup (4/6)
● Setup tun device ( cont. )
○ configure the IP address of uptun ( networkd )
sudo sh -c "cat << EOF > /etc/systemd/network/99-free5gc.network
[Match]
Name=uptun
[Network]
Address=45.45.0.1/16
Address=cafe::1/64
EOF"
○ restart networkd
sudo systemctl restart systemd-networkd
Environment Setup (5/6)
● Setup tun device ( cont. )
○ configure the IP address of uptun ( networking )
○ add the following lines to /etc/network/interfaces
auto uptun
iface uptun inet static
address 45.45.0.1
netmask 255.255.0.0
iface uptun inet6 static
pre-up modprobe ipv6
address cafe::1
netmask 64
○ restart interface
sudo ip a flush uptun
sudo systemctl restart networking
Environment Setup (6/6)
● Verify the status of uptun
sudo apt-get -y install net-tools
ifconfig uptun
Outline
● Overview
● Hardware(VM) requirement
● Environment setup
● Install free5gc
● Test the installation
● Configure & attach eNodeB
● Make a SIM card
● Register the SIM card
● Connecting to the Internet
● Troubleshooting
● Reference
Install free5gc (1/1)
● Dependencies
sudo apt-get -y install autoconf libtool gcc pkg-config git flex bison
libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn11-dev libmongoc-
dev libbson-dev libyaml-dev
● Build the source code
git clone https://bitbucket.org/nctu_5g/free5gc.git
cd free5gc
autoreconf -iv
./configure --prefix=`pwd`/install
make -j `nproc`
make install
Outline
● Overview
● Hardware(VM) requirement
● Environment setup
● Install free5gc
● Test the installation
● Configure & attach eNodeB
● Make a SIM card
● Register the SIM card
● Connecting to the Internet
● Troubleshooting
● Reference
Test the installation (1/1)
● Use the program free5gc/test/testngc to check whether the installation is
correct.
● Invoke the following command
./test/testngc -f install/etc/free5gc/test/free5gc.testngc.conf
Outline
● Overview
● Hardware(VM) requirement
● Environment setup
● Install free5gc
● Test the installation
● Configure & attach eNodeB
● Make a SIM card
● Register the SIM card
● Connecting to the Internet
● Troubleshooting
● Reference
eNode Setting (1/2)
● Foxconn FC4128 for example
○ Small Cell / Basic / WAN Configuration / IPv4 Configuration
■ Change IP
○ Small Cell / Data Model / Device / Services / FAPService / 1 / FAPControl / LTE / Gateway /
S1SigLinkServerList
■ Change MME IP
eNode Setting (2/2)
● Foxconn FC4128 for example
○ Small Cell / Data Model / Device / Services / FAPService / 1 / CellConfig / LTE / EPC
■ Check Ciphering / Integrity / TAC
○ Small Cell / Data Model / Device / Services / FAPService / 1 / CellConfig / LTE / EPC /
PLMNList / 1 / PLMNID
■ Check PLMNID
Configure the Core Network
In install/etc/free5gc/free5gc.conf, check:
● amf s1ap IP
○ line 67
● smf upf IP
○ line 162
● amf gummei
○ line 89 - 94
● amf tai
○ line 128 - 132
● upf pfcp IP
○ line 236
● upf gtpu IP
○ line 252
s1 setup
Check if eNodeB can connect to Core Network
Run ./free5gc-ngcd
Outline
● Overview
● Hardware(VM) requirement
● Environment setup
● Install free5gc
● Test the installation
● Configure & attach eNodeB
● Make a SIM card
● Register the SIM card
● Connecting to the Internet
● Troubleshooting
● Reference
Make a SIM card (1/6)
● Programmable SIM Card:
○ sysmoUSIM SJS1 with ADM keys
○ http://shop.sysmocom.de/products/sysmousim-sjs1
● SIM Card Reader
Make a SIM card (2/6)
● Install essential packages
○ sudo apt-get install pcscd pcsc-tools libccid python-dev swig python-setuptools python-pip
libpcsclite-dev
○ sudo pip install pycrypto
● Download PySIM
○ git clone https://git.osmocom.org/pysim.git
● Change to pyscard folder and install
○ cd pyscard path
○ sudo /usr/bin/python setup.py build_ext install
Make a SIM card (3/6)
● Verify your reader is ready
○ sudo pcsc_scan
Make a SIM card (4/6)
● Check whether your reader can read the SIM card
○ cd <pysim-clone-path>
○ ./pySim-read.py -p 0
Make a SIM card (5/6)
● Prepare for the following information
○ MCC: Mobile Country Code ,代表國家
○ MNC: Mobile Network Code ,代表電信業者
○ IMSI: International Mobile Subscriber Identity ,代表 SIM 卡用戶的號碼
○ OP: 電信業者用來產生加密 key 的號碼
○ KI: Authentication key ,給電信商驗證的密碼
○ ICCID: IC 卡獨一無二的識別碼
○ ADM1: 更改 SIM 卡資料的密碼
● IMSI、K、OP/OPc 需要保留備用
○ 用以將 SIM 註冊進 Core Network
Make a SIM card (6/6)
● Program your SIM card information
○ ./pySim-prog.py -p 0 -x 208 -y 93 -t sysmoUSIM-SJS1 -i 208930000000003 --
op=8e27b6af0e692e750f32667a3b14605d -k 8baf473f2f8fd09487cccbd7097c6862 -s
8988211000000088313 -a 23605945
● 再用 read 的指令驗證,看看有沒有正確寫入
Outline
● Overview
● Hardware(VM) requirement
● Environment setup
● Install free5gc
● Test the installation
● Configure & attach eNodeB
● Make a SIM card
● Register the SIM card
● Connecting to the Internet
● Troubleshooting
● Reference
Register the SIM card
● sudo apt-get -y install nodejs npm
● cd webui && npm install
● npm run dev
● Go to browser => http://localhost:3000
○ Login
■ account: admin
■ password: 1423
○ Add subscriber
■ IMSI: 208930000000003
■ K: 8baf473f2f8fd09487cccbd7097c6862
■ OPc: 8e27b6af0e692e750f32667a3b14605d
Outline
● Overview
● Hardware(VM) requirement
● Environment setup
● Install free5gc
● Test the installation
● Configure & attach eNodeB
● Make a SIM card
● Register the SIM card
● Connecting to the Internet
● Troubleshooting
● Reference
Outline
● Overview
● Hardware(VM) requirement
● Environment setup
● Install free5gc
● Test the installation
● Configure & attach eNodeB
● Make a SIM card
● Register the SIM card
● Connecting to the Internet
● Troubleshooting
● Reference
Throubleshooting
● ./test/testngc failed
○ If configuration correct?
○ Clean zombie: sudo killall -9 testngc
○ Clean subscriber
■ $ mongo
■ > use free5gc
■ > db.subscriber.find() # Check if subscriber remind
■ > db.subscriber.drop()
■ > db.subscriber.find() # double check if drop the subscriber
● ./free5gc-ngcd failed
○ sudo killall -9 testngc / sudo killall -9 free5gc-ngcd
● ERRR: - The certificate is expired
○ cd support/freeDiameter
○ ./make_certs.sh .
○ cd .. && make install
Reference
● https://www.free5gc.org/installation
● https://www.youtube.com/channel/UCywP5Acj50GlhSxZTJXlqtw/videos
● http://inuyashaos.blogspot.com/2018/09/nextepc-sim.html
● https://nextepc.org/

More Related Content

What's hot

Tail f - Why ConfD
Tail f - Why ConfDTail f - Why ConfD
Tail f - Why ConfD
Tail-f Systems
 
Cilium - BPF & XDP for containers
 Cilium - BPF & XDP for containers Cilium - BPF & XDP for containers
Cilium - BPF & XDP for containers
Docker, Inc.
 
Using GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnlUsing GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnl
Kentaro Ebisawa
 
Best Practices for Getting Started with NGINX Open Source
Best Practices for Getting Started with NGINX Open SourceBest Practices for Getting Started with NGINX Open Source
Best Practices for Getting Started with NGINX Open Source
NGINX, Inc.
 
Intermediate: 5G Network Architecture Options (Updated)
Intermediate: 5G Network Architecture Options (Updated)Intermediate: 5G Network Architecture Options (Updated)
Intermediate: 5G Network Architecture Options (Updated)
3G4G
 
Intermediate: Mobile Initiated Connection Only (MICO)
Intermediate: Mobile Initiated Connection Only (MICO)Intermediate: Mobile Initiated Connection Only (MICO)
Intermediate: Mobile Initiated Connection Only (MICO)
3G4G
 
Kernel advantages for Istio realized with Cilium
Kernel advantages for Istio realized with CiliumKernel advantages for Istio realized with Cilium
Kernel advantages for Istio realized with Cilium
Cynthia Thomas
 
TRex Traffic Generator - Hanoch Haim
TRex Traffic Generator - Hanoch HaimTRex Traffic Generator - Hanoch Haim
TRex Traffic Generator - Hanoch Haim
harryvanhaaren
 
Intermediate: 5G Applications Architecture - A look at Application Functions ...
Intermediate: 5G Applications Architecture - A look at Application Functions ...Intermediate: 5G Applications Architecture - A look at Application Functions ...
Intermediate: 5G Applications Architecture - A look at Application Functions ...
3G4G
 
MP BGP-EVPN 실전기술-1편(개념잡기)
MP BGP-EVPN 실전기술-1편(개념잡기)MP BGP-EVPN 실전기술-1편(개념잡기)
MP BGP-EVPN 실전기술-1편(개념잡기)
JuHwan Lee
 
3GPP F1インターフェース(TS38.470-f50)の概要
3GPP F1インターフェース(TS38.470-f50)の概要3GPP F1インターフェース(TS38.470-f50)の概要
3GPP F1インターフェース(TS38.470-f50)の概要
Tetsuya Hasegawa
 
5G Network Architecture Options
5G Network Architecture Options5G Network Architecture Options
5G Network Architecture Options
3G4G
 
HITB Labs: Practical Attacks Against 3G/4G Telecommunication Networks
HITB Labs: Practical Attacks Against 3G/4G Telecommunication NetworksHITB Labs: Practical Attacks Against 3G/4G Telecommunication Networks
HITB Labs: Practical Attacks Against 3G/4G Telecommunication Networks
Jim Geovedi
 
NETCONF YANG tutorial
NETCONF YANG tutorialNETCONF YANG tutorial
NETCONF YANG tutorial
Tail-f Systems
 
5g architecture, Industrial Training
5g architecture, Industrial Training5g architecture, Industrial Training
5g architecture, Industrial Training
SumanPramanik7
 
5G Network Architecture and FMC
5G Network Architecture and FMC5G Network Architecture and FMC
5G Network Architecture and FMC
ITU
 
NETCONF Call Home
NETCONF Call Home NETCONF Call Home
NETCONF Call Home
ADVA
 
Fast Userspace OVS with AF_XDP, OVS CONF 2018
Fast Userspace OVS with AF_XDP, OVS CONF 2018Fast Userspace OVS with AF_XDP, OVS CONF 2018
Fast Userspace OVS with AF_XDP, OVS CONF 2018
Cheng-Chun William Tu
 
OpenWrt From Top to Bottom
OpenWrt From Top to BottomOpenWrt From Top to Bottom
OpenWrt From Top to Bottom
Kernel TLV
 
GTP Overview
GTP OverviewGTP Overview
GTP Overview
aliirfan04
 

What's hot (20)

Tail f - Why ConfD
Tail f - Why ConfDTail f - Why ConfD
Tail f - Why ConfD
 
Cilium - BPF & XDP for containers
 Cilium - BPF & XDP for containers Cilium - BPF & XDP for containers
Cilium - BPF & XDP for containers
 
Using GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnlUsing GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnl
 
Best Practices for Getting Started with NGINX Open Source
Best Practices for Getting Started with NGINX Open SourceBest Practices for Getting Started with NGINX Open Source
Best Practices for Getting Started with NGINX Open Source
 
Intermediate: 5G Network Architecture Options (Updated)
Intermediate: 5G Network Architecture Options (Updated)Intermediate: 5G Network Architecture Options (Updated)
Intermediate: 5G Network Architecture Options (Updated)
 
Intermediate: Mobile Initiated Connection Only (MICO)
Intermediate: Mobile Initiated Connection Only (MICO)Intermediate: Mobile Initiated Connection Only (MICO)
Intermediate: Mobile Initiated Connection Only (MICO)
 
Kernel advantages for Istio realized with Cilium
Kernel advantages for Istio realized with CiliumKernel advantages for Istio realized with Cilium
Kernel advantages for Istio realized with Cilium
 
TRex Traffic Generator - Hanoch Haim
TRex Traffic Generator - Hanoch HaimTRex Traffic Generator - Hanoch Haim
TRex Traffic Generator - Hanoch Haim
 
Intermediate: 5G Applications Architecture - A look at Application Functions ...
Intermediate: 5G Applications Architecture - A look at Application Functions ...Intermediate: 5G Applications Architecture - A look at Application Functions ...
Intermediate: 5G Applications Architecture - A look at Application Functions ...
 
MP BGP-EVPN 실전기술-1편(개념잡기)
MP BGP-EVPN 실전기술-1편(개념잡기)MP BGP-EVPN 실전기술-1편(개념잡기)
MP BGP-EVPN 실전기술-1편(개념잡기)
 
3GPP F1インターフェース(TS38.470-f50)の概要
3GPP F1インターフェース(TS38.470-f50)の概要3GPP F1インターフェース(TS38.470-f50)の概要
3GPP F1インターフェース(TS38.470-f50)の概要
 
5G Network Architecture Options
5G Network Architecture Options5G Network Architecture Options
5G Network Architecture Options
 
HITB Labs: Practical Attacks Against 3G/4G Telecommunication Networks
HITB Labs: Practical Attacks Against 3G/4G Telecommunication NetworksHITB Labs: Practical Attacks Against 3G/4G Telecommunication Networks
HITB Labs: Practical Attacks Against 3G/4G Telecommunication Networks
 
NETCONF YANG tutorial
NETCONF YANG tutorialNETCONF YANG tutorial
NETCONF YANG tutorial
 
5g architecture, Industrial Training
5g architecture, Industrial Training5g architecture, Industrial Training
5g architecture, Industrial Training
 
5G Network Architecture and FMC
5G Network Architecture and FMC5G Network Architecture and FMC
5G Network Architecture and FMC
 
NETCONF Call Home
NETCONF Call Home NETCONF Call Home
NETCONF Call Home
 
Fast Userspace OVS with AF_XDP, OVS CONF 2018
Fast Userspace OVS with AF_XDP, OVS CONF 2018Fast Userspace OVS with AF_XDP, OVS CONF 2018
Fast Userspace OVS with AF_XDP, OVS CONF 2018
 
OpenWrt From Top to Bottom
OpenWrt From Top to BottomOpenWrt From Top to Bottom
OpenWrt From Top to Bottom
 
GTP Overview
GTP OverviewGTP Overview
GTP Overview
 

Similar to Free5 gc installation

Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry PiLentin Joseph
 
Nagios Conference 2014 - Eric Mislivec - Getting Started With Nagios Core
Nagios Conference 2014 - Eric Mislivec - Getting Started With Nagios CoreNagios Conference 2014 - Eric Mislivec - Getting Started With Nagios Core
Nagios Conference 2014 - Eric Mislivec - Getting Started With Nagios Core
Nagios
 
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
Neil Armstrong
 
Strategies for developing and deploying your embedded applications and images
Strategies for developing and deploying your embedded applications and imagesStrategies for developing and deploying your embedded applications and images
Strategies for developing and deploying your embedded applications and images
Mender.io
 
A3Sec Advanced Deployment System
A3Sec Advanced Deployment SystemA3Sec Advanced Deployment System
A3Sec Advanced Deployment Systema3sec
 
44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick
44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick
44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick
44CON
 
FreeBSD preseed installation (PXE) AsiaBSDCon 2015
FreeBSD preseed installation (PXE) AsiaBSDCon 2015FreeBSD preseed installation (PXE) AsiaBSDCon 2015
FreeBSD preseed installation (PXE) AsiaBSDCon 2015
Kamil Czekirda
 
LCA13: Android Kernel Upstreaming: Overview & Status
LCA13: Android Kernel Upstreaming: Overview & StatusLCA13: Android Kernel Upstreaming: Overview & Status
LCA13: Android Kernel Upstreaming: Overview & Status
Linaro
 
Rapid SPi Device Driver Development over USB
Rapid SPi Device Driver Development over USBRapid SPi Device Driver Development over USB
Rapid SPi Device Driver Development over USB
Samsung Open Source Group
 
Android 5.0 Lollipop platform change investigation report
Android 5.0 Lollipop platform change investigation reportAndroid 5.0 Lollipop platform change investigation report
Android 5.0 Lollipop platform change investigation report
hidenorly
 
Let's trace Linux Lernel with KGDB @ COSCUP 2021
Let's trace Linux Lernel with KGDB @ COSCUP 2021Let's trace Linux Lernel with KGDB @ COSCUP 2021
Let's trace Linux Lernel with KGDB @ COSCUP 2021
Jian-Hong Pan
 
The bond between automation and network engineering
The bond between automation and network engineeringThe bond between automation and network engineering
The bond between automation and network engineering
Jimmy Lim
 
LAS16-201: ART JIT in Android N
LAS16-201: ART JIT in Android NLAS16-201: ART JIT in Android N
LAS16-201: ART JIT in Android N
Linaro
 
Drone presentation
Drone presentationDrone presentation
Drone presentation
Lance Smith
 
Skyfall b sides-c00-l-ed5-sp-2013
Skyfall b sides-c00-l-ed5-sp-2013Skyfall b sides-c00-l-ed5-sp-2013
Skyfall b sides-c00-l-ed5-sp-2013
Mauro Risonho de Paula Assumpcao
 
Inside Android's UI / ABS 2013
Inside Android's UI / ABS 2013Inside Android's UI / ABS 2013
Inside Android's UI / ABS 2013
Opersys inc.
 
EuroBSDCon 2021 - (auto)Installing BSD Systems
EuroBSDCon 2021 - (auto)Installing BSD SystemsEuroBSDCon 2021 - (auto)Installing BSD Systems
EuroBSDCon 2021 - (auto)Installing BSD Systems
Vinícius Zavam
 
Django deployment and rpm+yum
Django deployment and rpm+yumDjango deployment and rpm+yum
Django deployment and rpm+yumWalter Liu
 
Security Gateway CP R70
Security Gateway CP R70Security Gateway CP R70
Security Gateway CP R70
dzihiro
 
Rete di casa e raspberry pi - Home network and Raspberry Pi
Rete di casa e raspberry pi - Home network and Raspberry Pi Rete di casa e raspberry pi - Home network and Raspberry Pi
Rete di casa e raspberry pi - Home network and Raspberry Pi
Daniele Albrizio
 

Similar to Free5 gc installation (20)

Exploring Raspberry Pi
Exploring Raspberry PiExploring Raspberry Pi
Exploring Raspberry Pi
 
Nagios Conference 2014 - Eric Mislivec - Getting Started With Nagios Core
Nagios Conference 2014 - Eric Mislivec - Getting Started With Nagios CoreNagios Conference 2014 - Eric Mislivec - Getting Started With Nagios Core
Nagios Conference 2014 - Eric Mislivec - Getting Started With Nagios Core
 
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
Elc Europe 2020 : u-boot- porting and maintaining a bootloader for a multimed...
 
Strategies for developing and deploying your embedded applications and images
Strategies for developing and deploying your embedded applications and imagesStrategies for developing and deploying your embedded applications and images
Strategies for developing and deploying your embedded applications and images
 
A3Sec Advanced Deployment System
A3Sec Advanced Deployment SystemA3Sec Advanced Deployment System
A3Sec Advanced Deployment System
 
44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick
44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick
44CON 2014 - Stupid PCIe Tricks, Joe Fitzpatrick
 
FreeBSD preseed installation (PXE) AsiaBSDCon 2015
FreeBSD preseed installation (PXE) AsiaBSDCon 2015FreeBSD preseed installation (PXE) AsiaBSDCon 2015
FreeBSD preseed installation (PXE) AsiaBSDCon 2015
 
LCA13: Android Kernel Upstreaming: Overview & Status
LCA13: Android Kernel Upstreaming: Overview & StatusLCA13: Android Kernel Upstreaming: Overview & Status
LCA13: Android Kernel Upstreaming: Overview & Status
 
Rapid SPi Device Driver Development over USB
Rapid SPi Device Driver Development over USBRapid SPi Device Driver Development over USB
Rapid SPi Device Driver Development over USB
 
Android 5.0 Lollipop platform change investigation report
Android 5.0 Lollipop platform change investigation reportAndroid 5.0 Lollipop platform change investigation report
Android 5.0 Lollipop platform change investigation report
 
Let's trace Linux Lernel with KGDB @ COSCUP 2021
Let's trace Linux Lernel with KGDB @ COSCUP 2021Let's trace Linux Lernel with KGDB @ COSCUP 2021
Let's trace Linux Lernel with KGDB @ COSCUP 2021
 
The bond between automation and network engineering
The bond between automation and network engineeringThe bond between automation and network engineering
The bond between automation and network engineering
 
LAS16-201: ART JIT in Android N
LAS16-201: ART JIT in Android NLAS16-201: ART JIT in Android N
LAS16-201: ART JIT in Android N
 
Drone presentation
Drone presentationDrone presentation
Drone presentation
 
Skyfall b sides-c00-l-ed5-sp-2013
Skyfall b sides-c00-l-ed5-sp-2013Skyfall b sides-c00-l-ed5-sp-2013
Skyfall b sides-c00-l-ed5-sp-2013
 
Inside Android's UI / ABS 2013
Inside Android's UI / ABS 2013Inside Android's UI / ABS 2013
Inside Android's UI / ABS 2013
 
EuroBSDCon 2021 - (auto)Installing BSD Systems
EuroBSDCon 2021 - (auto)Installing BSD SystemsEuroBSDCon 2021 - (auto)Installing BSD Systems
EuroBSDCon 2021 - (auto)Installing BSD Systems
 
Django deployment and rpm+yum
Django deployment and rpm+yumDjango deployment and rpm+yum
Django deployment and rpm+yum
 
Security Gateway CP R70
Security Gateway CP R70Security Gateway CP R70
Security Gateway CP R70
 
Rete di casa e raspberry pi - Home network and Raspberry Pi
Rete di casa e raspberry pi - Home network and Raspberry Pi Rete di casa e raspberry pi - Home network and Raspberry Pi
Rete di casa e raspberry pi - Home network and Raspberry Pi
 

Recently uploaded

By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
Globus
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 

Recently uploaded (20)

By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 

Free5 gc installation

  • 2. Outline ● Overview ● Hardware(VM) requirement ● Environment setup ● Install free5gc ● Test the installation ● Configure & attach eNodeB ● Make a SIM card ● Register the SIM card ● Connecting to the Internet ● Troubleshooting ● Reference
  • 3. Outline ● Overview ● Hardware(VM) requirement ● Environment setup ● Install free5gc ● Test the installation ● Configure & attach eNodeB ● Make a SIM card ● Register the SIM card ● Connecting to the Internet ● Troubleshooting ● Reference
  • 4. Overview (1/4) ● 5G system architecture
  • 6. Overview (3/4) ● free5gc ○ open-source project for 5G mobile core network ○ developed by NCTU team ○ with AMF, SMF, UPF implemented ○ can run in all-in-one mode or cluster mode ○ official site: https://www.free5gc.org
  • 7. Overview (4/4) ● Preparation ○ hardware & OS requirement ○ environment setup ● Build the program ○ compile the free5gc source ● Testing ○ run the test script ● Connect eNB & smartphone ○ configure eNB & free5gc ○ register SIM card ● Troubleshooting ○ when & how to use
  • 8. Outline ● Overview ● Hardware(VM) requirement ● Environment setup ● Install free5gc ● Test the installation ● Configure & attach eNodeB ● Make a SIM card ● Register the SIM card ● Connecting to the Internet ● Troubleshooting ● Reference
  • 9. Hardware(VM) Requirement (1/1) ● minimum hradware requirement ○ CPU: Intel i5 processor ○ RAM: 4GB ○ Disk capacity: 160G ○ NIC card: 1Gbps ethernet card ● recommended ○ CPU: Intel i7 processor ○ RAM: 8GB ○ Disk capacity: 160G ○ NIC card: 10Gbps ethernet card ● VM information ○ Linux kernel: 4.15.0-43-generic ○ we will install free5gc on Ubuntu 18.04
  • 10. Outline ● Overview ● Hardware(VM) requirement ● Environment setup ● Install free5gc ● Test the installation ● Configure & attach eNodeB ● Make a SIM card ● Register the SIM card ● Connecting to the Internet ● Troubleshooting ● Reference
  • 11. Environment Setup (1/6) ● prerequisties - install mongodb & golang compiler ○ sudo apt-get update ○ sudo apt-get install mongodb wget git ○ sudo systemctl start mongodb ( if deamon not running ) ○ wget -q https://storage.googleapis.com/golang/getgo/installer_linux ○ chmod +x installer_linux ○ ./installer_linux ○ source ~/.bash_profile ○ rm -f installer_linux ○ go get -u -v "github.com/gorilla/mux" ○ go get -u -v "golang.org/x/net/http2" ○ go get -u -v "golang.org/x/sys/unix"
  • 12. Environment Setup (2/6) ● Setup tun device ○ verify the availability ○ configure uptun sudo sh -c "cat << EOF > /etc/systemd/network/99-free5gc.netdev [NetDev] Name=uptun Kind=tun EOF"
  • 13. Environment Setup (3/6) ● Setup tun device ( cont. ) ○ enable & restart networkd sudo systemctl enable systemd-networkd && sudo systemctl restart systemd- networkd ○ IPv6 kernel configuration sysctl -n net.ipv6.conf.uptun.disable_ipv6 (if the output is 0 and IPv6 is enabled, skip the followings) sudo sh -c "echo 'net.ipv6.conf.uptun.disable_ipv6=0' > /etc/sysctl.d/30-free5gc.conf" sudo sysctl -p /etc/sysctl.d/30-free5gc.conf
  • 14. Environment Setup (4/6) ● Setup tun device ( cont. ) ○ configure the IP address of uptun ( networkd ) sudo sh -c "cat << EOF > /etc/systemd/network/99-free5gc.network [Match] Name=uptun [Network] Address=45.45.0.1/16 Address=cafe::1/64 EOF" ○ restart networkd sudo systemctl restart systemd-networkd
  • 15. Environment Setup (5/6) ● Setup tun device ( cont. ) ○ configure the IP address of uptun ( networking ) ○ add the following lines to /etc/network/interfaces auto uptun iface uptun inet static address 45.45.0.1 netmask 255.255.0.0 iface uptun inet6 static pre-up modprobe ipv6 address cafe::1 netmask 64 ○ restart interface sudo ip a flush uptun sudo systemctl restart networking
  • 16. Environment Setup (6/6) ● Verify the status of uptun sudo apt-get -y install net-tools ifconfig uptun
  • 17. Outline ● Overview ● Hardware(VM) requirement ● Environment setup ● Install free5gc ● Test the installation ● Configure & attach eNodeB ● Make a SIM card ● Register the SIM card ● Connecting to the Internet ● Troubleshooting ● Reference
  • 18. Install free5gc (1/1) ● Dependencies sudo apt-get -y install autoconf libtool gcc pkg-config git flex bison libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn11-dev libmongoc- dev libbson-dev libyaml-dev ● Build the source code git clone https://bitbucket.org/nctu_5g/free5gc.git cd free5gc autoreconf -iv ./configure --prefix=`pwd`/install make -j `nproc` make install
  • 19. Outline ● Overview ● Hardware(VM) requirement ● Environment setup ● Install free5gc ● Test the installation ● Configure & attach eNodeB ● Make a SIM card ● Register the SIM card ● Connecting to the Internet ● Troubleshooting ● Reference
  • 20. Test the installation (1/1) ● Use the program free5gc/test/testngc to check whether the installation is correct. ● Invoke the following command ./test/testngc -f install/etc/free5gc/test/free5gc.testngc.conf
  • 21. Outline ● Overview ● Hardware(VM) requirement ● Environment setup ● Install free5gc ● Test the installation ● Configure & attach eNodeB ● Make a SIM card ● Register the SIM card ● Connecting to the Internet ● Troubleshooting ● Reference
  • 22. eNode Setting (1/2) ● Foxconn FC4128 for example ○ Small Cell / Basic / WAN Configuration / IPv4 Configuration ■ Change IP ○ Small Cell / Data Model / Device / Services / FAPService / 1 / FAPControl / LTE / Gateway / S1SigLinkServerList ■ Change MME IP
  • 23. eNode Setting (2/2) ● Foxconn FC4128 for example ○ Small Cell / Data Model / Device / Services / FAPService / 1 / CellConfig / LTE / EPC ■ Check Ciphering / Integrity / TAC ○ Small Cell / Data Model / Device / Services / FAPService / 1 / CellConfig / LTE / EPC / PLMNList / 1 / PLMNID ■ Check PLMNID
  • 24. Configure the Core Network In install/etc/free5gc/free5gc.conf, check: ● amf s1ap IP ○ line 67 ● smf upf IP ○ line 162 ● amf gummei ○ line 89 - 94 ● amf tai ○ line 128 - 132 ● upf pfcp IP ○ line 236 ● upf gtpu IP ○ line 252
  • 25. s1 setup Check if eNodeB can connect to Core Network Run ./free5gc-ngcd
  • 26. Outline ● Overview ● Hardware(VM) requirement ● Environment setup ● Install free5gc ● Test the installation ● Configure & attach eNodeB ● Make a SIM card ● Register the SIM card ● Connecting to the Internet ● Troubleshooting ● Reference
  • 27. Make a SIM card (1/6) ● Programmable SIM Card: ○ sysmoUSIM SJS1 with ADM keys ○ http://shop.sysmocom.de/products/sysmousim-sjs1 ● SIM Card Reader
  • 28. Make a SIM card (2/6) ● Install essential packages ○ sudo apt-get install pcscd pcsc-tools libccid python-dev swig python-setuptools python-pip libpcsclite-dev ○ sudo pip install pycrypto ● Download PySIM ○ git clone https://git.osmocom.org/pysim.git ● Change to pyscard folder and install ○ cd pyscard path ○ sudo /usr/bin/python setup.py build_ext install
  • 29. Make a SIM card (3/6) ● Verify your reader is ready ○ sudo pcsc_scan
  • 30. Make a SIM card (4/6) ● Check whether your reader can read the SIM card ○ cd <pysim-clone-path> ○ ./pySim-read.py -p 0
  • 31. Make a SIM card (5/6) ● Prepare for the following information ○ MCC: Mobile Country Code ,代表國家 ○ MNC: Mobile Network Code ,代表電信業者 ○ IMSI: International Mobile Subscriber Identity ,代表 SIM 卡用戶的號碼 ○ OP: 電信業者用來產生加密 key 的號碼 ○ KI: Authentication key ,給電信商驗證的密碼 ○ ICCID: IC 卡獨一無二的識別碼 ○ ADM1: 更改 SIM 卡資料的密碼 ● IMSI、K、OP/OPc 需要保留備用 ○ 用以將 SIM 註冊進 Core Network
  • 32. Make a SIM card (6/6) ● Program your SIM card information ○ ./pySim-prog.py -p 0 -x 208 -y 93 -t sysmoUSIM-SJS1 -i 208930000000003 -- op=8e27b6af0e692e750f32667a3b14605d -k 8baf473f2f8fd09487cccbd7097c6862 -s 8988211000000088313 -a 23605945 ● 再用 read 的指令驗證,看看有沒有正確寫入
  • 33. Outline ● Overview ● Hardware(VM) requirement ● Environment setup ● Install free5gc ● Test the installation ● Configure & attach eNodeB ● Make a SIM card ● Register the SIM card ● Connecting to the Internet ● Troubleshooting ● Reference
  • 34. Register the SIM card ● sudo apt-get -y install nodejs npm ● cd webui && npm install ● npm run dev ● Go to browser => http://localhost:3000 ○ Login ■ account: admin ■ password: 1423 ○ Add subscriber ■ IMSI: 208930000000003 ■ K: 8baf473f2f8fd09487cccbd7097c6862 ■ OPc: 8e27b6af0e692e750f32667a3b14605d
  • 35. Outline ● Overview ● Hardware(VM) requirement ● Environment setup ● Install free5gc ● Test the installation ● Configure & attach eNodeB ● Make a SIM card ● Register the SIM card ● Connecting to the Internet ● Troubleshooting ● Reference
  • 36. Outline ● Overview ● Hardware(VM) requirement ● Environment setup ● Install free5gc ● Test the installation ● Configure & attach eNodeB ● Make a SIM card ● Register the SIM card ● Connecting to the Internet ● Troubleshooting ● Reference
  • 37. Throubleshooting ● ./test/testngc failed ○ If configuration correct? ○ Clean zombie: sudo killall -9 testngc ○ Clean subscriber ■ $ mongo ■ > use free5gc ■ > db.subscriber.find() # Check if subscriber remind ■ > db.subscriber.drop() ■ > db.subscriber.find() # double check if drop the subscriber ● ./free5gc-ngcd failed ○ sudo killall -9 testngc / sudo killall -9 free5gc-ngcd ● ERRR: - The certificate is expired ○ cd support/freeDiameter ○ ./make_certs.sh . ○ cd .. && make install
  • 38. Reference ● https://www.free5gc.org/installation ● https://www.youtube.com/channel/UCywP5Acj50GlhSxZTJXlqtw/videos ● http://inuyashaos.blogspot.com/2018/09/nextepc-sim.html ● https://nextepc.org/

Editor's Notes

  1. Overview (各個 NF、SIM 卡的資訊) Hardware(VM) requirement (硬體需求、網卡需求) Environment setup (DB, NAT, golang, ...) Install free5gc Run test (在這裡先等大家都跑過測試) Config & attach eNB (eNB config show 一下就好、free5gc.conf、s1accept) Make your SIM card Register your SIM card Connecting to the Internet
  2. Overview (各個 NF、SIM 卡的資訊)
  3. Hardware(VM) requirement (硬體需求、網卡需求)
  4. Environment setup (DB, NAT, golang, ...)
  5. Run test (在這裡先等大家都跑過測試)
  6. Config & attach eNB (eNB config show 一下就好、free5gc.conf、s1accept)