Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: [systemd] Is this a NetworkManager bug?
Date: Thu, 16 Oct 2014 20:53:47
Message-Id: m1pb7o$11b$
In Reply to: Re: [gentoo-user] [systemd] Is this a NetworkManager bug? by Tom H
1 On 10/15/2014 08:23 PM, Tom H wrote:
2 > On Mon, Oct 13, 2014 at 7:39 PM, walt <w41ter@×××××.com> wrote:
3 >>
4 >> I just switched my home LAN from wired to all wifi and I'm having trouble
5 >> with NetworkManager at boot time.
6 >>
7 >> I have systemd start NetworkManager at boot because I need the internet
8 >> for ntpdate and to start the nfs server for the LAN. Before I switched
9 >> to all-wireless this method worked perfectly, but no longer.
10 >>
11 >> After bootup I see that NetworkManager started wpa_supplicant in the
12 >> background, but apparently does *not* run dhcpcd. (The wlan0 is up
13 >> but it has no IP address and the routing table is empty.)
14 >>
15 >> As an alternative to NetworkManager I can have systemd start dhcpcd
16 >> at boot, which almost (but not quite) works well enough. This
17 >> causes a race condition because wlan0 takes several seconds to come
18 >> up properly and by then both ntpdate and nfs-server have already
19 >> run and failed.
20 >>
21 >> So, I asked myself, why not have systemd start dhcpcd at boot in
22 >> addition to NetworkManager?
23 >>
24 >> The reason that fails is that they both start wpa_supplicant in
25 >> the background and the two instances interfere with each other.
26 >>
27 >> Anyone see a way around this catch22?
28 >
29 > Do you have "All users may connect" unticked in the NM applet or
30 > "permissions=user:walt:;" in the NM connection's config?
32 After studying the logs I'm beginning to think that NM is actually
33 trying to start wlan0 at boot time but failing with this message:
34 'no secrets', which I assume means no password, maybe?
36 Yes, I do have the all-users box ticked. Question: I've set up the
37 wlan0 connection (as root) several times using nmtui, including the
38 SSID password, yet each time I start nmtui the password field is blank
39 again. Is this normal behavior? How can I tell if the password is
40 actually being stored somewhere?
42 Thanks.


Subject Author
Re: [gentoo-user] Re: [systemd] Is this a NetworkManager bug? "Canek Peláez Valdés" <caneko@×××××.com>
Re: [gentoo-user] Re: [systemd] Is this a NetworkManager bug? Tom H <tomh0665@×××××.com>