Re: I need to monitor a dead network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2025-04-05 19:00, Sam Varshavchik wrote:
ToddAndMargo via users writes:
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.

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.

Exactly this. Have you looked at the logs to see what's happening? Why isn't that the first you do instead of trying to setup hacky workarounds?

--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux