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

Problem with wireguard-lwip on esp32C3 using esp-if latest version (5.0), is it possible to work on this version ? #8

Open
Odysseusfr opened this issue Feb 7, 2023 · 7 comments

Comments

@Odysseusfr
Copy link

I can't implement this library on my esp-idf version, in the goal to create a wireguard client.

@uGiFarukh
Copy link

What error message are you getting while trying to compile?

@Odysseusfr
Copy link
Author

I think it was about the esp-idf version, using the 4.4.1 it works better.

@Odysseusfr Odysseusfr changed the title Problem with wireguar-lwip on esp32C3 using esp-if latest version (5.0) Problem with wireguard-lwip on esp32C3 using esp-if latest version (5.0), is it possible to work on this version ? Feb 8, 2023
@Odysseusfr
Copy link
Author

Wich lwIP version is supported ?

@Odysseusfr
Copy link
Author

Odysseusfr commented Feb 10, 2023

It seems that the function netif_add is not working anymore, especially in the &wireguardif_init parameter, what can we do instead ?

@ShaLauTie
Copy link

At least lwip 2-1-0 , which implements the bind functions for pcb

@amaldo
Copy link

amaldo commented Jun 1, 2023

I think this is the same issue that has a fix here: trombik/esp_wireguard#33 (comment)

@Odysseusfr Could you try if activating CONFIG_LWIP_PPP_SUPPORT using "idf.py menuconfig" fixes the crash?

@Odysseusfr
Copy link
Author

Hey, I tried it and it worked, so yes it's working with that config activated. I was able to use the demo code in the latest esp-idf version.

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

4 participants