There is a great item on the curvature of the earth at:
http://mathcentral.uregina.ca/QQ/database/QQ.09.02/shirley3.html
So assuming you do have true line of sight, you might get a signal using some kind of directional antenna.
Check out these guys:
http://www.radiolabs.com/Articles/wifi-antenna.html
You can see what the range is likely to be here (but you'll need to know all the numbers i.e. power) first:
http://www.radiolabs.com/stations/wifi_calc.html
They suggest "The 2.4 GHz flat-land record was set with a Grid in Australia last year. They sent 200 mW of power 56 km from grid to grid" for this antenna ($125), which implies without additional amplification, at 24km you might be getting real close to the limits of what might be considered usable operation, as getting some kind of signal isn't the same as getting enough for usable bandwidth on the resulting LAN interface.
Lets face it, "World Records" and daily operation are two different things now, aren't they (or else we'd all be doing it)?
http://www.radiolabs.com/products/antennas/2.4gig/2.4grid.php
Let us know how you get on, will you?