I am not an advanced user of ubuntu and I am using Ubuntu 14.04 alongside with Windows 8. When I started ap-hotspot in terminal it hangs at "starting wireless hotspot...." . But I had no problems previously on Ubuntu 13.10. Please suggest any work around.
Try to use this tutorial.
My guess is: you need to downgrade hostapd. It's told how to do it in that tutorial. However, I'll post the code here just in case.
cd /tmp wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb sudo dpkg -i hostapd*.deb sudo apt-mark hold hostapd
cd /tmp wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_i386.deb sudo dpkg -i hostapd*.deb sudo apt-mark hold hostapd
Use http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb` as the package has been removed/moved from the archive.ubuntu.com. So it'll give Not Found error. This link should work.