News for hackers. Stuff that matters.
Re:ESP32 Buyer’s Guide: Different Chips, Firmware, Sensors by nabakin on Saturday February 04, 2023 @01:20PM (#34656658)
Yeah, I know a lot about PiHole and how it works, but I'm creating a MITM AdBlocker like Privoxy. For that, I need 2 Ethernet ports. Raspberry Pis also cost a ton right now because they have been heavily affected by the silicon shortage. Also, I want to develop for a platform which is cheaper than the Raspberry Pi at MSRP.
Re:ESP32 Buyer’s Guide: Different Chips, Firmware, Sensors by m3koval on Saturday February 04, 2023 @01:34PM (#34656793)
It should be possible to do that using one Ethernet port using VLANs. You could buy a cheap L2 managed switch and use it to trunk two different Ethernet networks on the same port. Then you would configure the Linux networking stack to split the VLANs into separate interfaces.

I am by no means a networking expert and was able to use technique to work around a similar issue in the past. It was easier than I expected!

Re:ESP32 Buyer’s Guide: Different Chips, Firmware, Sensors by nabakin on Saturday February 04, 2023 @01:43PM (#34656872)
Awesome, I didn't know this was an option! Is there a cheap L2 managed switch? I'm only seeing $100+ boards with a cursory search
Re:ESP32 Buyer’s Guide: Different Chips, Firmware, Sensors by vkdelta on Saturday February 04, 2023 @02:37PM (#34657408)
try ebay or newegg to get used or refurb ones. a lot of switches last really long.