Month: February 2021

Fedora — Disabling IPv6

Since it’s the third time I’ve had to do this so far this year, I’m going to write down how I disable IPv6 in Fedora. Add these lines to /etc/sysctl.conf

[lisa@server~]# grep ipv6 /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.lo.disable_ipv6=1

Then load the sysctl settings (sysctl -p) or reboot.

Without IPv6, if you do X-redirection, you may get an error indicating the redirection was refused. In journalctl, there’s an error “error: Failed to allocate internet-domain X11 display socket”. Evidently you’ve got to configure sshd to use IPv4 by setting “AddressFamily inet” in /etc/ssh/sshd_config

[lisa@server~/]# grep AddressFamily /etc/ssh/sshd_config
AddressFamily inet

 

MythTV Verbose Logging

In the process of troubleshooting UPNP/DLNA on our MythTV server, I learned that you can send logging verbosity settings while the server is running. Using the mythbackend binary with the –setverbose flag, you can specify logging level. For example:

mythbackend --setverbose http:debug,upnp:debug

What items can you set levels on? It’ll conveniently tell you — “all” or “none” override existing settings, everything else will update the current logging levels (i.e. if I’ve already got http and upnp in debug, I can use “–setverbose audio:debug” to add audio to the list of things in debug mode).

[mythuser@server /var/log/mythtv/]# mythbackend -v help
Verbose debug levels.
Accepts any combination (separated by comma) of:

all - ALL available debug output
audio - Audio related messages
channel - Channel related messages
chanscan - Channel Scanning messages
commflag - Commercial detection related messages
database - Display all SQL commands executed
decode - MPEG2Fix Decode messages
dsmcc - DSMCC carousel related messages
dvbcam - DVB CAM debugging messages
eit - EIT related messages
file - File and AutoExpire related messages
frame - MPEG2Fix frame messages
general - General info
gpu - GPU OpenGL driver messages
gpuaudio - GPU Audio Processing messages
gpuvideo - GPU video rendering messages
gui - GUI related messages
http - HTTP Server messages
idle - System idle messages
jobqueue - JobQueue related messages
libav - Enables libav debugging
media - Media Manager debugging messages
mheg - MHEG debugging messages
most - Most debug (nodatabase,notimestamp,noextra)
network - Network protocol related messages
none - NO debug output
osd - On-Screen Display related messages
playback - Playback related messages
process - MPEG2Fix processing messages
record - Recording related messages
refcount - Reference Count messages
rplxqueue - MPEG2Fix Replex Queue messages
schedule - Scheduling related messages
siparser - Siparser related messages
socket - socket debugging messages
system - External executable related messages
timestamp - Conditional data driven messages
upnp - UPnP debugging messages
vbi - VBI related messages
xmltv - xmltv output and related messages

To disable debugging, use “mythbackend –setverbose none”

55 Days of Grilling: Day 1

55 Days of Grilling: Day 1

Recipe by LisaCourse: DinnerCuisine: AmericanDifficulty: Easy
Servings

8

servings
Prep time

45

minutes
Cooking time

40

minutes
Resting Time

4

minutes

Ingredients

  • Roasted Garlic Buns
  • 4 cups flour

  • 1/2 cup wheat gluten

  • 1 Tbsp unsalted butter

  • 1 Tbsp yeast

  • 1 Tbsp sugar

  • 1-2 Tbsp roasted garlic

  • 1 egg (pre-bake wash)

  • 1 Tbsp salted butter (post-bake wash)

  • Burgers
  • 2 lbs 80% ground beef

  • 1/2 cup diced red onion

  • 1 tsp ground pepper

  • 1 Tbsp soy sauce

  • 1 Tbsp chili garlic sauce

  • 1/2 cup shredded cheddar cheese

  • 2 medium eggs

  • 1/2 cup panko crumbs

Method

  • Bread
  • Combine yeast with about a cup of water and 1 Tbsp sugar
  • Combine all ingredients except for the egg and salted butter in mixer and kneed on medium-low speed for five minutes.
  • Allow dough to rise for two hours.
  • Deflate dough and form into rolls (I make Kaiser style rolls — form a long log of dough, then tie in a knot). Let rise for one hour
  • Preheat oven to 400
  • Beat egg and brush on risen rolls. Allow to sit for a minute, then brush another layer of egg.
  • Bake for 15 minutes. Brush with melted salted butter and allow to cool on a wire rack
  • Burgers
  • Mix all ingredients together
  • Grill!

Notes

  • These were really good — Scott fried up some bacon in a cast iron pan so we had bacon cheese burgers.

55 Days of Grilling

Scott’s been really excited to start grilling again now that the temps are warmer. We’ve got a little grill right by the family room door, and we’re ready to grill. The goal is to grill something each day for the next 55 days — starting with burgers for dinner tonight. There’s a long list of things we want to try grilling — especially grilled pineapple (so I’ll have to get to the grocery store soon!) and how-high-can-this-thing-go pizza. Hopefully we can get above 600 degrees and make some really nice pizza crust.

Maple Hot Cocoa

Anya and I made hot chocolate to warm up after spending a day shoveling snow — it’s a quick recipe. For each serving, add a cup of almond milk, 2 Tbsp maple syrup, 1 tsp vanilla extract, and 1 Tbsp of unsweetened cocoa powder. Put the milk in a pan.  Stir in the maple syrup and vanilla extract. Once warmed, whisk in cocoa powder. Serve. Ideally with some homemade marshmallows — I need to make some honey marshmallows, we ate all of the homemade marshmallows I made last year.