Quantcast
Channel: Arch Linux not connecting to Wifi anymore - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 5

Arch Linux not connecting to Wifi anymore

$
0
0

I have been using Arch Linux over a month now. I have used wifi-menu to connect to my Wifi Network. I run the command every time I start my laptop.

wifi-menu always gives this error when I try to connect:

Job for netctl@HelloWorld.service failed. See 'systemctl status netctl@HelloWorld.service' and 'journalctl -xn' for details.

The problem was that my interface was up every time I started. So I put the interface down using this:

ip link set down wlp2s0

wlp2s0 is my interface's name and HelloWorld is my Wifi Network's SSID.


This time, it didn't connect to the network regardless of putting the interface down. It gives me the same error described above.

This is the output of 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 gives me this output:

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 gives the error that /run/dhcpcd-wlp2s0.pid doesn't exist, and it doesn't. Though a file named /run/dhcpcd.pid does exist.


This is the Network Controller output from 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

I have tried a couple of things from around the Internet but haven't found a solution.

Is there a way to fix this problem? Or can I just reset everything related to networking in Arch Linux so that I can just use wifi-menu to connect to the network again?

Thanks!


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images