shynuu / free5gc-cli

An interactive CLI for free5gc
Apache License 2.0
20 stars 14 forks source link

[FATA][Freecli][Subscriber Module] [Configuration] open config/subscriber.yaml: no such file or directory #2

Closed williamlin0504 closed 3 years ago

williamlin0504 commented 3 years ago

Hi there, I'm trying to use the subscriber mode, but it seems the path isn't correct as the picture below: image and there sure is a file named subscriber.yaml in /config image so I'm guessing I'm using the wrong file to run sudo ./freecli and else if I'm trying to run the sudo ./freecli in /free5gc-cli it would say image

Thank you for reading my problems.

William Lin, Taiwan, Fu Jen Catholic University, Information Management Master Student

shynuu commented 3 years ago

Hi @williamlin0504,

Please follow these steps to download and compile the utility

git clone https://github.com/srajdax/free5gc-cli.git
cd free5gc-cli
go mod download
go build -o freecli5G -x freecli.go

And to run it

sudo ./freecli5G

The freecli directory inside the freecli-5gc is quiet confusing I admin it. When compiling freecli5G you must not cd into the freecli directory but stay at the root of the freecli-5gc

I have updated the wiki to avoid the confusion in the future.

Please, let me know if it solves your issue.

Youssouf

williamlin0504 commented 3 years ago

Hi @Srajdax , Thank you for replying so fast, it did solve my problem I just re-run the go build -o freecli5G -x freecli.go and the freecli5G appeared then the subscriber mode is fine to use, as the picture below:

image

Thanks a lot.

William Lin

shynuu commented 3 years ago

You're welcome.

I'm closing the issue.