Sharing wifi in Linux to Android phones
The test is feasible. The test system is Deepin2014 and Ubuntu. The procedure is very simple.
1. Uninstall hostapd, sudo apt-get remove hostapd (if it has been installed, uninstall it because some versions do not support it)
2. Install the specified version of hostapd at http://pan.baidu.com/s/1kt0xwmn. download and install it later.
3. Notify sudo apt-get install libnotify-bin of the installation information.
4. Install ap-hotspot
$ Sudo add-apt-repository ppa: nilarimogard/webupd8
$ Sudo apt-get update
$ Sudo apt-get install ap-hotspot
$ Sudo ap-hotspot configure // This step will check the ubuntu network and WIFI interface. After confirmation, you will be prompted to configure the hotspot and enter the ssid and password.
$ Sudo ap-hotspot start // enable hotspot
Prompt Wireless Hotspot active for use
Next, you can use sudo ap-hotspot stop to disable wifi.