很久之前从Ubuntu中文论坛下载的。 首先需要安装 dhcp和hostapd两个软件,当然还需要有个无线网卡。 Ubuntu: apt-get install isc-dhcp-server hostapd CentOS: yum -y install dhcp hostapd Code: #!/bin/bash #● ai hostapd dhcp3-server iw list|grep '* AP' [ $? -ne 0 ] && echo "No ...