Re: ESP32 SoftAP - Station bridging

2023-10-16 Thread
Hi Robert & Alan, Although I don't have an ESP32 board yet, you may need NAT applied on wlan0, I guess. Under Alan's configuration, there are two subnets: the 192.168.0.0/24 and 10.0.0.0/24. With only routing and ipforward, the ping from 10.0.0.x (take 10.0.0.2 as an example) normally can reac

Re: Multiple IP addresses with a single GMAC (RMII PHY)

2023-10-26 Thread Zhe Weng
> On Thu, Oct 26, 2023 at 3:10 PM Gregory Nutt wrote: > > > > > On 10/25/2023 10:41 PM, Zhe Weng 翁�� wrote: > > > But I do have another idea: > > > Maybe you can try to register two network devices even if you only have > > a single GMAC, just dup all

Re: TUN device (PPP) issue?

2024-01-16 Thread Zhe Weng
Hi Kian, Which version of NuttX are you working on? It behaves like a problem I've met before. Do you have this commit in your code? If not, maybe you could have a try: https://github.com/apache/nuttx/commit/e2c9aa65883780747ca00625a1452dddc6f8a138 Best regards Zhe ___

Re: Multiple IP addresses with a single GMAC (RMII PHY)

2023-10-25 Thread Zhe Weng
Hi Matthias, I agree with Gregory's opinion, if you want to do the same thing on NuttX as you do on Linux, you'll need both: 1. Support multiple IP addresses in the device structure 2. Support the alias like 'eth0:0' because the ioctl of IPv4 address is designed to set one address per interface,