sudo git clone https://github.com/oblique/create_ap
cd create_ap
sudo make install
#安装依赖的库
sudo apt-get install util-linux procps hostapd iproute2 iw haveged dnsmasq
At this point, you can create a hotspot through the following command:
sudo create_ap wlan0 eth0 热点名 密码
Next, set the power-on to start automatically.