Someone ported the code for TI’s wifi chip to Arduino, which is very cheap for WiFi (around $10). The eval board for it is $35, which I believe is cheaper than the arduino wifi shield, but not cheaper than some of the dd-wrt hacks.
https://github.com/cmagagna/ArduinoCC3000