There was a problem with setting up WiFi hotspots on Ap-hotspot on Ubuntu 14.04 today. After you have configured the SSID and key, run sudo apt-mark hold HOSTAPD after you have been in the sudo apt-mark for HOSTAPD status. Later found a solution, hope to see this article's friends can also successfully solve:
First, we install Ap-hotspot:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install Ap-hotspot
After the installation is successful, do not worry about configuring WiFi, because the installation of the Ap-hotspot process is now installed in the HOSTAPD is a bug. We fix the problem by installing a bug free version:
Cd/tmp
wget Http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb
sudo dpkg-i hostapd*.deb
sudo apt-mark hold HOSTAPD
The last command is to prevent HOSTAPD from automatically upgrading.
Then configure your WiFi:
sudo ap-hotspot Configure
Finally open
sudo ap-hotspot start
Appear
Starting Wireless Hotspot ...
Wireless Hotspot Active
The word is successful, so the hot spot is established and can not be recognized by Android phone.