Gentoo Archives: gentoo-user

From: pat <pat@××××××××.org>
To: gentoo-user@l.g.o
Subject: [SOLVED] Re: [gentoo-user] lost wireless network
Date: Sat, 04 Feb 2012 22:01:46
Message-Id: 20120204215220.M62684@xvalheru.org
In Reply to: Re: [gentoo-user] lost wireless network by "Canek Peláez Valdés"
1 On Thu, 2 Feb 2012 19:40:58 -0600, Canek Peláez Valdés wrote
2 > On Thu, Feb 2, 2012 at 5:07 PM, Hinnerk van Bruinehsen
3 > <h.v.bruinehsen@×××××××××.de> wrote:
4 > > -----BEGIN PGP SIGNED MESSAGE-----
5 > > Hash: SHA1
6 > >
7 > > On 02.02.2012 23:03, Canek Peláez Valdés wrote:
8 > >> On Thu, Feb 2, 2012 at 10:45 AM, pat <pat@××××××××.org> wrote: [
9 > >> Humongous snip ]
10 > >>
11 > >>> Still the same :-|
12 > >>
13 > >> Seems really weird. I can only think the following options:
14 > >>
15 > >> 1. Something is messing up with NetworkManager.
16 > >>
17 > >> 1.a. Can be possible that the /etc/init.d/net.* scripts are
18 > >> running alongside NetworkManager? I don't use OpenRC (I moved to
19 > >> systemd), but I clearly remember that for NetworkManager to run OK
20 > >> in Gentoo you had to disable the net.* services in /etc/rc.conf:
21 > >>
22 > >> rc_hotplug="!net.*"
23 > >>
24 > >> 1.b. Maybe something is wrong with your
25 > >> NetworkManager/wpa_supplicant installation; try deleting (after
26 > >> making a backup, of course) the following directories/files:
27 > >>
28 > >> /etc/NetworkManager /etc/wpa_supplicant /etc/conf.d/net
29 > >>
30 > >> and then emerge again both packages:
31 > >>
32 > >> emerge -1v networkmanger wpa_supplicant
33 > >>
34 > >> And try again after a reboot.
35 > >>
36 > >> 2. Maybe (for some weird reason) NetworkManager refuses to work in
37 > >> your system. If this is the case, disable all your network
38 > >> services (avahi*, cups, NetworkManager, net.*), and boot to a
39 > >> console. When I'm dealing with this kind of stuff, I even disable
40 > >> X, just to be sure:
41 > >>
42 > >> rc-update del NetworkManager ... rc-update del xdm reboot
43 > >>
44 > >> When you are in your console, try connecting to a WEP access point
45 > >> by hand:
46 > >>
47 > >> ifconfig wlan0 up iwconfig wlan0 essid MYESSID key MYPASSWORD
48 > >> channel MYCHANNEL dhclient/dhcpcd wlan0
49 > >>
50 > >> If it works, then is something related to NetworkManager.
51 > >>
52 > >> If it doesn't, I can't really thing of anything else at the
53 > >> moment.
54 > >>
55 > >> Regards, and good luck.
56 > >
57 > > Doesn't seem NetworkManagerrelated - he/she said, that it isn't
58 > > working with wicd either.
59 > > The logs indicate that rfkill disables the device only a few seconds
60 > > after each activation.
61 >
62 > Which *could* (I believe) be caused by the /etc/init.d/net.* scripts
63 > running in parallel to both NM and wicd. I don't know wicd (haven't
64 > used), but it *could* be a problem with NM.
65 >
66 > It's just an idea.
67 >
68 > Regards.
69 > --
70 > Canek Peláez Valdés
71 > Posgrado en Ciencia e Ingeniería de la Computación
72 > Universidad Nacional Autónoma de México
73 >
74
75 Hello,
76
77 Thanks for your patience and help. When I started this thread I've newly used
78 gcc 4.5.3 (rebuild full gentoo installation). This failed. I've moved bask to
79 previous gcc version (4.4.5) and wireless start working (except
80 NetworkManager, but wicd is fine). So, I've decided to check if the problem
81 was the gcc 4.5.3 and recompiled whole gentoo installation to this gcc again.
82 But to my surprise it works. So, only issue right now is the NetworkManager,
83 but I can live with that :-) Bad thing is that I don't know what the hell was
84 wrong.
85
86 Thanks for your help
87
88 Pat
89
90 P.S And I'm "he" :-)
91
92 ----------------------------------------
93 Freehosting PIPNI - http://www.pipni.cz/