There are two main ways to check the data:
First Type: Network Manager Settings
This method is more complex to configure and cannot be shared with Android phones and iphones. Give up (in fact, I tried, really useless).
The second type: Use Ap-hotspot, pro-Test available
This method is easy to configure and easy to use.
First step: Install Ap-hotspot
sudo add-apt-repository ppa:nilarimogard/sudo apt-sudo Install Ap-hotspot
Step Two: Configure Ap-hotspot
sudo ap-hotspot Configure
Detecting configuration ... Detected eth0 as the network interface connected to the Internet. Press ENTERifThis is correct or enter the desired interface below (e.g.-eth0, Ppp0 etc.)://Enter confirmdetected wlan0 as your WiFi interface. Press ENTERifThis is correct or enter the desired interface (e.g.-wlan1)://Enter confirmEnter the desired Access point name or press Enter to use the default one (Myhotspot)://Enter the name of the WiFiEnter the desired WPA Passphrase below or press Enter to use the default one (qwerty0987)://Enter the password for WiFi
Step three: Start WiFi
sudo ap-hotspot start
Now you can find your own diverging WiFi on your Android device.
Also attached are several common command options:
Usage: ap-hotspot [argument] start start wireless hotspot // turn on WiFi Stop Stop wireless hotspot // stop WiFi Restart Restart wireless hotspot // restart wifi Configure Configure hotspot / Configure WiFi Debug Start with detailed messages // dubug mode turns on WiFi and displays some detailed information
This article refers to the following:
http://blog.csdn.net/wdjhzw/article/details/39118651
Ubuntu14.04 setting up WiFi hotspots