LABORA-INF-UFG / paper-MACAK-2022

Untrusted non-3GPP access Wi-Fi use case is a proof-of-concept (PoC) of 5G core access network in which Wi-Fi technology is employed.
Apache License 2.0
10 stars 1 forks source link

Cannot find device "upfgtp" #5

Closed Sivanesh1992 closed 9 months ago

Sivanesh1992 commented 9 months ago

hi team,

i am not able to run upf

getting below error

sivanesh@sivanesh:utils$ ./run_upf.sh [sudo] password for sivanesh: exec of "./bin/free5gc-upfd" failed: No such file or directory Cannot find device "upfgtp"

i done below steps as per document

my5G-core:

cd ~ git clone --recursive https://github.com/my5G/my5G-core non3GPP-access:

git clone https://github.com/my5G/my5G-non3GPP-access.git ~/my5G-core/src/ue cd ~/my5G-core go build -o bin/ue -x src/ue/ue.go

Enable forwarding, stop ufw, install module gtp5g and add rule on iptables

cd ~/my5G-core/src/ue/ sudo ./sample/my5g_wifi_config/utils/fix_core.sh

Backup of the config folder

cd ~/my5G-core mv -f config config.orig

Using my5g_wifi_config folder for configuration

cp -R src/ue/sample/my5g_wifi_config/ config

Backup of upf config

mv -f src/upf/build/config/upfcfg.yaml src/upf/build/config/upfcfg.yaml.orig

New configuration for upf

cp src/upf/config/upfcfg.sample1.yaml src/upf/build/config/upfcfg.yaml

set UE http bind address

sudo sed -i 's/HttpIPv4Address: .*/HttpIPv4Address: 192.168.1.1/' config/uecfg.conf

Remove database due to previews tests

mongo free5gc --eval "db.dropDatabase()"

Compile webconsole

go build -o bin/webconsole -x webconsole/server.go

Run webconsole

./bin/webconsole &

Sivanesh1992 commented 9 months ago

cleared