-
Notifications
You must be signed in to change notification settings - Fork 178
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
Unable to run srsRAN gNB with srsUE #221
Comments
Have you enabled IP forwarding? See this section of the Open5GS docs. If the UE is not being assigned a PDU address, despite being configured correctly in the core and connecting to the network, this is likely the issue. |
Hi Brenden - thanks for responding. I was executing all the commands listed in the subsection you pointed out. Quick question - do I need to change the IPs present in these commands: sudo iptables -t nat -A POSTROUTING -s 10.45.0.0/16 ! -o ogstun -j MASQUERADE
sudo ip6tables -t nat -A POSTROUTING -s 2001:db8:cafe::/48 ! -o ogstun -j MASQUERADE My understanding was that all the (default) instructions in this guide were targetted at people running everything on only node. If I do need to modify the addresses in the command here, (1) what would I have to change them to? (2) I assume I would have to update
|
Hi @rohitdwivedula, if you have open5gs running in a 'vanilla' set-up then the above commands should be fine. On taking another look at your config file, there is a mismatch between the You should also double check that the credentials of the UE in the core match those in the config file. |
Hi, I couldn't make the latest https://github.com/s5uishida/build_srsran_5g_zmq And I made it work with Open5GS as follows. https://github.com/s5uishida/open5gs_5gc_srsran_sample_config FYI. |
Hi The same part i have follow the same process |
Hi, In my environment, the latest Sorry. |
Hi s5uishida, Can u please share your main branch version. |
Hi all, After change in configuration and rebuild the gnb and ue both then now srsUE is able to attached with srsgnb and Open5gs. I have some query regarding this setup. a) After UE attached turn_srsue interface is not coming although it is configured. |
Hi all Can u please update above my query. |
It seems the original issue has been fixed. Please open new issues if needed. |
Issue Description
Attempting to run this codebase with srsUE and ZeroMQ following the instructions on this page
Setup Details
Operation System: Ubuntu 22.04.3 LTS
Expected Behavior
In the user equipment
stdout
, I want to see the IP that is being assigned to the UE. For example, on the tutorial page linked above, this is what they gave as an example of these logs:Actual Behaviour
The user equipment script prints nothing to
stdout
after the RRC connected line:Looking at the UE logs at
/tmp/ue.log
, I see the following error line:It looks like some PDU message received by the UE is not being handled, causing it to not be assigned an IP. This error is coming from line#234 in
srsue/src/stack/upper/nas_5g.cc
file in thesrsRAN_4G
project.Steps to reproduce the problem
Find attached my config files gNB and srsUE.
gnb.txt
ue.txt
Commands that I run:
Additional Information
The text was updated successfully, but these errors were encountered: