ESP32 virtual network interface
Posted: Wed Jul 26, 2023 9:17 pm
Hello, i would like to know if there is a way to point to esp32 netif ethernet interface (like "en1" or "ETH_DEF") while using an HAL library from software that runs on linux. I already figured out how to port the storage HAL, filesystem HAL and threads HAL, and i'm currently trying to port the ethernet HAL, with no success.
The library show the following line to choose a virtual network interface using NIC names:
I've tried every possible combination from esp_netif ("/dev/net/en1", "en1", "eth0", "eth", "ETH_DEF", etc) and couldn't get it to work, and i have already configured the ethernet interface and obtained these parameters (i'm using the WT32-ETH01 board):
So i was wondering if i'm really ABLE to point that interface in the first place, because esp uses freertos and i don't know if i can use these NIC names on this operating system.
The library show the following line to choose a virtual network interface using NIC names:
I've tried every possible combination from esp_netif ("/dev/net/en1", "en1", "eth0", "eth", "ETH_DEF", etc) and couldn't get it to work, and i have already configured the ethernet interface and obtained these parameters (i'm using the WT32-ETH01 board):
So i was wondering if i'm really ABLE to point that interface in the first place, because esp uses freertos and i don't know if i can use these NIC names on this operating system.