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

hiii everyone #426

Open
Sadddddss opened this issue Jun 1, 2024 · 1 comment
Open

hiii everyone #426

Sadddddss opened this issue Jun 1, 2024 · 1 comment

Comments

@Sadddddss
Copy link

i run t load in packet01 and i have a problem /xdp-tutorial/testenv/testenv.sh: line 454: $#-1: substring expression < 0 . what should i do now :((

@KerstinHung
Copy link

I met the same problem, and here's how I solved it:

  1. Check if the virtual environment has been set up.
    $ t status
  2. The error message "line 454: $#-1: substring expression < 0" indicates that there is a missing parameter after t load.
    $ t load xdp_prog_kern.o
    Since the t load is based on ./xdp-loader, I refer to the xdp-loader for the parameter.
  3. Check that the eBPF program is actually loaded on the interface (my interface is called test)
    $ sudo xdp-loader status test

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