OS X can't be reinstalled because you aren't connected to the Internet.
I am currently facing some problems with a disk (manually removed the bootcamp partition which seemed to have messed it up) and in the process am trying to reinstall OSX mavericks using the built in recovery partition. However, when I attempt to use the reinstall OSX function it tells me that I am not connected to the Internet whilst I am (am typing this from the recovery menu). I have tried both Ethernet and Wi-Fi which both do not work.
I am on a late 2009 (maybe 2008) Macbook Unibody running the latest version of OSX Mavericks.
MacBook, OS X Mavericks (10.9.3)