this post was submitted on 06 Jan 2026
51 points (61.9% liked)

linuxmemes

28831 readers
770 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. ๐Ÿ‡ฌ๐Ÿ‡ง Language/ัะทั‹ะบ/Sprache
  • This is primarily an English-speaking community. ๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡บ๐Ÿ‡ธ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • ย 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
    you are viewing a single comment's thread
    view the rest of the comments
    [โ€“] edinbruh@feddit.it 68 points 5 days ago* (last edited 5 days ago) (1 children)

    Hmmm, I'm pretty sure you just need to systemctl disable sshd.socket and then configure it how you like. Don't trust every "solution" you see online, they are often full of bullshit written by people trying to fit a square peg in a round hole. I bet that kernel parameter thing is something to disable it on the first boot, before you get the chance to configure the thing properly.

    Edit: @thorhop@sopuli.xyz wrote a comment about that option here, go to the thread if you are interested.

    [โ€“] vapeloki@lemmy.world 24 points 5 days ago (1 children)

    This! Disable sshd sock, maybe rebuild initramfs.

    And, the "kernel command line" is also used by the initramfs for fucks sake ....

    [โ€“] edinbruh@feddit.it 21 points 5 days ago* (last edited 5 days ago) (1 children)

    Honestly, one of the worst parts of the Linux community is people trying to force 30 years old tools in systems built around systemd. If you want to use that old stuff then don't install the modern replacement, find a different distro built around that ideal instead.

    I remember a post on serverfault or askubuntu about disabling DHCP default gateway but keeping DHCP address assignment on a tap interface, and bring it up at boot, and the accepted answers was "configuring DHCP in networkd/NetworkManager systems is almost impossible, here's how I did it" and it's three pages of cobbling together ifconfig and netplan with startup scripts, that work by pure chance.

    Wanna see the actual full networkd configuration for that?

    # /etc/systemd/network/tap0.network
    [Match]
    Name=tap0
    
    [Network]
    DHCP=ipv4
    
    [DHCPv4]
    UseRoutes=false
    

    That's it, all that the post asked for is handled by six lines. "How do I discover that?" you may ask, because if it's three lines, but I have to dig for hours before finding it than it's not that useful. Simple, I go on the systemd documentation for .network files and search for DHCP. And this is a niche use case, the basic usage is readily available on the arch wiki as with anything else. Note, this does nothing for IPv6, and the interface will have IPv6 route configured, but this wasn't relevant to the post, and my home's IPv6 layout is "peculiar" so I have omitted it here.