You are not logged in.

#1 2020-09-02 07:02:47

jlwarg
Member
From: Germany
Registered: 2016-01-26
Posts: 5

netctl can't find wifi interface on startup

Recently my box doesn't connect to my WLAN on boot any more. The error is this:

$ systemctl status netctl@WLAN_Home.service
● netctl@WLAN_Home.service - Networking for netctl profile WLAN_Home
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Wed 2020-09-02 06:06:31 CEST; 1min 57s ago
    Docs: man:netctl.profile(5)
    Process: 345 ExecStart=/usr/lib/netctl/network start WLAN_Home (code=exited, status=1/FAILURE)
    Main PID: 345 (code=exited, status=1/FAILURE)

    Sep 02 06:06:31 machine systemd[1]: Starting Networking for netctl profile WLAN_Home...
    Sep 02 06:06:31 machine network[345]: Starting network profile 'WLAN_Home'...
    Sep 02 06:06:31 machine network[345]: Interface 'wlp2s0' does not exist
    Sep 02 06:06:31 machine network[345]: Failed to bring the network up for profile 'WLAN_Home'
    Sep 02 06:06:31 machine systemd[1]: netctl@WLAN_Home.service: Main process exited, code=exited, status=1/FAILURE
    Sep 02 06:06:31 machine systemd[1]: netctl@WLAN_Home.service: Failed with result 'exit-code'.
    Sep 02 06:06:31 machine systemd[1]: Failed to start Networking for netctl profile WLAN_Home.

When I open a terminal and do `sudo systemctl start netctl@WLAN_Home.service` afterwards it works flawlessly. So I think I should somehow make netctl wait until wlp2s0 is established but it seems I can't figure out what to search for. Googling the error message didn't yield any results. Can someone point me in the right direction?

Offline

#2 2020-09-09 09:51:31

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 211
Website

Re: netctl can't find wifi interface on startup

Could you post in a code block the output of journalctl / dmesg logs. That may allude to why it's failing on startup.

Offline

#3 2020-09-09 19:07:54

d_fajardo
Member
Registered: 2017-07-28
Posts: 924

Re: netctl can't find wifi interface on startup

Why are you enabling netctl@something.service? Don't you simply enable a profile?
Also are you sure no other network service is running like dhcpcd?

Offline

#4 2020-09-10 16:34:23

ackt1c
Member
From: Visalia, California
Registered: 2012-10-10
Posts: 238

Re: netctl can't find wifi interface on startup

From the Archlinux Wiki

Enabling a profile
A profile can be enabled to start at boot by using:

# netctl enable profile

https://wiki.archlinux.org/index.php/Ne … _a_profile

In regards I thought it was also enabled by systemd.

Offline

Board footer

Powered by FluxBB