[-] clif@lemmy.world 4 points 4 days ago

This is my favorite reason

43
submitted 1 month ago by clif@lemmy.world to c/linux@lemmy.ml

Follow up from https://lemmy.world/post/37310527

We did it gang, and we went even further to be able to enter the LUKS password from anywhere via Tailscale.

The general Dropbear info from the Debian wiki seems accurate though it included dropbearconvert usage that wasn't mentioned elsewhere. Unsure if that was needed or not but I did it anyway.

I also referenced this guide. I especially enjoyed the -c cryptroot-unlock param to Dropbear so it automatically prompts me for the password on login.

I've been getting familiar with Tailscale over the past few weeks and also just replaced my home router (immediately flashed with OpenWRT). Turns out you can run Tailscale on OpenWRT and cajigger it in a way that you can use the router as an exit node while allowing LAN access. So, I did that. Now, with Dropbear, the static IP in my initramfs, and Tailscale, if the server reboots while I'm away from home I can SSH via my phone and enter the LUKS password to allow it to boot.

... mostly it's just going to be when I don't want to dig behind my desk to plug in a keyboard, but the truly remote option is nice too.

Thanks for all the input.

59
submitted 1 month ago by clif@lemmy.world to c/linux@lemmy.ml

I've done a little research but curious about first hand experience.

I've got a little home server that is full disk encrypted with LUKS (+LVM, of course). It's headless (no display, no keyboard, etc) and just lives attached to the back of my desk, out of the way.

If it gets rebooted due to a power outage, I can plug in a keyboard, wait long enough for it to get to the LUKS password prompt, enter password, hit enter, and assume it worked if I see the disk activity light blinking. Worst case scenario, I can move it to a monitor and plug it in to get display too.

Because lazy, I'd prefer to be able to enter the decrypt password remotely. "Dropbear" seems to be a common suggestion but I haven't tried it yet.

So, asking for your experience or recommendations.

I'll start. Recommendation #1 - get a UPS : D ... But besides that.

Addendum: either way, I currently need to be home to do this because I access it remotely via tailscale along with my desktop. Since both are full disk encrypted, neither will boot to the point of starting tailscale without intervention. But, I might repurpose a nonencrypted RPi with SSHd to act as a "auto restarts with tailscale so I can SSH to it, then SSH to server to enter the LUKS password" jump point.

[-] clif@lemmy.world 102 points 2 months ago* (last edited 2 months ago)

First frame is a centrifuge that spins samples at high speed to separate the components in them (I think that's the purpose, not a scientist). But, the samples are on one side making it unbalanced.

Second frame is turning the centrifuge on.

Third frame is a funeral.

I hear that if it's unbalanced, bad things happen, because you're spinning an unbalanced rotor at high speeds.

I honestly was coming to check the comments to see if anyone had experience with it so I could ask how bad it is.

The comic is insinuating that if you do this, you die.

EDIT: an unbalanced weight on a motor is how the vibration function in your phone works... Along with other things that need to vibrate (yes, those things). At least, that's how they used to work.

1

My Buff Orpington laid this one yesterday. She often lays "oddly" textured ones but this is the weirdest by far.

172
submitted 5 months ago by clif@lemmy.world to c/news@lemmy.world

cross-posted from: https://lemmy.world/post/31340928

The American Civil Liberties Union plans to challenge a new Arkansas law requiring Ten Commandments displays in public buildings.

Act 573 was passed by the Arkansas Legislature earlier this year. The law mandates a framed copy of the Ten Commandments be hung in all public buildings, including school classrooms. The ACLU is suing four Northwest Arkansas school districts, and not the state specifically, because Act 573 assigns enforcement to local school officials rather than a state agency.

The suit argues that the law promotes a Protestant version of the Ten Commandments and sends a message that students who don’t share those beliefs are outsiders in their own schools. Joining the suit are families of public school students in Northwest Arkansas. Some plaintiffs are Jewish or non-religious, while one family is Unitarian Universalist.

94
submitted 6 months ago by clif@lemmy.world to c/news@lemmy.world

cross-posted from: https://lemmy.world/post/30410274

[Josh Duggar] cited “new legal theories and strategies [that] have emerged in public discourse” in documents that were filed in U.S. District Court for the Western District of Arkansas on Tuesday.

10
submitted 10 months ago by clif@lemmy.world to c/asklemmy@lemmy.world

I've got several of these empty steel propane tanks from heating the chicken coop during the recent cold weather before I got an adapter to run the heater off of a larger refillable tank. Any ideas on what they could be repurposed for?

Seems like there should be some use for them besides tossing them in the recycling. I'd assume I'd need to poke a hole in them before recycling since they are/were pressure vessels.

I know there are adapters out there to refill them but now that I can use a larger, more easily refillable, tank I don't really have any inclination to do so.

My only thought so far was to cut the top off, drill some holes, and make a little stick burning camp stove. But, that's not something I'll ever use.

I've got a fairly extensive workshop and metal working tools so pretty much everything is on the table. I can even do really shitty welding if required.

3
submitted 10 months ago* (last edited 10 months ago) by clif@lemmy.world to c/mildlyinteresting@lemmy.world

We showing odd eggs now? Here's mine.

EDIT: Fixing post so the image is in the post instead of in the body. I'm dumb, sorry.

1
submitted 10 months ago by clif@lemmy.world to c/news@lemmy.world

cross-posted from: https://lemmy.world/post/24626086

An Arkansas state representative filed a resolution Wednesday to rename the Gulf of Mexico the “Gulf of America.”

If approved, State Rep. Aaron Pilkington’s resolution would also require all state agencies to use the term “Gulf of America.”

The Republican, who represents parts of Johnson and Pope counties in northwest Arkansas, said renaming the gulf would “reinforce the role it plays in supporting the prosperity and security of the United States.”

172
submitted 1 year ago by clif@lemmy.world to c/news@lemmy.world

cross-posted from: https://lemmy.world/post/21555013

Nearly 5,000 students who received vouchers in Year One continued into Year Two of the program. They were joined by more than 9,000 new enrollees who joined the program this year, for a total enrollment of 14,297. As with Year One, the overwhelming majority of the new enrollees — 83% — did not attend public school in the prior year.

Either way, the program has to date mostly provided vouchers to students who are not moving over from public schools. These results fit a consistent pattern in other similar statewide voucher programs nationwide. Most of the public cash doled out winds up boosting the bank accounts of families who were never in the public school system to begin with.

25
submitted 1 year ago by clif@lemmy.world to c/news@lemmy.world

cross-posted from: https://lemmy.world/post/20459024

Morgan Nick was six years old when she was abducted from a baseball field in Alma in June 1995. In a news conference Tuesday, Alma Police Chief Jeff Horner said a former person of interest in the case, Billy Jack Lincks, is now the main suspect in Nick’s abduction.

“The most important thing here is Morgan is still missing, but we’ve reached a point where we can concentrate on one suspect to determine the circumstances surrounding Morgan’s abduction,” he said.

Lincks died in 2000 while serving a prison term for sexual indecency with a child. He attempted to abduct a child about 12 weeks after Nick’s disappearance, about eight miles away from where she was last seen.

[-] clif@lemmy.world 77 points 1 year ago

Ah, delete the windows partition. That should keep me safe.

[-] clif@lemmy.world 104 points 2 years ago

“Even before birth, all human beings have the image of God, and their lives cannot be destroyed without effacing his glory,” Chief Justice Tom Parker wrote.

That's how it looks to me.

[-] clif@lemmy.world 98 points 2 years ago

My neighbors have a turkey. Every time I walk through the kitchen I look out the window to see if she's in our yard. If so, I run out to pet her.

Also, if I'm working outside she trots over to see what's going on and, of course, I have to stop to pet her for 15 minutes.

She just walks up to me and sits down expecting pets.

[-] clif@lemmy.world 154 points 2 years ago

"you're really good at this and enjoy it so let's get you into middle management where you won't do it anymore and will hate your life"

Yep.

[-] clif@lemmy.world 90 points 2 years ago

"There shall be no other date formats before ISO8601. Remember this format and keep it as the system default"

[-] clif@lemmy.world 73 points 2 years ago

Fun fact, they short changed the horse:

Over a short period of time, they calculate, a horse can exert up to 14.9 horsepower.

[-] clif@lemmy.world 100 points 2 years ago

Check his pillows

[-] clif@lemmy.world 79 points 2 years ago

Should have put a H on it so everyone would know.

The sad part is now the thief will get all the hornet honey : /

5
Circular Sock Knitting Machine (www.thingiverse.com)

I'm in the process of building this - should be done within a week if my needles will come in. Really looking forward to it since I started hand knitting a pair of socks ~4 years ago and they're maybe 20% done :D

Prints are pretty easy but two are longish (15hrs and 27hrs on my machine/ settings).

Anyone tried something similar?

https://m.youtube.com/watch?v=2y1gakl4IEw

[-] clif@lemmy.world 111 points 2 years ago

I tried to recover my Mojang account and migrate it three times. Each attempt gets a stock response asking for certain info (receipt, email, username). When I provide this, I get a response from a different support user asking for the same thing I just provided. After three to five back and forths (with the same questions and the same answers) I get busy, frustrated, and leave it for a few weeks.

Once I have time, I start over and the exact same thing repeats again.

I wrote it off as a loss last year with an asterisk of "another reason to fucking hate Microsoft"

[-] clif@lemmy.world 172 points 2 years ago

I teach a programming class to young adults (18-25, usually) and was flabbergasted last semester when I realized that a couple of them didn't know what a directory hierarchy/file system was.

My suspicion is that the ease of use angle of "just tell me what you want and I'll find it" led to this. Not saying ease of use is bad, but I expected more from people wanting to learn programming.

And I'm over here meticulously organizing my music library into folders by band, album, year, etc...o the humanity.

115
submitted 2 years ago* (last edited 2 years ago) by clif@lemmy.world to c/linux@lemmy.ml

Hello fellow Linux Lemmings!

I've been tasked with putting together a 20 hour class for "Introduction to Linux" and I'd like to solicit your opinions for topics that should be covered.

The class is targeted for at least minimally technical people - maybe developers, or future developers, but regardless of background they've never seen or worked with Linux before.

I plan to do a VERY short overview of installing Linux (to a VM - so they have a "real" environment to learn with) and the GUI but the primary focus will be CLI. Imagine tools and tasks you come across while working on a "real" server (or VM).

A high level overview of the topics I currently have allocated is :

  • Super brief history of Linux
  • Benefits and use cases of Linux
  • General overview of the file system and the purposes of the pre-defined directories (/dev, /proc, /etc, /home, /bin, etc)
  • "Everything is a file"
  • File extensions don't matter (windows users : )
  • Note on responsibility - you can delete "in use" files. It will do exactly what you tell it with sometimes minimal guardrails.
  • Everything from here down is CLI only!
  • What is a terminal/CLI and how do we use it?
  • How do we navigate the file system using the CLI
  • How to list, create, copy, move, delete, and read files/directories
  • EDIT: Basic file editing with nano
  • How to search for files (find... maybe locate)
  • Archives and compression (tar, gzip, bzip2)
  • Overview of permissions (read/write/execute, owner, group, chmod, chown)
  • Brief overview of different shells (bash, zsh, etc)
  • How to get help on the CLI (man, info, --help)
  • Tab completion, history
  • Shortcuts / control codes (ctrl+c, ctrl+d, ctrl+a, ctrl+e, and coverage of ctrl+z later)
  • grep
  • Checking processes (top, ps, kill)
  • Signals (sigterm, sigkill, etc - related to kill above)
  • Backgrounding and multitasking (ctrl+z, fg, bg, jobs, nohup, &)
  • Linking (ln)
  • STDIN, STDERR, STDOUT and redirection
  • Redirection (>, >>, <)
  • Command pipes ( | )
  • How to access a remote machine via SSH with UN/PW
  • How to access a remote machine via SSH with key auth (think cloud VMs like EC2)
  • Administrative commands and tasks (su, sudo, how it works, when to use it)
  • Add users and groups
  • How to change your passwd (maybe how to change your default shell too)
  • Restart, shutdown, halt
  • How to install/remove software (package managers, packages, pre-compiled binaries, maybe compilation with make if time allows)
  • Configuring your profile for customizing your environment
  • ENV variables and aliases
  • Network information (ifconfig) and tools (curl, wget, netcat, etc)

Everything from here down is "extra" if time allows (AKA - ensuring I don't run out of material :)

  • Encryption (gpg - symmetric and asymmetric)
  • Backups (rsync, maybe dd)
  • screen/tmux
  • How to setup key based logins/auth
  • EDIT: More advanced CLI text editing with vim
  • sysreq commands
  • srm/shred
  • Shell scripting basics
  • init vs systemd, how to start/stop/status services.
  • Maybe how to create a simple service
  • Run levels
  • sed, awk basics
  • File system types, file system checking, formatting... I hesitate to get into partitioning but it's always an option if I need it.
  • Alternatives to well known win/mac utilities and how to find them. EG: GIMP to replace Photoshop.

What do you think?

Did I miss anything that you deem super important?

Anything that I should definitely keep in the "only if I run out of material" category?

O, and if you have any good ideas for practical exercises I'd love to hear those too. I want to keep them <15min but things like "create a new directory, cd into it, touch a file, list the contents of / and write the output into the file you just created" are perfect.

Thanks!

view more: next ›

clif

joined 2 years ago