1.下载 create_ap
地址:https://github.com/oblique/create_ap/
2.解压下载的create_ap-master进入解压目录,打开终端
3.sudo make install
4.sudo apt-get install util-linux procps hostapd iproute2 iw haveged dnsmasq
5.重点 输入命令 /# iwconfig
root@Caisin_PC:/# iwconfig
lo no wireless extensions.
wlp2s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
eno1 no wireless extensions.
root@Caisin_PC:/# create_ap wlp2s0 eno1 WiFi名 WiFi密码
总结:一定要用iwconfig获得自己的WiFiinterface wlp2s0 eno1 创建WiFi
而不是直接用create_ap 的示例 wlan0 eth0
如果你的不是wlan0 eth0 则会报
ERROR: 'wlan0' is not a WiFi interface
这个错
地址:https://github.com/oblique/create_ap/
2.解压下载的create_ap-master进入解压目录,打开终端
3.sudo make install
4.sudo apt-get install util-linux procps hostapd iproute2 iw haveged dnsmasq
5.重点 输入命令 /# iwconfig
root@Caisin_PC:/# iwconfig
lo no wireless extensions.
wlp2s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
eno1 no wireless extensions.
root@Caisin_PC:/# create_ap wlp2s0 eno1 WiFi名 WiFi密码
总结:一定要用iwconfig获得自己的WiFiinterface wlp2s0 eno1 创建WiFi
而不是直接用create_ap 的示例 wlan0 eth0
如果你的不是wlan0 eth0 则会报
ERROR: 'wlan0' is not a WiFi interface
这个错