Linux 下开wifi热点

跑坑无数,终于使用create_ap开启wifi热点。

可以使用github上托管的项目,地址https://github.com/oblique/create_ap/

安装如https://github.com/oblique/create_ap/教程所示,安装后使用命令sudo create_ap wlan0 lo wifiname password

其中wlan0 为无线网卡名, wifiname password分别为wifi名与密码

常见坑点:

1 要安装所由此脚本需要的程序,如dnsmasq

2 要正确设置无线网卡名,可以使用iwconfig命令查看网卡名

原文地址:https://www.cnblogs.com/IMGavin/p/6341093.html