You are not logged in.

#1 2012-11-08 16:23:15

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Wicd + wired connection + systemd = not working

Hi.  I recently switched to systemd on all my systems.  On my laptop, I use wicd to manage network connections, and it still works fine on wireless connections.  But today I tried plugging in a wired connection, and wicd fails to pick it up.  It just hangs on "Obtaining IP address...".  I've connected to this wired network dozens of times with the same wired connection before switching to systemd, and it always worked fine.  So naturally, I'm blaming systemd, it that's not necessarily the problem.

I did what the wicd wiki said and disabled network, dhcpcd, and NetworkManager (none were running anyway).  Enabled wicd,  The output of systemctl status wicd.service changes depending on when I run it during the attempted connection process, but this seems most relevant.

sudo systemctl status wicd.service
wicd.service - Wicd a wireless and wired network manager for Linux
	  Loaded: loaded (/usr/lib/systemd/system/wicd.service; enabled)
	  Active: active (running) since Thu, 2012-11-08 10:31:43 EST; 24min ago
	Main PID: 382 (wicd)
	  CGroup: name=systemd:/system/wicd.service
		  ├ 382 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py --no-daemon
		  └ 823 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py

Nov 08 10:56:06 archway dhcpcd[1192]: eth0: broadcasting for a lease
Nov 08 10:56:10 archway dhcpcd[1192]: eth0: sending IPv6 Router Solicitation
Nov 08 10:56:14 archway dhcpcd[1192]: eth0: sending IPv6 Router Solicitation
Nov 08 10:56:18 archway dhcpcd[1192]: eth0: sending IPv6 Router Solicitation
Nov 08 10:56:18 archway dhcpcd[1192]: eth0: no IPv6 Routers available
Nov 08 10:56:33 archway dhcpcd[1192]: timed out
Nov 08 10:56:34 archway wicd[382]: dhcpcd[2076]: dhcpcd not running
Nov 08 10:56:34 archway wicd[382]: Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Nov 08 10:56:34 archway wicd[382]: dhcpcd[2082]: dhcpcd not running
Nov 08 10:56:34 archway wicd[382]: Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

I even tried enabling dhcpd@eth0, but that seems to fail to start (maybe interfering with wicd?)

I'm doing all this with wicd-gtk.

In my searches, the most similar thread I found was this one https://bbs.archlinux.org/viewtopic.php?pid=1184036 but I don't think they're using wicd.  Instead they fixed it by modifying the timeout period for dhcpcd, but I'm reluctant to try that because I don't know if wicd even relies on dhcpcd.

I also tried switching wicd to use dhclient instead of dhcpcd, but it still doesn't work.  Here is the systemctl status wicd.service in that case

sudo systemctl status wicd.service
wicd.service - Wicd a wireless and wired network manager for Linux
	  Loaded: loaded (/usr/lib/systemd/system/wicd.service; enabled)
	  Active: active (running) since Thu, 2012-11-08 11:15:54 EST; 3min 34s ago
	Main PID: 28940 (wicd)
	  CGroup: name=systemd:/system/wicd.service
		  ├ 28940 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py --no-daemon
		  └ 28946 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py

Nov 08 11:17:13 archway wicd[28940]: Copyright 2004-2012 Internet Systems Consortium.
Nov 08 11:17:13 archway wicd[28940]: All rights reserved.
Nov 08 11:17:13 archway wicd[28940]: For info, please visit https://www.isc.org/software/dhcp/
Nov 08 11:17:13 archway dhclient[30713]: Listening on LPF/eth0/54:04:a6:25:02:0b
Nov 08 11:17:13 archway dhclient[30713]: Sending on   LPF/eth0/54:04:a6:25:02:0b
Nov 08 11:17:13 archway dhclient[30713]: Sending on   Socket/fallback
Nov 08 11:17:13 archway wicd[28940]: Listening on LPF/eth0/54:04:a6:25:02:0b
Nov 08 11:17:13 archway wicd[28940]: Sending on   LPF/eth0/54:04:a6:25:02:0b
Nov 08 11:17:13 archway wicd[28940]: Sending on   Socket/fallback
Nov 08 11:17:13 archway wicd[28940]: Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory

I do have wpa_supplicant installed.

Any help would be great.

Edit: By the way, I am sure that the wire itself is fine, because I tested it in Windoze and it works.

Last edited by Pacopag (2012-11-08 16:28:20)

Offline

#2 2012-11-08 22:37:13

aof
Member
Registered: 2010-06-18
Posts: 39

Re: Wicd + wired connection + systemd = not working

I see you tried dhclient, but did you changed in wicd configs to use dhclient instead of dhcpcd? Check too if wired interface is set in wicd configs.

Last edited by aof (2012-11-08 22:40:40)

Offline

#3 2012-11-09 03:10:41

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: Wicd + wired connection + systemd = not working

Hi aof,

Yes, I set wicd to use dhclient, but no go.  Doing this did, however, give different systemctl status wicd output (see first post).

I'm not exactly sure how to check if wired interface is set in wicd configs, but I can see the option to connect to wired network in wicd (this is what hangs on Obtaining IP address, then eventually times out), but otherwise, I'd guess it should be set since it was working for months before switching to systemd.

I'm not exactly sure what I'm looking at, but the output of of systemctl status wicd seems to tell me that there is a problem with dhcpcd, or with wpa_supplicant, but I'm not clear on why the latter would affect my wired network, meanwhile wireless works fine.

Offline

#4 2014-07-15 16:00:39

Vyre
Member
Registered: 2011-06-18
Posts: 17

Re: Wicd + wired connection + systemd = not working

I'm having the same problem.  Did you ever figure it out?

Offline

#5 2014-07-15 16:26:15

zqzhao5
Member
Registered: 2014-07-10
Posts: 2

Re: Wicd + wired connection + systemd = not working

recently I got this too,cannot connect wireless network anyway

Offline

#6 2014-07-15 17:47:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Wicd + wired connection + systemd = not working

Closing.   Much has changed in the last couple years.  The ancient information in this thread is probably no longer applicable. 
Please feel free to start a new thread and provide a detailed description of the issue.  Thanks.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB