Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nodejs, GTP-U module and requirements versions #100

Merged
merged 6 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions docs/guide/3-install-free5gc.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ sudo systemctl disable ufw # prevents the firewall to wake up after a OS reboot
2. Retrieve the 5G GTP-U kernel module using `git` and build it

```
git clone -b v0.8.3 https://github.com/free5gc/gtp5g.git
git clone -b v0.8.5 https://github.com/free5gc/gtp5g.git
cd gtp5g
make
sudo make install
Expand All @@ -148,15 +148,12 @@ sudo systemctl disable ufw # prevents the firewall to wake up after a OS reboot

## D. Install WebConsole

1. Before building WebConsole, install nodejs and yarn packages first:
1. Before building WebConsole, install nodejs first:

```
sudo apt remove cmdtest
sudo apt remove yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt update
sudo apt install -y nodejs yarn
sudo apt install -y nodejs
```

2. Build WebConsole
Expand Down
21 changes: 2 additions & 19 deletions docs/guide/5-install-ueransim.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,27 +54,10 @@ make
```

## 3. Install free5GC WebConsole
free5GC provides a simple web tool WebConsole to help creating and managing UE registrations to be used by various 5G network functions (NF). To build WebConsole we need Node.js and Yarn.
free5GC provides a simple web tool WebConsole to help creating and managing UE registrations to be used by various 5G network functions (NF).

First SSH into free5gc (`192.168.56.101`),and remove obsolete tools that may exists:
```
sudo apt remove cmdtest
sudo apt remove yarn
```

Then install `Node.js` and `Yarn`:
```
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install -y nodejs yarn
```
If WebConsole isn't installed yet, please, SSH into free5gc's VM (`192.168.56.101`) and follow the [instructions contained on this section here](./3-install-free5gc.md#d-install-webconsole).

To build WebConsole:
```
cd ~/free5gc
make webconsole
```

## 4. Use WebConsole to Add an UE

Expand Down
12 changes: 10 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
anyio==3.7.0
Babel==2.13.1
certifi==2023.7.22
cffi==1.16.0
charset-normalizer==3.1.0
click==8.1.3
colorama==0.4.6
cryptography==41.0.7
distlib==0.3.6
docopt==0.6.2
editables==0.3
exceptiongroup==1.1.1
filelock==3.12.0
Expand All @@ -17,7 +21,7 @@ hyperlink==21.0.0
idna==3.4
importlib-metadata==6.6.0
jaraco.classes==3.2.3
Jinja2==3.1.3
jeepney==0.8.0
keyring==23.13.1
Markdown==3.4.4
markdown-it-py==2.2.0
Expand All @@ -30,20 +34,24 @@ mkdocs-material==9.4.3
mkdocs-material-extensions==1.2
more-itertools==9.1.0
packaging==23.1
paginate==0.5.6
pathspec==0.11.1
pexpect==4.8.0
platformdirs==3.5.1
pluggy==1.0.0
ptyprocess==0.7.0
pycparser==2.21
Pygments==2.16.1
pymdown-extensions==10.3
pyperclip==1.8.2
python-dateutil==2.8.2
python-markdown-math==0.8
PyYAML==6.0.1
pyyaml_env_tag==0.1
regex==2023.6.3
requests==2.31.0
rich==13.4.1
SecretStorage==3.3.3
shellingham==1.5.0.post1
six==1.16.0
sniffio==1.3.0
Expand All @@ -55,5 +63,5 @@ urllib3==2.0.7
userpath==1.8.0
virtualenv==20.23.0
watchdog==3.0.0
yarg==0.1.9
zipp==3.15.0
python-markdown-math==0.8