Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an Alienware Alpha that I am using as a Monero miner. It is running Fedora 38. This is my uname -a:
Code:
Linux localhost.localdomain 6.2.14-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 1 00:55:28 UTC 2023 x86_64 GNU/Linux
I connect to it via SSH and leave it running in the morning. I come back later and see in the terminal it says there was a broken pipe and I see the local prompt. I attempt to reconnect and there is no path. I do a quick nmap and see that the IP has changed.
My first thought is that it has updated, and rebooted, (something I want to prevent), but uptime shows I've been up for three days.
Fedora offers systemd-networkd rpm. All my F38s use it only, and only it for static IP setup. They don't need network "management". They never leave the premises.
Fedora offers systemd-networkd rpm. All my F38s use it only, and only it for static IP setup. They don't need network "management". They never leave the premises.
I've already got the static IP set via [i]network management[/] and it is stable. And this box is in the same status as yours. Never moves. Is there any bonus to me messing with the setup now? If so, should I create the file, or is there a generator for it?
Until you wish to use systemd-networkd and create a file within it, there's no need for it to exist. When I wanted to make the switch, Google found multiple howtos, e.g. in the ArchLinux Wiki.
Quote:
I've already got the static IP set via [i]network management[/] and it is stable. And this box is in the same status as yours. Never moves. Is there any bonus to me messing with the setup now? If so, should I create the file, or is there a generator for it?
I've never used "network management". It sounds like a GUI tool for using NetworkManager. The only relationship between NetworkManager and systemd-networkd that I'm aware of is they are both capable of configuring networking.
I have an Alienware Alpha that I am using as a Monero miner. It is running Fedora 38. This is my uname -a:
Code:
Linux localhost.localdomain 6.2.14-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 1 00:55:28 UTC 2023 x86_64 GNU/Linux
I connect to it via SSH and leave it running in the morning. I come back later and see in the terminal it says there was a broken pipe and I see the local prompt.
Fedora 38 by default automatically suspends after 15 minutes of no desktop activity (defined as keyboard or mouse) and ssh connections are victims of that behavior. Even VMs were killed by that behavior on the host.
On my fedora machine I halted that behavior by doing
There are other ways to disable the auto-suspend but it worked for me.
On the askfedora forum there were many complaints about that change since users running services or connecting remotely were being automatically disconnected as you describe.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.