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

rtnl_link_add tun0: Invalid input data or parameter #5

Closed
LZHHZLLZH opened this issue Jan 18, 2023 · 3 comments
Closed

rtnl_link_add tun0: Invalid input data or parameter #5

LZHHZLLZH opened this issue Jan 18, 2023 · 3 comments

Comments

@LZHHZLLZH
Copy link

I tried to run wsbrd on a mips-core platform, but I got the following error:
rtnl_link_add tun0: Invalid input data or parameter
I tried to use "ip tuntap add dev tap0 mod tap" command directly, and it works. Therefore, I don't know why this error occurs. I used libnl3.7 and libnl3.2.26, but both have this problem

@MathisMARION
Copy link
Contributor

Hello, we have managed to reproduce the issue using QEMU and libnl version 3.4. In the meantime you should be able to run wsbrd by configuring manually your network interface as described in the section "Running wsbrd Without Root Privilege" of the README. This issue may be caused by libnl.

@MathisMARION
Copy link
Contributor

Just to keep you up to date, the error I was getting turned out to be caused by the emulator missing some endianness conversions. I submitted a couple patches to QEMU, which are now integrated. This means that we cannot reproduce your issue however, I hope it is not critical.

@jerome-pouiller
Copy link
Collaborator

Can't reproduce the issue. It is probably caused by the version of libnl.

Reopen if I missed something.

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

3 participants