You are not logged in.

#1 2016-05-15 13:02:29

Caffeine
Member
Registered: 2014-04-23
Posts: 4

Issues with wireless connection on specific interface

Hey,

Since around 2 weeks I am issuing some problems with my wifi connection. During boot what I see is a error that is thrown:

failed to start automatic wireless network connection using netctl profiles

I have to reboot x times for making the wireless work again on that interface, which is wlp3s0. But if I plug in another external wifi card, it works immediately. What I tried was downgrading packages like the NetworkManager to networkmanager-1.2.0-3 or networkmanager-1.0.12-1, which both didn't help. I tested turning off and on some services like netctl-auto@wlp3s0.service, which also didn't help, so I can not be sure whether the NetworkManager is the source of error that's why I decided to open a new thread for this.

I'm on 4.5.4-1-ARCH with KDE5 as my primary WM.

*Edit:*

The corresponding services seem to fail when trying to start, this is what sudo systemctl --failed gives me:

● dhcpcd@wlp3s0.service               loaded failed failed dhcpcd on wlp3s0
● netctl-auto@wlp3s0.service          loaded failed failed Automatic wireless network connection using netctl profiles
● netctl@wlp3s0\x2dUPC3652755.service loaded failed failed Automatically generated profile by wifi-menu

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

3 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Last edited by Caffeine (2016-05-15 14:11:09)

Offline

#2 2016-05-15 14:49:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,789

Re: Issues with wireless connection on specific interface

Is NetworkManager running?  You do not want multiple things trying to control your wireless. 

Likewise, you do not want to run dhcpcd as a systemd service if you are using either netctl or Networkmanager.  Both of those systems will launch dhcpcd (or dhclient) when they need it.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#3 2016-05-15 16:12:09

Caffeine
Member
Registered: 2014-04-23
Posts: 4

Re: Issues with wireless connection on specific interface

ewaller wrote:

Is NetworkManager running?  You do not want multiple things trying to control your wireless. 

Likewise, you do not want to run dhcpcd as a systemd service if you are using either netctl or Networkmanager.  Both of those systems will launch dhcpcd (or dhclient) when they need it.

NetworkManager.service is actually running, yes.

● NetworkManager.service - Network Manager
   Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled)
   Active: active (running) since So 2016-05-15 17:46:40 CEST; 1min 24s ago
 Main PID: 377 (NetworkManager)
    Tasks: 3 (limit: 512)
   CGroup: /system.slice/NetworkManager.service
           └─377 /usr/bin/NetworkManager --no-daemon

I have disabled dhcpcd on that interface:

● dhcpcd@wlp3s0.service - dhcpcd on wlp3s0
   Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

Same for netctl:

● netctl@wlp3s0.service - Networking for netctl profile wlp3s0
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:netctl.profile(5)

A minute ago again I hade to restart multiple times, giving me this:

● netctl@wlp3s0\x2d3652755.service loaded failed failed Automatically generated profile by wifi-menu

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

I had to manually delete the profile with nm-applet and reconfigure it to make it run again.

Offline

#4 2016-05-15 19:27:48

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Issues with wireless connection on specific interface

NetworkManager and netctl should not be run at the same time, pick one and drop the other.

To show the complete picture of enabled .services on your machine, look at the output of:

systemctl list-unit-files|grep enabled

Offline

Board footer

Powered by FluxBB