Your wlan0 interface isn't up. You need to bring it up first, which means it must be properly configured.
Since every single distro mess with the network configuration in its own way I can't tell you more unless you give us more information on your system.
Random wild guess, might not work depending on your distro :