Hello all,
my system runs fine, but when I want to restart my network, I find
there's no /etc/init.d/net.enp1s0 link or other interesting candidate.Â
Do something change here?
What do I need to do to restart my network?
n952162 wrote:
Hello all,
my system runs fine, but when I want to restart my network, I find
there's no /etc/init.d/net.enp1s0 link or other interesting candidate.Â
Do something change here?
What do I need to do to restart my network?
I ran into something like this recently when switching to systemd udev
from eudev. When I rebooted, my interface names were changed. Here's
what you can try, maybe it will work. Do ifconfig and see what it is
named exactly. This is the relevant part of mine:
root@fireball / # ifconfig
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>Â mtu 1500
<<< SNIP >>>
Mine is named enp3s0. So, the file needs to be named net.enp3s0. I
think you have that already but that will confirm your info. So, you
need to create a file that links to net.lo. Mine looks like this:
root@fireball / # ls -al /etc/init.d/net*
lrwxrwxrwx 1 root root    6 Mar 1 2012 /etc/init.d/net.enp3s0 -> net.lo
I was in KDE so I used graphical tools. In Krusader as root, must be
root to do this, I right clicked the net.lo file then selected Link Handling. It should pop up and ask you for a name. When it does, give it the file name for your card but don't forget to put "net." in front
of it. Whatever you do, don't delete net.lo or overwrite it. I'm not
sure what all problems that would cause but I'm pretty sure it wouldn't
be good. :-( If you don't have Krusader, whatever tool you use that
has root privileges should have a way to create a link.
If you don't use a graphical file manager that has root abilities, man
ln and create the link with it. I haven't used ln in so long, I can't recall the proper way off the top of my head but it is pretty simple. I think what they call a soft link is enough. As long as it looks similar
to mine above, you should be fine.Â
Once you do one of those, you should be able to start, stop and restart
your network.Â
Hope that helps. Â
Dale
:-)Â :-)
Oh, I looked in the Gentoo wiki, I couldn't find a way to do this
there. Either my search abilities are lacking or it isn't there. Maybe it's in the handbook. Since the handbook moved to the wiki, it just
isn't the same. If you searched before asking, it's no wonder you
couldn't find a answer.Â
Hello all,
my system runs fine, but when I want to restart my network, I find
there's no /etc/init.d/net.enp1s0 link or other interesting candidate.
Do something change here?
What do I need to do to restart my network?
On Sun, Jan 16, 2022 at 1:50 AM n952162 <n952162@web.de> wrote:
Hello all,Obviously the answers depends completely on how you are managing
my system runs fine, but when I want to restart my network, I find
there's no /etc/init.d/net.enp1s0 link or other interesting candidate.
Do something change here?
What do I need to do to restart my network?
services and what executables you have on your highly customizable
Gentoo machine, but possibly:
sudo service network-manager restart
sudo systemctl restart NetworkManager.service
sudo nmcli networking off && sudo nmcli networking on
sudo ifdown -a && sudo ifup -a
If you are using systemctl then
sudo systemctl status
is a good place to start, along with
nmcli
HTH,
Mark
On Sun, Jan 16, 2022 at 1:50 AM n952162 <n952162@web.de> wrote:
Hello all,Obviously the answers depends completely on how you are managing
my system runs fine, but when I want to restart my network, I find
there's no /etc/init.d/net.enp1s0 link or other interesting candidate.
Do something change here?
What do I need to do to restart my network?
services and what executables you have on your highly customizable
Gentoo machine, but possibly:
sudo service network-manager restart
sudo systemctl restart NetworkManager.service
sudo nmcli networking off && sudo nmcli networking on
sudo ifdown -a && sudo ifup -a
If you are using systemctl then
sudo systemctl status
is a good place to start, along with
nmcli
HTH,
Mark
The point is, something has changed in openrc, and I was hoping somebody
knew about it.
It used to be that you could restart the network with:
 rc-service net.enp1s0 restart
which would use the link in /etc/init.d. But that link is now gone, although the network works. Something fundamental has changed, I think,
and I thought it would pop out here, but I guess I'm the only one still
using openrc.
On 1/16/22 19:06, Mark Knecht wrote:
On Sun, Jan 16, 2022 at 1:50 AM n952162 <n952162@web.de> wrote:
Hello all,Obviously the answers depends completely on how you are managing
my system runs fine, but when I want to restart my network, I find
there's no /etc/init.d/net.enp1s0 link or other interesting candidate.
Do something change here?
What do I need to do to restart my network?
services and what executables you have on your highly customizable
Gentoo machine, but possibly:
sudo service network-manager restart
sudo systemctl restart NetworkManager.service
sudo nmcli networking off && sudo nmcli networking on
sudo ifdown -a && sudo ifup -a
If you are using systemctl then
sudo systemctl status
is a good place to start, along with
nmcli
HTH,
Mark
It used to be that you could restart the network with:
rc-service net.enp1s0 restart
which would use the link in /etc/init.d. But that link is now gone,
although the network works. Something fundamental has changed, I think,
and I thought it would pop out here, but I guess I'm the only one still
using openrc.
The point is, something has changed in openrc, and I was hopingI use openrc, and that link is still present (enp25s0 for me). I'm on
somebody
knew about it.
It used to be that you could restart the network with:
rc-service net.enp1s0 restart
which would use the link in /etc/init.d. But that link is now gone,
although the network works. Something fundamental has changed, I
think,
and I thought it would pop out here, but I guess I'm the only one
still
using openrc.
On 1/16/22 19:06, Mark Knecht wrote:
On Sun, Jan 16, 2022 at 1:50 AM n952162 <n952162@web.de> wrote:
Hello all,Obviously the answers depends completely on how you are managing
my system runs fine, but when I want to restart my network, I find
there's no /etc/init.d/net.enp1s0 link or other interesting
candidate.
Do something change here?
What do I need to do to restart my network?
services and what executables you have on your highly customizable
Gentoo machine, but possibly:
sudo service network-manager restart
sudo systemctl restart NetworkManager.service
sudo nmcli networking off && sudo nmcli networking on
sudo ifdown -a && sudo ifup -a
If you are using systemctl then
sudo systemctl status
is a good place to start, along with
nmcli
HTH,
Mark
The point is, something has changed in openrc, and I was hoping somebody
knew about it.
It used to be that you could restart the network with:
 rc-service net.enp1s0 restart
which would use the link in /etc/init.d. But that link is now gone, although the network works. Something fundamental has changed, I think,
and I thought it would pop out here, but I guess I'm the only one still
using openrc.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 85:59:06 |
Calls: | 6,658 |
Files: | 12,203 |
Messages: | 5,333,783 |