Raspberry Pi opens hot spot through AP
From Waveshare Wiki
1. Enter the super administrator user
sudo -i
2. Install the library files
sudo apt-get install util-linux procps hostapd iproute2 iw haveged dnsmasq
3. Install AP software
git clone git://github.com/oblique/create_ap cd create_ap sudo make install
4. Create AP
Create a Wi-Fi network with WPA + WPA2 password:
sudo create_ap --no-virt wlan0 eth0 PI 12345678
This command creates a wireless network named PI on the wlan0 channel, and the password is 12345678.
After completing the creation of a wireless network, you can connect to a device with WiFi function such as a mobile phone.
5. Connect your phone to WIFI
Select Service Set Identifier Service Set Identifier: PI
Enter the corresponding Password: 12345678
Mobile phone WIFI connected to SSID: PI
FAQ
Question:Why it appears that Your adapter can not be a station (i.e. be connected) and an AP at the same time.
Answer:
you need to disconnect the WIFI connection. Be careful not to turn off the WIFI, but forget the network. Do not connect to other hotspots, otherwise there will be conflict:
Question:Why is there an Operation not possible due to RF-kill problem, use the following command to unlock:
Answer:
Enter the following command:
rfkill unblock all