this post was submitted on 26 Oct 2025
42 points (97.7% liked)
Linux
62803 readers
120 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Did you run into any issues setting up dropbear or did you get it working on the first try?
I'm attempting to follow the same guide that you linked to, the only difference being that I haven't configured a static IP (I don't think this step is required). Every other instruction, I believe I've followed to the letter (for the new version).
Where I'm stuck is after copying the client's public key to the server, updating initrd, rebooting, waiting for the disk encryption prompt, and issuing
ping <server-ip>on the client (replacing<server-ip>and<port-number>with the actual IP and port number):Unsurprisingly, I'm unable to ssh in from the client:
Since the server is a laptop, I can physically enter the decryption key on the server itself, and then go back to the client and ping the server successfully.
I have not attempted the steps described on the Debian wiki (networking setup or converting the public keys to PEM). Should I add
IP=:::::eth0:dhcptoinitramfs.conf? Any pointers on what I should check?EDIT: I'm attempting all of this over wifi, in case that matters (I have a feeling it matters, but I'm not sure what I'm supposed to do differently).
EDIT 2: I found a guide from 2017 by Marc Fargas (Enable Wireless networks in Debian Initramfs). Also found this thread from 2021 on StackExchange (How can I enable wireless for a dropbear-initramfs), wherein somebody links to this GH gist (Sample files to enable wireless on Debian initramfs ). I'll attempt to follow these guides and report back.
Hey bud - for the most part it worked great following the guide. The static IP was very important because dropbear is active before DNS (at least in my config) so you have to configure it in a way that you can definitively find it - and a static IP was the way. I just gave it an easy to remember one at 10.0.0.3 since I already have important things at *.1 and *.2.
Another thing that tripped me up originally is that you need to SSH as the
rootuser. That doesn't seem to be your problem since you're not getting there over the network, but FYI for when you fix it.That's definitely a network problem. Maybe fire it up and then check your router for active IP leases and see which one it took?
It probably shouldn't matter in any super meaningful way, but I do have mine hardwired with cat6 so that could definitely be a difference.
Definitely let us know how it goes - you're adding to the knowledge pool and that's awesome.
EDIT : Make sure you can find it on the network first, then work backwards from there. At the moment, it seems like you aren't getting network connectivity.