i testing now Husarnet as library. Over wifi is everything OK, but over ethernet is ESP32 unable join&connect. Old Husarnet work well on both net interfaces. Log from serial console:
[0;32mI (1085) esp_eth.netif.netif_glue: 94:e6:86:1c:55:8f[0m
[0;32mI (1086) esp_eth.netif.netif_glue: ethernet attached to netif[0m
I (1136) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (1137) wifi:state: init → auth (b0)
I (3067) wifi:state: auth → assoc (0)
I (3087) wifi:state: assoc → run (10)
[0;31mE (5169) husarnet: connection with the server ([0000:0000:0000:0000:0000:0000:0000:0000]:80) failed[0m
[0;31mE (5171) husarnet: Can’t contact app.husarnet.com - is DNS resolution working properly?[0m
Connecting to Husarnet…
Connecting to Husarnet…
Connecting to Husarnet…
Connecting to Husarnet…
Connecting to Husarnet…
Connecting to Husarnet…
Connecting to Husarnet…
after very long delay Husarnet over ethernet start working:
Husarnet IP address: fc94:73d9:61ac:c3d1:c80b:0e38:2e25:8d41
[0;31mE (87383) husarnet: base TCP connection closed[0m
[0;33mW (114792) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m
[0;33mW (116716) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m
[0;33mW (118490) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m
[0;33mW (119824) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m
[0;33mW (119865) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m
[0;31mE (124724) husarnet: base TCP connection closed[0m
[0;33mW (133438) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m
[0;33mW (135438) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m
[0;31mE (175064) husarnet: base TCP connection closed[0m
[0;33mW (175327) husarnet: falling back to relay (peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8)[0m
[0;31mE (210362) husarnet: base TCP connection closed[0m
[0;33mW (235677) husarnet: falling back to relay (peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8)[0m
[0;31mE (260793) husarnet: base TCP connection closed[0m
[0;31mE (757703) husarnet: base TCP connection closed[0m
[0;31mE (761000) husarnet: base TCP connection closed[0m
[0;31mE (2578496) husarnet: base TCP connection closed[0m
[0;33mW (3288459) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m
[0;33mW (3288502) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m
[0;33mW (3288547) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m
[0;33mW (3288593) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m
[0;33mW (3288635) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m
[0;33mW (3288677) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m
[0;33mW (3288725) husarnet: received data packet before hello from peer: fc94:f149:d370:ef30:4a0b:e8ea:27ad:79b8[0m