我已经使用Arch Linux超过一个月了。我曾经wifi-menu
连接到我的Wifi网络。每次启动笔记本电脑时,我都会运行命令。
wifi-menu
当我尝试连接时,总是会出现此错误:
Job for netctl@HelloWorld.service failed. See 'systemctl status netctl@HelloWorld.service' and 'journalctl -xn' for details.
问题是每次启动时我的界面都启动了。因此,我使用以下命令放下了接口:
ip link set down wlp2s0
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 24 02:32:34 lenovo network[8601]: Starting network profile 'HelloWorld'...
Mar 24 02:32:35 lenovo network[8601]: chmod: cannot access ‘/run/dhcpcd-wlp2s0.pid’: No such file or directory
Mar 24 02:32:35 lenovo network[8601]: Failed to bring the network up for profile 'HelloWorld'
Mar 24 02:32:35 lenovo systemd[1]: netctl@HelloWorld.service: main process exited, code=exited, status=1/FAILURE
Mar 24 02:32:35 lenovo systemd[1]: Failed to start Networking for netctl profile HelloWorld.
Mar 24 02:32:35 lenovo systemd[1]: Unit netctl@HelloWorld.service entered failed state.
journalctl -xn
给我这个输出:
Mar 24 02:38:05 lenovo kernel: brcmsmac bcma0:0: brcms_ops_bss_info_changed: qos enabled: false (implement)
Mar 24 02:38:05 lenovo kernel: cfg80211: Calling CRDA to update world regulatory domain
Mar 24 02:38:05 lenovo dhcpcd[256]: wlp2s0: carrier lost
Mar 24 02:38:05 lenovo dhcpcd[256]: wlp2s0: carrier acquired
Mar 24 02:38:05 lenovo dhcpcd[256]: wlp2s0: carrier lost
Mar 24 02:38:05 lenovo dhcpcd[256]: wlp2s0: waiting for carrier
Mar 24 02:38:05 lenovo network[8993]: Failed to bring the network up for profile 'HelloWorld'
Mar 24 02:38:05 lenovo systemd[1]: netctl@HelloWorld.service: main process exited, code=exited, status=1/FAILURE
Mar 24 02:38:05 lenovo systemd[1]: Failed to start Networking for netctl profile HelloWorld.
-- Subject: Unit netctl@HelloWorld.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit netctl@HelloWorld.service has failed.
--
-- The result is failed.
Mar 24 02:38:05 lenovo systemd[1]: Unit netctl@HelloWorld.service entered failed state.
systemctl给出了/run/dhcpcd-wlp2s0.pid
不存在的错误,并且不存在。虽然/run/dhcpcd.pid
确实存在一个名为的文件。
这是来自网络控制器的输出 lspci -k
02:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
Subsystem: Broadcom Corporation Device 051b
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma
我已经尝试了Internet上的一些方法,但是没有找到解决方案。
有办法解决这个问题吗?还是可以仅重置Arch Linux中与网络相关的所有内容,以便可以wifi-menu
再次用于连接到网络?
谢谢!