I installed Ubuntu 12.04 server and I chose wired network but now I need to change to wireles(wlan0) because I haven't wired connection. So every time I reboot my computer, I need to change that. Moreover it starts slower because it is checking wired connection for long time.
After these commands works fine
sudo ifconfig wlan0 up sudo service network-manager restart