Take a look at FRIEFUNK, a cooperative mesh WiFi network covering a number of cities in Germany. They primarily use firewalls running OpenWRT with the mesh handled by the amazing BATMAN project, which presents a standard network interface for IP traffic to run over. I'd love to live in a city where this kind of thing is possible.