You are not logged in.

#1 2015-01-26 10:28:20

ion
Member
Registered: 2015-01-26
Posts: 2

[SOLVED]Netctl profile won't start at startup

My network profile is called "raz"(Connects to Wi-Fi)
However, it fails to automatically start at startup.

here is the output from
systemctl status netctl@raz.service:

● netctl@raz.service - Razvan router
   Loaded: loaded (/etc/systemd/system/netctl@raz.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2015-01-26 11:42:34 EET; 4min 58s ago
     Docs: man:netctl.profile(5)
  Process: 211 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 211 (code=exited, status=1/FAILURE)

Jan 26 11:42:33 ion network[211]: Failed to initialize control interface '/run/wpa_supplicant'.
Jan 26 11:42:33 ion network[211]: You may have another wpa_supplicant process already running or the file was
Jan 26 11:42:33 ion network[211]: left by an unclean termination of wpa_supplicant in which case you will need
Jan 26 11:42:33 ion network[211]: to manually remove this file before starting wpa_supplicant again.
Jan 26 11:42:34 ion network[211]: The WPA supplicant did not start for interface 'wlp3s0'
Jan 26 11:42:34 ion network[211]: Failed to bring the network up for profile 'raz'
Jan 26 11:42:34 ion systemd[1]: netctl@raz.service: main process exited, code=exited, status=1/FAILURE
Jan 26 11:42:34 ion systemd[1]: Failed to start Razvan router.
Jan 26 11:42:34 ion systemd[1]: Unit netctl@raz.service entered failed state.
Jan 26 11:42:34 ion systemd[1]: netctl@raz.service failed.

I do not know how to check wether wpa_supplicant is already running(I guess it is not, since this is at startup).

Anyway, I am able to manually start the profile after login(but this is not handy).

So, what would be the work-around?

Last edited by ion (2015-01-27 19:02:13)

Offline

#2 2015-01-26 14:44:30

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED]Netctl profile won't start at startup

Disable other services that control network.

Offline

#3 2015-01-27 19:01:43

ion
Member
Registered: 2015-01-26
Posts: 2

Re: [SOLVED]Netctl profile won't start at startup

It works now.
Yet, I am not sure why.
I suspect the problem was that I had more profiles enabled.

Offline

Board footer

Powered by FluxBB