我有一个有效的 WiFi 热点配置,但重启后它没有出现。Syslog 告诉我:https://pastebin.com/Te4ik2Yq
看起来“问题”就在这里:
Jul 23 08:51:37 testmachine01 NetworkManager[6346]: <info> [1532335897.7097] dnsmasq-manager: starting dnsmasq...
Jul 23 08:51:37 testmachine01 NetworkManager[6346]: <info> [1532335897.7121] device (wlp1s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Jul 23 08:51:37 testmachine01 NetworkManager[6346]: dnsmasq: failed to create listening socket for 172.30.108.1: Address already in use
Jul 23 08:51:37 testmachine01 dnsmasq[7090]: failed to create listening socket for 172.30.108.1: Address already in use
Jul 23 08:51:37 testmachine01 dnsmasq[7090]: FAILED to start up
Jul 23 08:51:37 testmachine01 NetworkManager[6346]: <warn> [1532335897.7131] dnsmasq-manager: dnsmasq exited with error: Network access problem (address in use, permissions) (2)
Jul 23 08:51:37 testmachine01 NetworkManager[6346]: <info> [1532335897.7131] device (wlp1s0): state change: ip-check -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
Jul 23 08:51:37 testmachine01 NetworkManager[6346]: <warn> [1532335897.7137] device (wlp1s0): Activation: failed for connection 'HotSpot'
Jul 23 08:51:37 testmachine01 NetworkManager[6346]: <info> [1532335897.7144] device (wlp1s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
我没有专门安装 dnsmasq,“只是”使用 NetworkManager
非常感谢您的帮助
答案1
Wifi 热点使用的设备与您通过这台计算机上网的设备相同;该网卡有两种模式:
接收器模式(默认);如果要下载更新,则必须使用此模式
发射机模式(热点的情况)
我很确定你无法启动热点是因为 Ubuntu 正在下载更新或类似的东西,所以网卡已经被使用了。你说这个问题发生在重启后,这增加了自动下载更新的可能性。
解决方案:你只需要等待一会儿,以便此操作完成,然后你就可以启动你的 Wifi 热点