Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] [systemd] Is this a NetworkManager bug?
Date: Mon, 13 Oct 2014 23:39:56
Message-Id: m1hnr3$i97$
1 I just switched my home LAN from wired to all wifi and I'm having trouble
2 with NetworkManager at boot time.
4 I have systemd start NetworkManager at boot because I need the internet
5 for ntpdate and to start the nfs server for the LAN. Before I switched
6 to all-wireless this method worked perfectly, but no longer.
8 After bootup I see that NetworkManager started wpa_supplicant in the
9 background, but apparently does *not* run dhcpcd. (The wlan0 is up
10 but it has no IP address and the routing table is empty.)
12 As an alternative to NetworkManager I can have systemd start dhcpcd
13 at boot, which almost (but not quite) works well enough. This
14 causes a race condition because wlan0 takes several seconds to come
15 up properly and by then both ntpdate and nfs-server have already
16 run and failed.
18 So, I asked myself, why not have systemd start dhcpcd at boot in
19 addition to NetworkManager?
21 The reason that fails is that they both start wpa_supplicant in
22 the background and the two instances interfere with each other.
24 Anyone see a way around this catch22?
27 Thanks.


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