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

Binding of firefox with uesimtunX using nr-binder not working. #721

Open
BG00818733 opened this issue Aug 1, 2024 · 1 comment
Open

Comments

@BG00818733
Copy link

Hi @aligungr

As per the below documentation, we tried to bind the firefox with uesimtunX using nr-binder, but its not working.
https://github.com/aligungr/UERANSIM/wiki/Usage#using-the-tun-via-nr-binder

Can you please suggest if specific configuration to be done at VM or firefox level.

@oliveiraleo
Copy link
Contributor

Hello @BG00818733

I know it's been a few months since you opened this issue, but I've faced the same issue as you and I could find a workaround

When I ran the command suggested by the Wiki

./nr-binder 10.45.0.2 firefox

I've noticed that the error below was displayed multiple times:

ERROR: ld.so: object './libdevbnd.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

After trying some solutions I've found online without lucky, I finally figure it out. Then I'm leaving this workaround here for future reference.

First, go to UERANSIM's main folder (e.g. the one git clone created on your system), example:

cd UERANSIM

Then create a symlink to the lib file

ln -s ./build/libdevbnd.so libdevbnd.so

Next, to invoke the binder, use:

./tools/nr-binder 10.45.0.2 firefox

PS: Don't forget to adapt the IP address above to the one your UE gets after establishing its PDU session.

Firefox will successfully run through UERANSIM. It's possible to confirm this by running a packet capture on the UPF network interface of the 5GC

Best Regards,
Leo.

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

2 participants