On 4/5/25 7:00 PM, Sam Varshavchik wrote:
ToddAndMargo via users writes:
Hi All,
Fedora 41
I have a customer I set up a Fedora 41 server.
Problem: about once a week, its networking dies. All
network services are dead, xrdp, ssh, samba, etc..
All of them. Console logins work fine.
The solution is to call the customer and have him
log in at the console and issue a shutdown. On
power up, all work again.
What I would like to do, is to set up a cron
job to test the networking (ping firewall)
and restart/correct the network if I find
it down.
Now I do know about
# systemctl restart systemd-networkd.service
But is that enough?
Well? You tell us. Does doing this regain network connectivity, for the
problem child in question?
What do I need to do to
put the network into the same state as after
a fresh reboot?
Well, that really depends on why it's not in a fresh state, to start
with. All you know is "it doesn't work". Without knowing the root cause
of a busted network connection any advice is just a random, worthless
guess.
You are under estimating your considerable abilities.
It could be anything from a broken DHCP server, on the network, refusing
to renew the client lease, to a dodgy network card that randomly takes a
power, and requires a reboot cycle and a kick in the ass from the
kernel, to wake up. It goes without saying that the solution to one
would be vastly different than the solution to the other, if a solution
is even possible.
I removed anydesk-6.3.3.1.el8_x86_64.rpm , which won't work anyway.
It thinks I am running Wayland (AnyDesk refuses to support it)
and anydesk also throws an "desk_rt_ipc_error".
I am thinking of placing a desktop icon one one of their
favorite accounts and having them trigger it, if this happens
again:
#!/bin/bash
beesu "systemctl stop systemd-networkd.service; sleep 10s; systemctl
start systemd-networkd.service"
I am hoping it is not a hardware issue.
Question: Are network cards actually powered off? I am
thinking at least part of them has to be on for "Wake
on LAN" to operate.
Thank you for the help,
-T
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue