Gentoo Archives: gentoo-user

From: Dan Johansson <Dan.Johansson@×××.nu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] wicd will not connect to wireless network
Date: Sun, 26 Feb 2012 17:02:24
Message-Id: 1736449.Bb2Qhs9hKV@queen
In Reply to: Re: [gentoo-user] wicd will not connect to wireless network by Dan Johansson
1 On Sunday 26 February 2012 13.43:13 Dan Johansson wrote:
2 > On Sunday 26 February 2012 10.52:58 Willie WY Wong wrote:
3 > > On Sun, Feb 26, 2012 at 11:34:01AM +0200, Penguin Lover Alan McKinnon squawked:
4 > > > On Sun, 26 Feb 2012 10:19:56 +0100
5 > > > Dan Johansson <Dan.Johansson@×××.nu> wrote:
6 > > > > After running an update yesterday (about 50 packages) on my ~x86
7 > > > > laptop, wicd stopped working, and no wicd was not updated neither was
8 > > > > any other network related packages. Today after a reboot my wireless
9 > > > > network refused to start from wicd, starting it manually works. This
10 > > > > is a part of the wicd.log:
11 > > > >
12 > > > I'm having similar issues with an Intel N6300 since a reboot.
13 > > >
14 > > > In my case it fails with this:
15 > > >
16 > > > [ 76.232020] wlan0: deauthenticating from
17 > > > xx:xx:xx:xx:xx:xx by local choice (reason=3)
18 > > >
19 > > > Which means something deauthed the connection in the meantime. This
20 > > > happens with kernel 3.2.6, but rebooting into 3.2.5 works just fine.
21 > > >
22 > >
23 > > You guys are almost certainly running into the same problem as the one
24 > > I mentioned in the thread I just started.
25 > >
26 > > Try `pkill dhcpcd` and associate again.
27 > >
28 > > Unfortunately I couldn't figure out why all of a sudden dhcpcd decides
29 > > to start on boot.
30 >
31 > Yes, that was it, killing the dhcpcd made it possible to bring the interface up and associate with the AP.
32 > As openrc was one of the packages upgraded yesterday (0.9.8.4 -> 0.9.9.1) I assume (guess) that is why dhcpcd gets started at boot.
33 > Now I just have to figure out a way to stop this from happening.
34
35 The problems seems to be that dhcpcd was started automatically as soon as a service needed "the network" - in my case dhcpcd was started due to /etc/init.d/sshd.
36 At the moment I have solved it with putting "rc_dhcpcd_provide="!net"" in /etc/rc.conf
37 which prevents dhcpcd to start when sshd is started and wicd can now do it's magic.
38
39 --
40 Dan Johansson, <http://www.dmj.nu>
41 ***************************************************
42 This message is printed on 100% recycled electrons!
43 ***************************************************

Replies

Subject Author
Re: [gentoo-user] wicd will not connect to wireless network Willie WY Wong <wongwwy@××××××××××.org>
Re: [gentoo-user] wicd will not connect to wireless network James Broadhead <jamesbroadhead@×××××.com>