git clone https://github.com/oblique/create_ap
cd create_ap
make install
有些源中可能使用util-Linux
apt install util-linux procps hostapd iproute2 iw haveged dnsmasq
create_ap 无线网卡名 有线网卡名 热点名 密码
一定要在命令后添加&使其后台执行
vim /etc/rc.local
create_ap 无线网卡名 有线网卡名 热点名 密码 &原文:https://www.cnblogs.com/leviatan/p/9033588.html