Allow All Users to Suspend the System Without Password Prompt (Fedora 28)

I have a mini tower PC and want to suspend it by a quick press of the power button. However, stock Fedora 28 requires normal users suspending the system to enter their password again if there are other users logged in.

It makes no sense to ask for a password after a user has pressed the suspend button (after all, if they wanted to deny service to other users, they could just as well power off the system while they have physical access).

So I want to disable that password prompt.

Gemüsekuchen

Dieser Kuchen ist nicht zum Sattwerden gedacht, sondern zum Genuss bei Kaffee und Kuchen. Nur dass der Kuchen eben zur Abwechslung mal nicht süß und mit Obst ist, sondern eher deftig und mit Gemüse.

Cellphone Headset on PC or Mini Mixer

I own a Sennheiser HD429s mobile phone headset and a Behringer XENYX302USB mini mixer. I wanted to connect the headset to the PC via the mixer.

The headset has a 3.5mm TRRS plug where the tip, ring, ring, and sleeve are left headphone, right headphone, ground, and microphone, respectively.

The mixer is unlike almost any other mixer in that it has two 3.5mm TRS jacks for headphone out and microphone in just like a PC soundcard has. The headphone out tip, ring, and sleeve are left headphone, right headphone, and ground, respectively. The microphone TRS connector tip, ring and sleeve are microphone signal input, microphone bias voltage output, and ground, respectively.

The schematic for a headset adapter connecting the headset’s TRRS plug to the two PC TRS jacks looks as follows:

schematic of headset adapter

Going Up, Going Down

Going up, Going down

White airplane contrail going up between clouds lit in yellow-orange by the setting sun.

Melting Ice

Melting Ice

Melting piece of ice showing its non-homogenous structure.

Recipe for Vegetable Salad

The goal is to create a salad from raw vegetables which you can eat with a table spoon. Use this recipe for the basic idea and adapt to your own preferences.

YUP LED With Send-echo-request

This is a sequel to the previous post on LED Configuration With OpenWRT, especially the part with the YUP LED (yield uplink please, i.e. “someone else is using the internet”).

To recap that previous post, I triggered one of the LEDs on my WRAP as a YUP LED with ICMP echo reply packets, which results in blinking patterns which let me read which other hosts are switched on. The ICMP echo replies arrive as replies to the packets sent by a bunch of ping processes.

Now I have written a new program send-echo-request to make the blinking pattern timing more precise and above all to avoid the race conditions caused by the two ping processes running in parallel.

Every 0.5s, send-echo-request sends an ICMP echo request to the two hosts which interest me, and the iptables rules then triggers the LED with a very short 0.1s flash for a reply from one host, and a much longer 0.4s one from the other host.

As the hosts on my local LAN reply within much less than 0.01s, the echo replies arrive practically in the same 0.5s pulse send-echo-request sends the echo requests in.

Colors

Colors