我已经使用 Arch Linux 一个多月了。我曾经wifi-menu连接到我的 Wifi 网络。我每次启动笔记本电脑时都会运行该命令。
wifi-menu 当我尝试连接时总是出现此错误:
Job for netctl@HelloWorld.service failed. See 'systemctl status netctl@HelloWorld.service' and 'journalctl -xn' for details.
Run Code Online (Sandbox Code Playgroud)
问题是每次启动时我的界面都打开了。所以我用这个把界面放下:
ip link set down wlp2s0
Run Code Online (Sandbox Code Playgroud)
wlp2s0是我的接口名称,HelloWorld是我的 Wifi 网络的 SSID。
这一次,不管把接口放下,它都没有连接到网络。它给了我上述相同的错误。
这是输出systemctl status netctl@HelloWorld.service:
netctl@HelloWorld.service - Networking for netctl profile HelloWorld
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
Active: failed (Result: exit-code) since Mon 2014-03-24 02:32:35 IST; 2min 56s ago
Docs: man:netctl.profile(5)
Process: 8601 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
Main PID: 8601 (code=exited, status=1/FAILURE)
Mar …Run Code Online (Sandbox Code Playgroud)