运行sudo ap-hotspot debug
有错误提示 dnsmasq: failed to create listening socket for 127.0.0.1: 地址已在使用
说明dnsmasq因端口冲突没起的来,DHCP没起来自然就无法分配ip
用命令 sudo vi /etc/dnsmasq.conf 打开dnsmasq的配置文件
在最后加上一行port=0
同时将DHCP范围限制那一行的注释去掉可以解决问题
运行sudo ap-hotspot debug
有错误提示 dnsmasq: failed to create listening socket for 127.0.0.1: 地址已在使用
说明dnsmasq因端口冲突没起的来,DHCP没起来自然就无法分配ip
用命令 sudo vi /etc/dnsmasq.conf 打开dnsmasq的配置文件
在最后加上一行port=0
同时将DHCP范围限制那一行的注释去掉可以解决问题