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

TUN configuration failure #730

Open
HSS-rookie opened this issue Sep 21, 2024 · 0 comments
Open

TUN configuration failure #730

HSS-rookie opened this issue Sep 21, 2024 · 0 comments

Comments

@HSS-rookie
Copy link

Hi @aligungr
Hi, I'm trying to set a basic enviroment where I have a VM with Open5gc core running and another VM wieht UERANSIM, I simply changed the IP addresses of the GNB in the configuration and the AMF.
The following is the error I get:

hushasha@hushasha-virtual-machine:~/UERANSIM/build$ sudo ./nr-gnb -c ~/UERANSIM/config/open5gs-gnb.yaml &
[3] 3464
[2] Done sudo ./nr-ue -c /UERANSIM/config/open5gs-ue.yaml
hushasha@hushasha-virtual-machine:
/UERANSIM/build$ UERANSIM v3.2.6
[2024-09-21 16:53:34.553] [sctp] [info] Trying to establish SCTP connection... (192.168.111.132:38412)
[2024-09-21 16:53:34.564] [sctp] [info] SCTP connection established (192.168.111.132:38412)
[2024-09-21 16:53:34.571] [sctp] [debug] SCTP association setup ascId[5]
[2024-09-21 16:53:34.575] [ngap] [debug] Sending NG Setup Request
[2024-09-21 16:53:34.987] [ngap] [debug] NG Setup Response received
[2024-09-21 16:53:34.987] [ngap] [info] NG Setup procedure is successful
sudo ./nr-ue -c ~/UERANSIM/config/open5gs-ue.yaml
UERANSIM v3.2.6
[2024-09-21 16:53:40.887] [rrc] [debug] UE[1] new signal detected
[2024-09-21 16:53:40.888] [nas] [info] UE switches to state [MM-DEREGISTERED/PLMN-SEARCH]
[2024-09-21 16:53:40.889] [rrc] [debug] New signal detected for cell[1], total [1] cells in coverage
[2024-09-21 16:53:40.889] [nas] [info] Selected plmn[999/70]
[2024-09-21 16:53:40.889] [rrc] [info] Selected cell plmn[999/70] tac[1] category[SUITABLE]
[2024-09-21 16:53:40.889] [nas] [info] UE switches to state [MM-DEREGISTERED/PS]
[2024-09-21 16:53:40.890] [nas] [info] UE switches to state [MM-DEREGISTERED/NORMAL-SERVICE]
[2024-09-21 16:53:40.890] [nas] [debug] Initial registration required due to [MM-DEREG-NORMAL-SERVICE]
[2024-09-21 16:53:40.890] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2024-09-21 16:53:40.890] [nas] [debug] Sending Initial Registration
[2024-09-21 16:53:40.890] [nas] [info] UE switches to state [MM-REGISTER-INITIATED]
[2024-09-21 16:53:40.890] [rrc] [debug] Sending RRC Setup Request
[2024-09-21 16:53:40.890] [rrc] [info] RRC Setup for UE[1]
[2024-09-21 16:53:40.892] [rrc] [info] RRC connection established
[2024-09-21 16:53:40.892] [rrc] [info] UE switches to state [RRC-CONNECTED]
[2024-09-21 16:53:40.892] [ngap] [debug] Initial NAS message received from UE[1]
[2024-09-21 16:53:40.892] [nas] [info] UE switches to state [CM-CONNECTED]
[2024-09-21 16:53:40.945] [nas] [debug] Authentication Request received
[2024-09-21 16:53:40.945] [nas] [debug] Received SQN [000000000161]
[2024-09-21 16:53:40.945] [nas] [debug] SQN-MS [000000000000]
[2024-09-21 16:53:40.961] [nas] [debug] Security Mode Command received
[2024-09-21 16:53:40.961] [nas] [debug] Selected integrity[2] ciphering[0]
[2024-09-21 16:53:41.028] [ngap] [debug] Initial Context Setup Request received
[2024-09-21 16:53:41.029] [nas] [debug] Registration accept received
[2024-09-21 16:53:41.029] [nas] [info] UE switches to state [MM-REGISTERED/NORMAL-SERVICE]
[2024-09-21 16:53:41.029] [nas] [debug] Sending Registration Complete
[2024-09-21 16:53:41.029] [nas] [info] Initial Registration is successful
[2024-09-21 16:53:41.029] [nas] [debug] Sending PDU Session Establishment Request
[2024-09-21 16:53:41.035] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2024-09-21 16:53:41.235] [nas] [debug] Configuration Update Command received
[2024-09-21 16:53:41.281] [ngap] [info] PDU session resource(s) setup for UE[1] count[1]
[2024-09-21 16:53:41.287] [nas] [debug] PDU Session Establishment Accept received
[2024-09-21 16:53:41.287] [nas] [info] PDU Session establishment is successful PSI[1]
"ip rule show" does not take any arguments.
[2024-09-21 16:53:41.358] [app] [error] TUN configuration failure [Command execution failed. The command was: ip rule list from 10.45.0.11. The output is: 'Command execution failure]

The "ip rule list from 10.45.0.11",every run is different.Any help would be appreciated, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant