I’ve got some spare ADM5120 boards with 1 ethernet port and 1 miniPCI slot.
I tried to build an Ethernet/Wi-Fi bridge box, but I were a little disappointed when i found out that the bridge package didn’t work with my Atheros AR5414 based miniPCI Wi-Fi card set in sta (managed) mode. Why? I don’t know!
Both eth0 and wlan0 enters promiscuous mode, but packets aren’t forwarded.
In old Whiterussian release, you just had to put your Wi-Fi interface in wet mode, bridge it with your ethernet interface(s) and everything worked out-of-the-box.
Unluky me… Kamikaze seems to have lost this wonderful option!
So, after an afternoon spent googling, I found parprouted: just what I needed. The man page states: “parprouted is a daemon for transparent IP (Layer 3) proxy ARP bridging“. Seems complicated, uh?! Anyway, it just fakes ARP replies on both interfaces acting as a proxy for the hosts’ ARP request on both sides of the bridged lan. Just like a hacker’s man in the middle attack.
To install parprouted, you may have to rebuild and reflash your OpenWrt image if your router hasn’t opkg. That’s my case, since my board only has 2MB of flash and I removed it to free up space.
Anyway, I’ll explain both ways (rebuild or opkg), since it’s very simple.
Read the rest of this entry »