0、apt-get install hostapd git make
1、克隆create_ap项目
git clone https://github.com/oblique/create_ap
cd create_ap
make install
2、开启wifi热点
sudo create_ap wlan_interface wlan_interface ap_name ap_password
3、完成开启
ap0: AP-ENABLED // 当看到这行代码,就成功开启了热点