Gentoo Archives: gentoo-user

From: raffaele <mentadent47@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to restart the network, no net.enp1s0
Date: Sat, 22 Jan 2022 11:10:07
Message-Id: ef98aa35-683c-e536-c826-50e56a6176d7@yahoo.com
In Reply to: Re: [gentoo-user] how to restart the network, no net.enp1s0 by n952162
1 On 1/21/22 13:48, n952162 wrote:
2 > The point is, something has changed in openrc, and I was hoping somebody
3 > knew about it.
4 >
5 > It used to be that you could restart the network with:
6 >
7 >   rc-service net.enp1s0 restart
8 >
9 > which would use the link in /etc/init.d.  But that link is now gone,
10 > although the network works.  Something fundamental has changed, I think,
11 > and I thought it would pop out here, but I guess I'm the only one still
12 > using openrc.
13 >
14 >
15 The link is still fine here (~amd64):
16
17 $ ll /etc/init.d/net.enp3s0
18 lrwxrwxrwx 1 root root 6 Aug 20  2019 /etc/init.d/net.enp3s0 -> net.lo
19
20 # eix -I openrc
21 [I] sys-apps/openrc
22      Available versions:  0.43.5-r1 0.44.10 **9999*l {audit bash debug
23 ncurses +netifrc newnet pam prefix selinux sysv-utils unicode}
24      Installed versions:  0.44.10(10:20:03 AM 12/28/2021)(ncurses
25 netifrc pam unicode -audit -bash -debug -newnet -selinux -sysv-utils)
26      Homepage:            https://github.com/openrc/openrc/
27      Description:         OpenRC manages the services, startup and
28 shutdown of a host
29
30 I restart using:
31
32 # /etc/init.d/net.enp3s0 restart
33
34 raf