Gentoo Archives: gentoo-user

From: Tamer Higazi <th982a@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] network do not come up after booting, only manual reloading (systemd-networkd)
Date: Tue, 07 Sep 2021 18:03:28
Message-Id: fd9c0247-209a-8f51-dcc7-9f476821e7e6@googlemail.com
In Reply to: Re: [gentoo-user] network do not come up after booting, only manual reloading (systemd-networkd) by "Canek Peláez Valdés"
1 Dear Dr. Valdés,
2 I am sorry to tell you that the result still remains the same.
3
4 I am also not a systemd expert....
5 but somebody in the mailing list told me, that the "order" of process
6 might not be right ?
7 url: https://github.com/systemd/systemd/issues/7293
8
9
10 best, Tamer Higazi
11
12
13 ● systemd-networkd.service - Network Configuration
14      Loaded: loaded (/lib/systemd/system/systemd-networkd.service;
15 enabled; vendor preset: enabled)
16     Drop-In: /etc/systemd/system/systemd-networkd.service.d
17              └─override.conf
18      Active: active (running) since Tue 2021-09-07 19:54:00 CEST; 1min
19 45s ago
20 TriggeredBy: ● systemd-networkd.socket
21        Docs: man:systemd-networkd.service(8)
22    Main PID: 957 (systemd-network)
23      Status: "Processing requests..."
24       Tasks: 1 (limit: 19136)
25      Memory: 2.3M
26      CGroup: /system.slice/systemd-networkd.service
27              └─957 /lib/systemd/systemd-networkd
28
29 Sep 07 19:54:00 tux systemd[1]: Starting Network Configuration...
30 Sep 07 19:54:00 tux systemd-networkd[957]: lo: Link UP
31 Sep 07 19:54:00 tux systemd-networkd[957]: lo: Gained carrier
32 Sep 07 19:54:00 tux systemd-networkd[957]: Enumeration completed
33 Sep 07 19:54:00 tux systemd[1]: Started Network Configuration.
34 Sep 07 19:54:01 tux systemd-networkd[957]: eth0: Interface name change
35 detected, renamed to enp6s0.
36 Sep 07 19:54:01 tux systemd-networkd[957]: eth1: Interface name change
37 detected, renamed to enp7s0.
38
39 Am 9/7/21 um 4:11 AM schrieb Canek Peláez Valdés:
40 > On Mon, Sep 6, 2021 at 2:46 PM Tamer Higazi <th982a@××××××××××.com
41 > <mailto:th982a@××××××××××.com>> wrote:
42 > [...]
43 >
44 > /etc/systemd/network/20-wirded.network:
45 >
46 > [...]
47 >
48 > That looks fine to me.
49 >
50 > for enp7s0 there is no other network file.
51 >
52 >
53 > That is as it should be.
54 >
55 > I think with THIS systemd version, the whole problem is, that the
56 > configuration will be done before the devices are made and renamed to
57 > enp6s0 and enp7s0.
58 >
59 >
60 > I don't think so; the renaming of ethernet devices happens really
61 > early, and systemd-networkd detects it automatically (journal -b -g
62 > enp6s0 should show "enp6s0: renamed from eth0" as first log line, and
63 > then systemd-networkd detecting it).
64 >
65 > The problem is, how to solve it ....
66 >
67 >
68 > Try adding this to /etc/systemd/network/20-wirded.network, at the end:
69 >
70 > [Link]
71 > RequiredForOnline=false
72 >
73 > but this is a workaround; everything should work automagically.
74 >
75 > Regards.
76 > --
77 > Dr. Canek Peláez Valdés
78 > Profesor de Carrera Asociado C
79 > Departamento de Matemáticas
80 > Facultad de Ciencias
81 > Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] network do not come up after booting, only manual reloading (systemd-networkd) "Canek Peláez Valdés" <caneko@×××××.com>