Created attachment 303183 [details] dmesg containing a few manual reconnects and lots of deauthentications Since recent openrc update I have to reconnect several times to get a successful connection via wicd-1.7.1-r1. In dmesg I can watch how wlan0 deauthenticating after having had a connection for a second or two.
Ditto over here. I can't get a wired connection at all either, I have to connect manually from terminal.
After the 5th or 6th retry my wicd client is able to connect. So, are you CC people all wicd users?
Same here. I found that after connecting wire, I'm able to connect to wlan.
For me it looks like problem with dhcpcd. It sends itself kill signal every time connection is established. I had the same problem when trying to run wicd without dhcp daemon. Also I found that dhcpcd takes like 10~15s to start - possibly not starting clearly than? Problem exists in 0.9.9, 0.9.9.1 and in 0.9.9.2 so far. Downgrading to 0.9.8* resolves the issue.
This is for some reason caused through commit bc581530e5caa4e2c82d1c3deb9f0382a440e8ec. We'll have to take a closer look at it as it shouldn't cause such issues actually...
If wicd provides a network connection to the outside world, it should probably provide net. There is nothing to fix in openrc. I am the maintainer of dhcpcd, so I will check that script.
dhcpcd does provide net, so please try the following: In /etc/conf.d/wicd add the following line: rc_provide="net" Report back and let us know if that solves your issue.
(In reply to comment #6) > If wicd provides a network connection to the outside world, it should > probably provide net. There is nothing to fix in openrc. > We don't know if there is anything to fix in openrc yet. The connection should not be dropped, dhcp* not been killed or whatever else just because a init script does not provide net. So right now this sounds like a bug that needs to be fixed. No idea if it's a openrc, dhcp*, wpa_supplicant or wicd bug.
Guys, is a wired connection affected as well? I can't test it right now.
(In reply to comment #7) > dhcpcd does provide net, so please try the following: > > In /etc/conf.d/wicd add the following line: > > rc_provide="net" > > Report back and let us know if that solves your issue. That fixed it for me, connection was there immediately at startup, also several successful manual reconnects.
(In reply to comment #4) > For me it looks like problem with dhcpcd. It sends itself kill signal every > time connection is established. > > I had the same problem when trying to run wicd without dhcp daemon. > > Also I found that dhcpcd takes like 10~15s to start - possibly not starting > clearly than? > > Problem exists in 0.9.9, 0.9.9.1 and in 0.9.9.2 so far. > > Downgrading to 0.9.8* resolves the issue. Jakub, Can you try the test in comment #7? Thanks, William
(In reply to comment #11) > (In reply to comment #4) > > For me it looks like problem with dhcpcd. It sends itself kill signal every > > time connection is established. > > > > I had the same problem when trying to run wicd without dhcp daemon. > > > > Also I found that dhcpcd takes like 10~15s to start - possibly not starting > > clearly than? > > > > Problem exists in 0.9.9, 0.9.9.1 and in 0.9.9.2 so far. > > > > Downgrading to 0.9.8* resolves the issue. > > Jakub, > > Can you try the test in comment #7? > > Thanks, > > William It solved problem for me too. dhcpcd started immediately and wicd connected with no problems at all.
I was just going to write how I had rc_parallel="YES" and rc_depend_strict="NO" in my /etc/rc.conf but I just had a look at it and found it to be overwritten by some latest update, silly me. So this in fact happens all with a default config.
All, There are two things that should happen for this issue. The first is that wicd should provide net. That could be fixed on this bug. On the OpenRC side, this is related to bug #293139. I am testing a proposal for part of that bug that I will post with a patch shortly if it passes my testing.
To all, thank you for reporting this and posting the work-around. I started having problem with wicd early last week. After successive openrc updates wlan connection became almost impossible. Finally had to log-in to my long unused Windows partition and found this thread. 'rc_provide="net" into /etc/conf.d/wicd' did the trick! I'm back online now. Thanks again.
(In reply to comment #14) > The first is that wicd should provide net. That could be fixed on this > bug. Alright, starting from wicd-1.7.1-r2 the init script provides net. For the records, we did not provide net earlier has net.lo provided net already and there seemed no use (see also bug 289577). I remember that 'provide net' was only meant as signalling that there is a network device (not necessarily a connection), but I may be wrong. This bug was triggered because net.lo in newer versions of openrc doesn't provide net (but 'lo'). In any case, please test and reopen if there is more to do. Thanks. +*wicd-1.7.1-r2 (27 Feb 2012) + + 27 Feb 2012; Thomas Kahle <tomka@gentoo.org> +wicd-1.7.1-r2.ebuild, + +files/wicd-1.7.1-provide-net.patch: + init script provides net per bug 405775