Debian 9.3 怎么开启WiFi热点

之前使用Ubuntu 16.04 安装上无线驱动之后就可以开启Hotspot,但是在Debian 9.3下面怎么点 use as hotspot 都没用,大家有遇到的吗?

装dnsmasq了么

debian@Manford:~$ sudo dpkg -l dnsmasq
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
++±=========================-=================-=================-========================================================
ii dnsmasq 2.76-5+deb9u1 all Small caching DNS proxy and DHCP/TFTP server

debian@Manford:~$ sudo iw list
Wiphy phy0
max # scan SSIDs: 4
max scan IEs length: 2285 bytes
max # sched scan SSIDs: 0
max # match sets: 0
max # scan plans: 1
max scan plan interval: -1
max scan plan iterations: 0
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports RSN-IBSS.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP-128 (00-0f-ac:4)
* CCMP-256 (00-0f-ac:10)
* GCMP-128 (00-0f-ac:8)
* GCMP-256 (00-0f-ac:9)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
/ AP*
* AP/VLAN
* WDS
* monitor
* mesh point

还有一些就不贴出来了。。。 怎么搞都启动不起来,心好累

用create_ap这个脚本试试 https://github.com/oblique/create_ap

1 个赞

(@ο@) 哇~ 感谢!给出了一个_Warning_ ,但不妨碍使用。:yum::yum::yum:

WARN: Your adapter does not fully support AP virtual interface, enabling --no-virt

不过又出现了新的问题:expressionless::expressionless::expressionless:,我的wifi连接不见了,通过sudo ifconfig wlan0 up,开启之后在用sudo iwconfig scan可以找到无线信号,但是在 Network-Mananger 里面并没有 WiFi 。
然后我又尝试卸载这个 creat_ap ,还是没有用,大神知道该怎么办吗?

不好意思,都怪我没有仔细看帮助文档,已将找到解决办法了:
creat_ap --fix-unmanaged