1、我的系统环境操作系统:deepin os 15.3ifconfig:enp2s0f1: flags=...inet ...wlan0对应的就是wlp3s0,eth0对应enp2s0f1。
2、之前就是因为不知道这个对应关系才折腾了那么久。create_ap神器github地址:create_ap下载源代码gitclone。
3、安装create_ap,cdcreate_ap,make install,设置wifi,sudo create_ap wlp3s0 enp2s0f1 your_ap_name your_ap_password。your_ap_name:你要设置的热点名称。
4、your_ap_password:密码建议将上面的命令保存成文件,这样就不需要每次都敲这么多文字了。设置后输出正常的结果。
5、你得到的输出应该是这个样子:Con酆璁冻嘌fig dir: /tmp/create_ap.wlp3s0.conf.gg泠贾高框odz80K,PID:6682,Creating a virtual WiFi interface... ap0 created,Network Manager found,setap0 as unmanaged device... DONE,dnsmasq: Symbol `nettle_hashes' has different size in shared object, consider re-linking。
6、ap0: STA... RADIUS: starting accounting session 58CA7D65-00000000。ap0: STA... WPA: pairwise key handshake completed (RSN)。ap0: STA... WPA: group key handshake completed (RSN)。