You can share internet from wlan0 to eth0. Following the Vintage cookbook, I understand that this is done via software using NAT and iptables rules.
However, I’m having a problem with download speed; it’s reduced by about 1/50. I tested this with a Raspberry Pi 4. Now, with Raspbian, it works perfectly, maintaining almost the same speed as the Wi-Fi connection shared over Ethernet.
I’d like to know if anyone has experienced this using Nerves and VintageNet, and if so, what possible solutions they have.
What did you do to enable this on Raspbian? You can probably reproduce that under Nerves but ir might not be exactly what the VintageNet cookbook does.
In Raspbian it was exactly the same command, except that I had to enable a DHCP server for eth0 so that it could give me an IP address automatically, which would be the equivalent of configuring VintageNet in DHCP mode.
Interesting. I wonder if there are any differences in kernel support for this that would explain the difference in performance.. I hope @fhunleth has some idea.