![需要找出为什么我的 Ubuntu 不断尝试创建热点](https://linux22.com/image/934234/%E9%9C%80%E8%A6%81%E6%89%BE%E5%87%BA%E4%B8%BA%E4%BB%80%E4%B9%88%E6%88%91%E7%9A%84%20Ubuntu%20%E4%B8%8D%E6%96%AD%E5%B0%9D%E8%AF%95%E5%88%9B%E5%BB%BA%E7%83%AD%E7%82%B9.png)
我试图了解高内存和 CPU 使用率,因此我这样做journatctl -f
并在结果中发现了这一点:
Feb 06 13:16:18 arrakis create_ap[393537]: ERROR: 'wlan0' is not a WiFi interface
Feb 06 13:16:18 arrakis systemd[1]: create_ap.service: Main process exited, code=exited, status=1/FAILURE
Feb 06 13:16:18 arrakis systemd[1]: create_ap.service: Failed with result 'exit-code'.
Feb 06 13:16:23 arrakis systemd[1]: create_ap.service: Scheduled restart job, restart counter is at 93087.
Feb 06 13:16:23 arrakis systemd[1]: Stopped Create AP Service.
Feb 06 13:16:23 arrakis systemd[1]: Started Create AP Service.
Feb 06 13:16:24 arrakis create_ap[393578]: ERROR: 'wlan0' is not a WiFi interface
Feb 06 13:16:24 arrakis systemd[1]: create_ap.service: Main process exited, code=exited, status=1/FAILURE
Feb 06 13:16:24 arrakis systemd[1]: create_ap.service: Failed with result 'exit-code'.
Feb 06 13:16:29 arrakis systemd[1]: create_ap.service: Scheduled restart job, restart counter is at 93088.
Feb 06 13:16:29 arrakis systemd[1]: Stopped Create AP Service.
Feb 06 13:16:29 arrakis systemd[1]: Started Create AP Service.
Feb 06 13:16:29 arrakis create_ap[393620]: ERROR: 'wlan0' is not a WiFi interface
Feb 06 13:16:29 arrakis systemd[1]: create_ap.service: Main process exited, code=exited, status=1/FAILURE
Feb 06 13:16:29 arrakis systemd[1]: create_ap.service: Failed with result 'exit-code'.
Feb 06 13:16:34 arrakis systemd[1]: create_ap.service: Scheduled restart job, restart counter is at 93089.
Feb 06 13:16:34 arrakis systemd[1]: Stopped Create AP Service.
Feb 06 13:16:34 arrakis systemd[1]: Started Create AP Service.
Feb 06 13:16:34 arrakis create_ap[393663]: ERROR: 'wlan0' is not a WiFi interface
Feb 06 13:16:34 arrakis systemd[1]: create_ap.service: Main process exited, code=exited, status=1/FAILURE
Feb 06 13:16:34 arrakis systemd[1]: create_ap.service: Failed with result 'exit-code'.
● create_ap.service - Create AP Service
Loaded: loaded (/usr/lib/systemd/system/create_ap.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2021-02-07 02:14:28 CET; 3s ago
Process: 659956 ExecStart=/usr/bin/create_ap --config /etc/create_ap.conf (code=exited, status=1/FAILURE)
Main PID: 659956 (code=exited, status=1/FAILURE)
另外,执行“sudo systemctl disable create_ap.service”也无法解决问题。
我如何找出这个问题的根源?我的意思是,为什么我的系统不断尝试创建热点。我不需要热点,我该如何阻止这种情况?
“systemctl sttus create_ap.service”的输出: