Post topics, source code that relate to the Arduino Platform

User avatar
By jonas18175
#55602 Hello,

my goal is to build a little AP, but it should use a ethernet connection.
I try to find a way to routing all packets on all ports to the ethernet,
but i have no plan from packet redirect. Is someone here there know many
about this topic and can help?
User avatar
By RichardS
#55631 This is a very interesting topic, hope people are able to help you as it will enlighten us all!

RichardS
User avatar
By Me-no-dev
#55656 Do you want to make the ESP a router or do you just want to add the 28j60 as an interface to the ESP so you can use it just like you use WiFi?

LwIP is not compiled with routing support and I am not positive that it will compile and work, but can be tried!
As for attaching the LAN to the stack, you need to expose some functionality through an interface that LwIP understands and it should all work. For information about the interface API, read here: https://github.com/esp8266/Arduino/blob ... ip/netif.h
User avatar
By jonas18175
#65337 I will push this post again.
I have no chance alone to build a ESP-Router which can use a Lan Port to route it as WLAN-AP.
So i will open up a github repository and i am very happy when some people tried with me to program a ESP-Router. I think it is a general interest.
The ESP has a build-in Ethernet-Controller, but i think there is useless: http://hackaday.com/2016/04/01/ethernet ... e-esp8266/
I think more in the direction for a ENC28J60: http://www.ebay.de/itm/ENC28J60-Etherne ... SwXYtY2m0W
It should be fast enought over SPI.
Has someone ideas for the implementation?

Jonas